Bases: RestController
REST controller for Ports.
Delete a port.
port_uuid – UUID of a port.
OperationNotPermitted, HTTPNotFound
Retrieve a list of ports with detail.
Note that the ‘node_uuid’ interface is deprecated in favour of the ‘node’ interface
node – UUID or name of a node, to get only ports for that node.
node_uuid – UUID of a node, to get only ports for that node.
address – MAC address of a port, to get the port which has this MAC address.
portgroup – UUID or name of a portgroup, to get only ports for that portgroup.
marker – pagination marker for large data sets.
limit – maximum number of resources to return in a single result. This value cannot be larger than the value of max_limit in the [api] section of the ironic configuration, or only max_limit resources will be returned.
sort_key – column to sort results by. Default: id.
sort_dir – direction to sort. “asc” or “desc”. Default: asc.
NotAcceptable, HTTPNotFound
Retrieve a list of ports.
Note that the ‘node_uuid’ interface is deprecated in favour of the ‘node’ interface
node – UUID or name of a node, to get only ports for that node.
node_uuid – UUID of a node, to get only ports for that node.
address – MAC address of a port, to get the port which has this MAC address.
marker – pagination marker for large data sets.
limit – maximum number of resources to return in a single result. This value cannot be larger than the value of max_limit in the [api] section of the ironic configuration, or only max_limit resources will be returned.
sort_key – column to sort results by. Default: id.
sort_dir – direction to sort. “asc” or “desc”. Default: asc.
fields – Optional, a list with a specified set of fields of the resource to be returned.
portgroup – UUID or name of a portgroup, to get only ports for that portgroup.
NotAcceptable, HTTPNotFound
Retrieve information about the given port.
port_uuid – UUID of a port.
fields – Optional, a list with a specified set of fields of the resource to be returned.
NotAcceptable, HTTPNotFound
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.