diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-06-12 12:50:30 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-06-15 17:23:39 +0800 |
| commit | 8e2f49fbf22c242270c8162254fc83fbb4580a24 (patch) | |
| tree | 8885ba7e468cc5ff625a1919f7a95199fb1c0ef0 /doc/source | |
| parent | 0ec711c640120539e4968c81fd6ee158257845d4 (diff) | |
| download | python-openstackclient-8e2f49fbf22c242270c8162254fc83fbb4580a24.tar.gz | |
Support bulk deletion for commands that exist in both network and compute.
Some delete commands in networkv2 are exist in both network
and compute, They can use NetworkAndComputeDeleteclass to
supprot bulk deletion and error handling and the codes are
similar, so I change them all in this patch. The changed
commands including:
1.floating ip delete
2.security group delete
3.security group rule delete
Also, I update unit tests and docs for these commands in this patch.
Change-Id: I6c94c3d10ba579ddd9b14d17673c821e3481fd8a
Partially-Implements: blueprint multi-argument-network
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/command-objects/ip-floating.rst | 7 | ||||
| -rw-r--r-- | doc/source/command-objects/security-group-rule.rst | 6 | ||||
| -rw-r--r-- | doc/source/command-objects/security-group.rst | 6 |
3 files changed, 10 insertions, 9 deletions
diff --git a/doc/source/command-objects/ip-floating.rst b/doc/source/command-objects/ip-floating.rst index 869b7af8..8dd94782 100644 --- a/doc/source/command-objects/ip-floating.rst +++ b/doc/source/command-objects/ip-floating.rst @@ -66,16 +66,17 @@ Create new floating IP address ip floating delete ------------------ -Delete floating IP +Delete floating IP(s) .. program:: ip floating delete .. code:: bash - os ip floating delete <floating-ip> + os ip floating delete + <floating-ip> [<floating-ip> ...] .. describe:: <floating-ip> - Floating IP to delete (IP address or ID) + Floating IP(s) to delete (IP address or ID) ip floating list ---------------- diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst index 97cce35c..5284b2dc 100644 --- a/doc/source/command-objects/security-group-rule.rst +++ b/doc/source/command-objects/security-group-rule.rst @@ -104,17 +104,17 @@ Create a new security group rule security group rule delete -------------------------- -Delete a security group rule +Delete security group rule(s) .. program:: security group rule delete .. code:: bash os security group rule delete - <rule> + <rule> [<rule> ...] .. describe:: <rule> - Security group rule to delete (ID only) + Security group rule(s) to delete (ID only) security group rule list ------------------------ diff --git a/doc/source/command-objects/security-group.rst b/doc/source/command-objects/security-group.rst index 3af11b5a..ba054554 100644 --- a/doc/source/command-objects/security-group.rst +++ b/doc/source/command-objects/security-group.rst @@ -45,17 +45,17 @@ Create a new security group security group delete --------------------- -Delete a security group +Delete security group(s) .. program:: security group delete .. code:: bash os security group delete - <group> + <group> [<group> ...] .. describe:: <group> - Security group to delete (name or ID) + Security group(s) to delete (name or ID) security group list ------------------- |
