Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

create security group

I was trying to use the python-neutronclient for creating security groups and it throws the weird ("NeutronClientException: Unable to find 'security_group' in request body" ) exception. Why is it trying to find a security group when I am trying to create a new one.

the list and get method of the python-neutronclient work well though.

I checked the neutron api documentation and see that it has CRUD methods only for network, subnet and ports. (https://wiki.openstack.org/wiki/Neutron/APIv2-specification)

Now I am really confused about the work-flow. Is neutron responsible for creating security groups or is it nova(create works with python-novaclient except that i do not know how to add rules to the sg).

Can any one tell me which process is responsible for this workflow and what the api is and if there is support for it in any python client.