From 842882f3cbfca6df9a42bc49b0deefdb84509a8e Mon Sep 17 00:00:00 2001 From: Richard Theis Date: Tue, 9 Feb 2016 07:21:01 -0600 Subject: Refactor security group list to use SDK Refactored the 'os security group list' command to use the SDK when neutron is enabled, but continue to use the nova client when nova network is enabled. This refactor also removes the logic for displaying project names instead of project IDs when the --all-projects option is specified. This logic was removed because it is inconsistent with the other network commands. Since neutron will always display security groups across all projects for an admin, the --all-projects option is now hidden when neutron is enabled and the Project column is always displayed. Change-Id: I934a1f5084ef3c5f929d0ffd38ebf5064d799941 Partial-Bug: #1519511 Related-to: blueprint neutron-client --- doc/source/command-objects/security-group.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/security-group.rst b/doc/source/command-objects/security-group.rst index cf86bda6..22ea5cb7 100644 --- a/doc/source/command-objects/security-group.rst +++ b/doc/source/command-objects/security-group.rst @@ -54,6 +54,9 @@ List security groups Display information from all projects (admin only) + *Network version 2 ignores this option and will always display information* + *for all projects.* + security group set ------------------ -- cgit v1.2.1