etc/quantum.conf
).
/{Quantum-version}/tenants/{tenant-id}/{Quantum-API-entity}
/v1.0/ABC/networks
Content-Type
header,
the Accept
header or adding an .xml
or .json
extension to the request URI.
Format | Accept Header | Query Extension | Default |
JSON | application/json | .json | No |
XML | application/xml | .xml | Yes |
Content-Type
and the Accept
headers are specified. The
Content-Type
header always takes precedence
over the Accept
header. The value of the latter
header is therefore ignored in the example above.
"DOWN"
because the VM interface specified as an attachment was not
currently running on any physical server.
/v1.0/extensions
URI.
Note that this is a versioned request — that is,
an extension available in one API version may not be
available in another.
/v1.0/extensions/alias_name
. This provides the simplest
method of checking if an extension is available as an unavailable extension will issue an
itemNotFound (404) response.
Fault Element | Error Code | Description | |
BadRequest | 400 | Malformed request body. The Quantum service is unable to parse the contents of the request body. | |
Unauthorized | 401 | User has not provided authentication credentials. If authentication is provided by the Keystone identity service, this might mean that either no authentication token has been supplied in the request, or that the token itself is either invalid or expired. | |
Forbidden | 403 | The user does not have the necessary rights to execute the requested operation | |
ItemNotFound | 404 | The requested resource does not exist on the Quantum API server | |
NetworkNotFound | 420 | The specified network has not been created or has been removed. | |
NetworkInUse | 421 | The specified network has attachments plugged into one or more of its ports. | |
PortNotFound | 430 | The specified port has not been created or has been removed. | |
RequestedStateInvalid | 431 | Indicates a request to change port to an administrative state not currently supported. | |
PortInUse | 432 | The specified port cannot be removed as there is an attachment plugged in it. | |
AlreadyAttached | 440 | Attachment is already plugged into another port. |
attachment
child element for that
port.
BadRequest
error is returned
to the caller.
DOWN
, unless a state
has been explicitly specified in the request body.
DOWN
or ACTIVE
.
The administrative state should be encapsulated into a Port
object within the request body, as shown in the example below.
DOWN
and ACTIVE
. In the
DOWN
state a port will not provide
connectivity to the network.
RequestedStateInvalid
error code if the specified administrative state is not either
DOWN
or ACTIVE
.
attachment
element
with no id
attribute set.
attachment
element.