commit 0e38ef84844ba406cb18fe3893dc6bebd205ef51
Author: Richard Theis <email address hidden>
Date: Wed Dec 23 13:44:22 2015 -0600
Improve output for "os security group show"
Improve the security group rules output when running the
"os security group show" command. Each security group rule
is now displayed on a separate line.
Current output example:
$ openstack security group show default
+-------------+------------------------- ... ---+
| Field | Value ... |
+-------------+------------------------- ... ---+
| description | Default security group ... |
| id | 048a5fc3-3be1-407d-ae47-9... |
| name | default ... |
| project_id | 3b96bb2020c1459da76963f9e... |
| rules | [u"id='5d812367-9829-4340...t"] |
+-------------+------------------------- ... ---+
New output example:
+-------------+------------------------- ... ---+
| Field | Value ... |
+-------------+------------------------- ... ---+
| description | Default security group ... |
| id | 048a5fc3-3be1-407d-ae47-9... |
| name | default ... |
| project_id | 3b96bb2020c1459da76963f9e... |
| rules | id='5d812367-9829-4340-95...lt' |
| | id='ee451d1c-ade3-4975-8e...lt' |
+-------------+------------------------- ... ---+
Reviewed: https:/ /review. openstack. org/261089 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=0e38ef84844 ba406cb18fe3893 dc6bebd205ef51
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0e38ef84844ba40 6cb18fe3893dc6b ebd205ef51
Author: Richard Theis <email address hidden>
Date: Wed Dec 23 13:44:22 2015 -0600
Improve output for "os security group show"
Improve the security group rules output when running the
"os security group show" command. Each security group rule
is now displayed on a separate line.
Current output example: ------- ----+-- ------- ------- ------- -- ... ---+ ------- ----+-- ------- ------- ------- -- ... ---+ 3be1-407d- ae47-9. .. | da76963f9e. .. | 5d812367- 9829-4340. ..t"] | ------- ----+-- ------- ------- ------- -- ... ---+
$ openstack security group show default
+--
| Field | Value ... |
+--
| description | Default security group ... |
| id | 048a5fc3-
| name | default ... |
| project_id | 3b96bb2020c1459
| rules | [u"id='
+--
New output example: ------- ----+-- ------- ------- ------- -- ... ---+ ------- ----+-- ------- ------- ------- -- ... ---+ 3be1-407d- ae47-9. .. | da76963f9e. .. | 9829-4340- 95...lt' | ade3-4975- 8e...lt' | ------- ----+-- ------- ------- ------- -- ... ---+
+--
| Field | Value ... |
+--
| description | Default security group ... |
| id | 048a5fc3-
| name | default ... |
| project_id | 3b96bb2020c1459
| rules | id='5d812367-
| | id='ee451d1c-
+--
Change-Id: I1386075310896c 58a2b776e2bbec3 603bd00eff1
Partial-Bug: #1519511
Related-To: blueprint neutron-client