This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.api.openstack.contrib.security_groups Module

The security groups extension.

class nova.api.openstack.contrib.security_groups.SecurityGroupController

Bases: object

The Security group API controller for the OpenStack API.

create(req, body)

Creates a new security group.

delete(req, id)

Delete a security group.

index(req)

Returns a list of security groups

show(req, id)

Return data about the given security group.

class nova.api.openstack.contrib.security_groups.SecurityGroupRulesController

Bases: nova.api.openstack.contrib.security_groups.SecurityGroupController

create(req, body)
delete(req, id)
class nova.api.openstack.contrib.security_groups.SecurityGroupRulesXMLDeserializer(metadata=None)

Bases: nova.api.openstack.wsgi.MetadataXMLDeserializer

Deserializer to handle xml-formatted security group requests.

create(string)

Deserialize an xml-formatted security group create request

class nova.api.openstack.contrib.security_groups.SecurityGroupXMLDeserializer(metadata=None)

Bases: nova.api.openstack.wsgi.MetadataXMLDeserializer

Deserializer to handle xml-formatted security group requests.

create(string)

Deserialize an xml-formatted security group create request

class nova.api.openstack.contrib.security_groups.Security_groups

Bases: nova.api.openstack.extensions.ExtensionDescriptor

get_actions()

Return the actions the extensions adds

get_alias()
get_description()
get_name()
get_namespace()
get_resources()
get_updated()