The nova.api.openstack.compute.attach_interfaces Module

The instance interfaces extension.

class AttachInterfaces(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Attach interface support.

alias = 'os-attach-interfaces'
get_controller_extensions()

It’s an abstract function V21APIExtensionBase and the extension will not be loaded without it.

get_resources()
name = 'AttachInterfaces'
version = 1
class InterfaceAttachmentController

Bases: nova.api.openstack.wsgi.Controller

The interface attachment API controller for the OpenStack API.

create(*args, **kwargs)

Attach an interface to an instance.

delete(*args, **kwargs)

Detach an interface from an instance.

index(*args, **kwargs)

Returns the list of interface attachments for a given instance.

show(*args, **kwargs)

Return data about the given interface attachment.

wsgi_actions = {}
wsgi_extensions = []

Previous topic

The nova.api.openstack.compute.assisted_volume_snapshots Module

Next topic

The nova.api.openstack.compute.availability_zone Module

Project Source

This Page