Sachin, If the SG is part of another project, as a admin , SG list and SG show by id works, but SG show by name doesnt work
root@nodec22:/usr/lib/python2.7/dist-packages/neutronclient# neutron security-group-list +--------------------------------------+--------------+--------------+ | id | name | description | +--------------------------------------+--------------+--------------+ | f7faed4b-7faa-4589-bb48-e10e35870d30 | admin-sg1 | admin-sg1 | | e8ba27a0-0607-427d-9423-6b3e80cc4711 | admin-sg2 | admin-sg2 | | a5312bb0-f4c8-4f00-bb6d-418b99d00339 | default | | | 60f7a7be-f9c7-4732-b23b-0506892b2c14 | default | | | 78bf2626-de2c-4572-8854-76a64e311172 | default | | | 7c46433b-35fa-4578-8094-b49610e8a651 | project1-sg1 | project1-sg1 | | bee2ef80-6dad-4aca-a35a-09d807577851 | project1-sg2 | project1-sg2 | +--------------------------------------+--------------+--------------+ root@nodec22:/usr/lib/python2.7/dist-packages/neutronclient# neutron security-group-list --name=project1-sg1
root@nodec22:/usr/lib/python2.7/dist-packages/neutronclient# neutron security-group-list --name="project1-sg1"
root@nodec22:/usr/lib/python2.7/dist-packages/neutronclient#
Sachin,
If the SG is part of another project, as a admin , SG list and SG show by id works, but SG show by name doesnt work
root@nodec22: /usr/lib/ python2. 7/dist- packages/ neutronclient# neutron security-group-list ------- ------- ------- ------- ----+-- ------- -----+- ------- ------+ ------- ------- ------- ------- ----+-- ------- -----+- ------- ------+ 7faa-4589- bb48-e10e35870d 30 | admin-sg1 | admin-sg1 | 0607-427d- 9423-6b3e80cc47 11 | admin-sg2 | admin-sg2 | f4c8-4f00- bb6d-418b99d003 39 | default | | f9c7-4732- b23b-0506892b2c 14 | default | | de2c-4572- 8854-76a64e3111 72 | default | | 35fa-4578- 8094-b49610e8a6 51 | project1-sg1 | project1-sg1 | 6dad-4aca- a35a-09d8075778 51 | project1-sg2 | project1-sg2 | ------- ------- ------- ------- ----+-- ------- -----+- ------- ------+ /usr/lib/ python2. 7/dist- packages/ neutronclient# neutron security-group-list --name=project1-sg1
+------
| id | name | description |
+------
| f7faed4b-
| e8ba27a0-
| a5312bb0-
| 60f7a7be-
| 78bf2626-
| 7c46433b-
| bee2ef80-
+------
root@nodec22:
root@nodec22: /usr/lib/ python2. 7/dist- packages/ neutronclient# neutron security-group-list --name= "project1- sg1"
root@nodec22: /usr/lib/ python2. 7/dist- packages/ neutronclient#