Expand description
Creates a logical router.
This operation creates a logical router. The logical router does not have
any internal interface and it is not associated with any subnet. You can
optionally specify an external gateway for a router at create time. The
external gateway for the router must be plugged into an external network.
An external network has its router:external extended field set to true.
To specify an external gateway, the ID of the external network must be
passed in the network_id parameter of the external_gateway_info
attribute in the request body.
Normal response codes: 201
Error response codes: 400, 401
Structs§
- External
Fixed Ips - External
Fixed IpsBuilder - Builder for
ExternalFixedIps. - External
Gateway Info - The external gateway information of the router. If the router has an
external gateway, this would be a dict with
network_id,enable_snat,external_fixed_ipsandqos_policy_id. Otherwise, this would benull. - External
Gateway Info Builder - Builder for
ExternalGatewayInfo. - Request
- Request
Builder - Builder for
Request. - Router
- A
routerobject. - Router
Builder - Builder for
Router.
Enums§
- External
Fixed IpsBuilder Error - Error type for ExternalFixedIpsBuilder
- External
Gateway Info Builder Error - Error type for ExternalGatewayInfoBuilder
- Request
Builder Error - Error type for RequestBuilder
- Router
Builder Error - Error type for RouterBuilder