The nova.api.openstack.compute.contrib.security_groups Module

The security groups extension.

class NativeNovaSecurityGroupAPI(**kwargs)

Bases: nova.api.openstack.compute.contrib.security_groups.NativeSecurityGroupExceptions, nova.compute.api.SecurityGroupAPI

class NativeQuantumSecurityGroupAPI

Bases: nova.api.openstack.compute.contrib.security_groups.NativeSecurityGroupExceptions, nova.network.security_group.quantum_driver.SecurityGroupAPI

class NativeSecurityGroupExceptions

Bases: object

static raise_group_already_exists(msg)
static raise_invalid_cidr(cidr, decoding_exception=None)
static raise_invalid_group(msg)
static raise_invalid_property(msg)
static raise_not_found(msg)
static raise_over_quota(msg)
class SecurityGroupActionController(*args, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

wsgi_actions = {'removeSecurityGroup': '_removeSecurityGroup', 'addSecurityGroup': '_addSecurityGroup'}
wsgi_extensions = []
class SecurityGroupController

Bases: nova.api.openstack.compute.contrib.security_groups.SecurityGroupControllerBase

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 SecurityGroupControllerBase

Bases: object

Base class for Security Group controllers.

class SecurityGroupRuleTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class SecurityGroupRulesController

Bases: nova.api.openstack.compute.contrib.security_groups.SecurityGroupControllerBase

create(req, body)
delete(req, id)
class SecurityGroupRulesXMLDeserializer(metadata=None)

Bases: nova.api.openstack.wsgi.MetadataXMLDeserializer

Deserializer to handle xml-formatted security group requests.

default(string)

Deserialize an xml-formatted security group create request.

class SecurityGroupServerTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class SecurityGroupServersTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class SecurityGroupTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class SecurityGroupXMLDeserializer(metadata=None)

Bases: nova.api.openstack.wsgi.MetadataXMLDeserializer

Deserializer to handle xml-formatted security group requests.

default(string)

Deserialize an xml-formatted security group create request.

class SecurityGroupsOutputController(*args, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

create(req, resp_obj, body)
detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {}
wsgi_extensions = [('show', None), ('create', None), ('detail', None)]
class SecurityGroupsTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class SecurityGroupsTemplateElement(tag, attrib=None, selector=None, subselector=None, **extra)

Bases: nova.api.openstack.xmlutil.TemplateElement

will_render(datum)
class Security_groups(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Security group support.

alias = 'os-security-groups'
get_controller_extensions()
get_resources()
name = 'SecurityGroups'
namespace = 'http://docs.openstack.org/compute/ext/securitygroups/api/v1.1'
updated = '2011-07-21T00:00:00+00:00'
class ServerSecurityGroupController

Bases: nova.api.openstack.compute.contrib.security_groups.SecurityGroupControllerBase

index(req, server_id)

Returns a list of security groups for the given instance.

make_rule(elem)
make_server(elem)
make_sg(elem)

Previous topic

The nova.api.openstack.compute.contrib.security_group_default_rules Module

Next topic

The nova.api.openstack.compute.contrib.server_diagnostics Module

This Page