First time here? Check out the FAQ!
2016-08-04 02:15:07 -0600 | received badge | ● Famous Question (source) |
2016-08-04 02:15:07 -0600 | received badge | ● Notable Question (source) |
2016-08-04 02:15:07 -0600 | received badge | ● Popular Question (source) |
2014-07-29 22:46:20 -0600 | received badge | ● Enthusiast |
2014-07-24 01:37:28 -0600 | received badge | ● Popular Question (source) |
2014-07-23 05:37:03 -0600 | received badge | ● Editor (source) |
2014-07-23 05:37:03 -0600 | edited question | how should I use neutron CLI option --request-format The help message is not helpful: --request-format {json,xml} The xml or json request format What does it mean exactly? Does it mean that I can use this option to specify the query conditions? If yes, how? For example, using admin role I want to list security-groups for a specific tenant instead of listing security-groups of all tenant. Can I do it with the neutron CLI? |
2014-07-23 05:33:28 -0600 | commented answer | how should I use neutron CLI option --request-format P.S. if using SQL you can do this to get secgoups (rather than get rules): select * from securitygroups where tenant_id='xxxxxxx' |
2014-07-23 05:30:26 -0600 | commented answer | how should I use neutron CLI option --request-format Thank you dbaxps. Sure, we can get it from DB, or even neutron restful API. But what I really wanted to know is how to do this in neutron CLI. And I noticed the option --request-format and I wonder if it is for this purpose: to specify the query condition in json or xml. But there is no document for it. |
2014-07-22 22:32:44 -0600 | commented answer | how should I use neutron CLI option --request-format Sorry, you still didn't specify the tenant. Suppose you have 1000 tenants, and each has their own secgroups. How do you list only secgroups for tenant A? |