Status Codes

Table 1 Normal status codes

Status Code

Message

Description

200

OK

Normal response to GET and PUT requests.

201

Created

Normal response to POST requests.

204

No Content

Normal response to DELETE requests.

Table 2 Error codes

Status Code

Message

Description

400

Bad Request

Malformed request URI or body.

Invalid admin _state_up value.

Invalid parameters.

Batch operations are not allowed.

Failed to verify the parameters.

The method is not allowed for the request body, for example, trying to update attributes that be specified only during creation.

The network is not external (the value of router:external is set to false).

The IaaS OpenStack network port has no floating IP address bound.

The requested floating IP address is not in the IP address range of the external network.

Invalid fixed IP address.

The router port does not have a fixed IP address.

The subnet for the router interface must have a gateway IP address.

401

Unauthorized

Authentication required.

403

Forbidden

The URI does not exist.

The resource cannot be found.

404

Not Found

The URI does not exist.

The resource cannot be found.

The port UUID is not valid.

409

Conflict

The port is already in use.

The IP address is already in use.

The IP address pool cannot contain gateway and broadcast addresses.

The requested floating IP address is already in use.

The internal IaaS OpenStack network port and fixed IP address are already associated with another floating IP addresses.

500

Internal IaaS OpenStack network error.

Failed to assign the MAC address.

503

Service Unavailable

Failed to assign the MAC address.