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

The security groups extension.

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.legacy_v2.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.

update(req, id, body)

Update a security group.

class SecurityGroupControllerBase

Bases: object

Base class for Security Group controllers.

class SecurityGroupRulesController

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

create(req, body)
delete(req, id)
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 = [('create', None), ('detail', None), ('show', None)]
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 = '2013-05-28T00:00:00Z'
class ServerSecurityGroupController

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

index(req, server_id)

Returns a list of security groups for the given instance.

translate_exceptions(*args, **kwds)

Translate nova exceptions to http exceptions.

Previous topic

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

Next topic

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

Project Source

This Page