The nova.api.openstack.compute.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.security_groups.SecurityGroupControllerBase

The Security group API controller for the OpenStack API.

create(*args, **kwargs)

Creates a new security group.

delete(*args, **kwargs)

Delete a security group.

index(*args, **kwargs)

Returns a list of security groups.

show(*args, **kwargs)

Return data about the given security group.

update(*args, **kwargs)

Update a security group.

wsgi_actions = {}
wsgi_extensions = []
class SecurityGroupControllerBase

Bases: nova.api.openstack.wsgi.Controller

Base class for Security Group controllers.

wsgi_actions = {}
wsgi_extensions = []
class SecurityGroupRulesController

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

create(*args, **kwargs)
delete(*args, **kwargs)
wsgi_actions = {}
wsgi_extensions = []
class SecurityGroups(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Security group support.

alias = 'os-security-groups'
get_controller_extensions()
get_resources()
get_server_create_schema(version)
name = 'SecurityGroups'
server_create(server_dict, create_kwargs, body_deprecated_param)
version = 1
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 = [('detail', None), ('show', None), ('create', None)]
class ServerSecurityGroupController

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

index(*args, **kwargs)

Returns a list of security groups for the given instance.

wsgi_actions = {}
wsgi_extensions = []

Previous topic

The nova.api.openstack.compute.security_group_default_rules Module

Next topic

The nova.api.openstack.compute.server_diagnostics Module

Project Source

This Page