ironic_ui.api.ironic_rest_api Module¶ironic_ui.api.ironic_rest_api.BootDevice(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Get the boot device for a specified node
request – HTTP request.
node_id – Node name or uuid.
Dictionary with keys “boot_device” and “persistent”.
put(request, node_id)Set the boot device for a specific node
request – HTTP request.
node_id – Node name or uuid.
null.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/boot_device$'ironic_ui.api.ironic_rest_api.DriverDetails(**kwargs)Bases: django.views.generic.base.View
get(request, driver_name)Get the details of a specified driver
request – HTTP request
driver_name – Driver name
Dictionary of details
url_regex = 'ironic/drivers/(?P<driver_name>[0-9a-zA-Z_-]+)$'ironic_ui.api.ironic_rest_api.DriverProperties(**kwargs)Bases: django.views.generic.base.View
get(request, driver_name)Get the properties associated with a specified driver
request – HTTP request.
driver_name – Driver name.
Dictionary of properties.
url_regex = 'ironic/drivers/(?P<driver_name>[0-9a-zA-Z_-]+)/properties$'ironic_ui.api.ironic_rest_api.Drivers(**kwargs)Bases: django.views.generic.base.View
get(request)Get the list of drivers.
request – HTTP request.
List of drivers.
url_regex = 'ironic/drivers/$'ironic_ui.api.ironic_rest_api.InjectNmi(**kwargs)Bases: django.views.generic.base.View
put(request, node_id)Inject Non-Masking Interrupts into a specified node.
request – HTTP request.
node_id – Node name or uuid.
Empty response.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/management/inject_nmi$'ironic_ui.api.ironic_rest_api.Maintenance(**kwargs)Bases: django.views.generic.base.View
delete(request, node_id)Take a specified node out of the maintenance state
request – HTTP request.
node_id – Node name or uuid.
Return code.
patch(request, node_id)Put a specified node into maintenance state
request – HTTP request.
node_id – Node name or uuid.
Return code.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/maintenance$'ironic_ui.api.ironic_rest_api.Node(**kwargs)Bases: django.views.generic.base.View
delete(request, node_id)Delete an Ironic node from inventory
request – HTTP request.
node_id – Node name or uuid.
get(request, node_id)Get information on a specified node.
request – HTTP request.
node_id – Node name or uuid.
node.
patch(request, node_id)Update an Ironic node.
request – HTTP request.
node_id – Node name or uuid.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)$'ironic_ui.api.ironic_rest_api.NodePortgroups(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Get the list of portgroups associated with a specified node.
request – HTTP request.
node_id – Node name or uuid.
List of portgroups.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/portgroups$'ironic_ui.api.ironic_rest_api.NodePorts(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Get the list of ports associated with a specified node.
request – HTTP request.
node_id – Node name or uuid.
List of ports.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/ports/detail$'ironic_ui.api.ironic_rest_api.Nodes(**kwargs)Bases: django.views.generic.base.View
get(request)Get the list of nodes.
request – HTTP request.
List of nodes.
post(request)Create an Ironic node.
request – HTTP request.
url_regex = 'ironic/nodes/$'ironic_ui.api.ironic_rest_api.Port(**kwargs)Bases: django.views.generic.base.View
delete(request, port_uuid)Delete a network port.
request – HTTP request
port_uuid – Port uuid.
patch(request, port_uuid)Update an Ironic port.
request – HTTP request.
port_uuid – Port uuid.
url_regex = 'ironic/ports/(?P<port_uuid>[0-9a-f-]+)$'ironic_ui.api.ironic_rest_api.Portgroup(**kwargs)Bases: django.views.generic.base.View
delete(request, portgroup_id)Delete a portgroup.
request – HTTP request.
portgroup_id – UUID or name of portgroup.
patch(request, portgroup_id)Update an Ironic portgroup.
request – HTTP request.
portgroup_id – UUID or name of portgroup.
url_regex = 'ironic/portgroups/(?P<portgroup_id>[a-zA-Z0-9-._~]+)$'ironic_ui.api.ironic_rest_api.PortgroupPorts(**kwargs)Bases: django.views.generic.base.View
get(request, portgroup_id)Get the ports for a specified portgroup.
request – HTTP request.
portgroup_id – UUID or name of portgroup.
List of port objects.
url_regex = 'ironic/portgroups/(?P<portgroup_id>[a-zA-Z0-9-._~]+)/ports$'ironic_ui.api.ironic_rest_api.Portgroups(**kwargs)Bases: django.views.generic.base.View
post(request)Create a portgroup.
request – HTTP request.
Portgroup.
url_regex = 'ironic/portgroups$'ironic_ui.api.ironic_rest_api.Ports(**kwargs)Bases: django.views.generic.base.View
post(request)Create a network port.
request – HTTP request.
Port
url_regex = 'ironic/ports/$'ironic_ui.api.ironic_rest_api.RaidConfig(**kwargs)Bases: django.views.generic.base.View
put(request, node_id)Set the RAID configuration for a specified node.
request – HTTP request.
node_id – Node name or node uuid
None
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/states/raid$'ironic_ui.api.ironic_rest_api.StatesConsole(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Get connection information for the node’s console
request – HTTP request.
node_id – Node name or uuid.
Connection information.
put(request, node_id)Start or stop the serial console.
request – HTTP request.
node_id – Node name or uuid.
Return code.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/states/console$'ironic_ui.api.ironic_rest_api.StatesPower(**kwargs)Bases: django.views.generic.base.View
patch(request, node_id)Set the power state for a specified node.
request – HTTP request.
node_id – Node name or uuid.
Return code.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/states/power$'ironic_ui.api.ironic_rest_api.StatesProvision(**kwargs)Bases: django.views.generic.base.View
put(request, node_id)Set the provision state for a specified node.
request – HTTP request.
node_id – Node name or uuid.
Return code.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/states/provision$'ironic_ui.api.ironic_rest_api.SupportedBootDevices(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Get the list of supported boot devices for a specified node.
request – HTTP request.
node_id – Node name or uuid.
List of supported boot devices.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/boot_device/supported$'ironic_ui.api.ironic_rest_api.Validate(**kwargs)Bases: django.views.generic.base.View
get(request, node_id)Validate a specified node
request – HTTP request.
node_id – Node name or uuid.
List of dictionaries of interface statuses.
url_regex = 'ironic/nodes/(?P<node_id>[a-zA-Z0-9-._~]+)/validate$'
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.