The nova.api.openstack.compute.baremetal_nodes Module

The bare-metal admin extension.

class BareMetalNodeController(view_builder=None)

Bases: nova.api.openstack.wsgi.Controller

The Bare-Metal Node API controller for the OpenStack API.

create(*args, **kwargs)
delete(*args, **kwargs)
index(*args, **kwargs)
show(*args, **kwargs)
wsgi_actions = {'remove_interface': '_remove_interface', 'add_interface': '_add_interface'}
wsgi_extensions = []
class BareMetalNodes(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Admin-only bare-metal node administration.

alias = 'os-baremetal-nodes'
get_controller_extensions()

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

get_resources()
name = 'BareMetalNodes'
version = 1

Previous topic

The nova.api.openstack.compute.availability_zone Module

Next topic

The nova.api.openstack.compute.block_device_mapping Module

Project Source

This Page