summaryrefslogtreecommitdiff
path: root/setup.cfg
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 /setup.cfg
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 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 2751eb31..8e1e3e5a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -103,7 +103,6 @@ openstack.compute.v2 =
keypair_show = openstackclient.compute.v2.keypair:ShowKeypair
security_group_create = openstackclient.compute.v2.security_group:CreateSecurityGroup
- security_group_delete = openstackclient.compute.v2.security_group:DeleteSecurityGroup
security_group_list = openstackclient.compute.v2.security_group:ListSecurityGroup
security_group_set = openstackclient.compute.v2.security_group:SetSecurityGroup
security_group_show = openstackclient.compute.v2.security_group:ShowSecurityGroup
@@ -338,6 +337,7 @@ openstack.network.v2 =
router_list = openstackclient.network.v2.router:ListRouter
router_set = openstackclient.network.v2.router:SetRouter
router_show = openstackclient.network.v2.router:ShowRouter
+ security_group_delete = openstackclient.network.v2.security_group:DeleteSecurityGroup
subnet_list = openstackclient.network.v2.subnet:ListSubnet
openstack.object_store.v1 =