summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2015-12-14 13:29:43 -0600
committerRichard Theis <rtheis@us.ibm.com>2016-02-02 09:04:51 -0600
commit580b0aff8810f234adcf364b0fe151b6e3c58182 (patch)
tree7bd931372c3d8c44fb730b6bdbb257aeed83fbba /doc/source/command-objects
parentf36177ebdd4ea25028337efaf667c23d62e3bf9e (diff)
downloadpython-openstackclient-580b0aff8810f234adcf364b0fe151b6e3c58182.tar.gz
Refactor security group delete to use SDK
Refactored the 'os security group delete' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. This patch set introduces a new NetworkAndComputeCommand class to be used for commands that must support neutron and nova network. The new class allows both the parser and actions to be unique. The current DeleteSecurityGroup class is now a subclass of this new class and has moved under the network v2 commands. This patch set also introduces a new FakeSecurityGroup class for testing security groups. And finally, this patch set updates the command documentation for security group and security group rule to indicate that Network v2 is also used. Change-Id: Ic21376b86b40cc6d97f360f3760ba5beed154537 Partial-Bug: #1519511 Related-to: blueprint neutron-client
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/security-group-rule.rst2
-rw-r--r--doc/source/command-objects/security-group.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst
index ec03644e..50bc64aa 100644
--- a/doc/source/command-objects/security-group-rule.rst
+++ b/doc/source/command-objects/security-group-rule.rst
@@ -2,7 +2,7 @@
security group rule
===================
-Compute v2
+Compute v2, Network v2
security group rule create
--------------------------
diff --git a/doc/source/command-objects/security-group.rst b/doc/source/command-objects/security-group.rst
index 60de41d8..cf86bda6 100644
--- a/doc/source/command-objects/security-group.rst
+++ b/doc/source/command-objects/security-group.rst
@@ -2,7 +2,7 @@
security group
==============
-Compute v2
+Compute v2, Network v2
security group create
---------------------