commit 580b0aff8810f234adcf364b0fe151b6e3c58182
Author: Richard Theis <email address hidden>
Date: Mon Dec 14 13:29:43 2015 -0600
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.
Reviewed: https:/ /review. openstack. org/257543 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=580b0aff881 0f234adcf364b0f e151b6e3c58182
Committed: https:/
Submitter: Jenkins
Branch: master
commit 580b0aff8810f23 4adcf364b0fe151 b6e3c58182
Author: Richard Theis <email address hidden>
Date: Mon Dec 14 13:29:43 2015 -0600
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 NetworkAndCompu teCommand 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: Ic21376b86b40cc 6d97f360f3760ba 5beed154537
Partial-Bug: #1519511
Related-to: blueprint neutron-client