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§
- Builder for
ExternalFixedIps. - 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. - Builder for
ExternalGatewayInfo. - Builder for
Request. - A
routerobject. - Builder for
Router.
Enums§
- Error type for ExternalFixedIpsBuilder
- Error type for ExternalGatewayInfoBuilder
- Error type for RequestBuilder
- Error type for RouterBuilder