Module create

Module create 

Source
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§

ExternalFixedIps
ExternalFixedIpsBuilder
Builder for ExternalFixedIps.
ExternalGatewayInfo
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_ips and qos_policy_id. Otherwise, this would be null.
ExternalGatewayInfoBuilder
Builder for ExternalGatewayInfo.
Request
RequestBuilder
Builder for Request.
Router
A router object.
RouterBuilder
Builder for Router.

Enums§

ExternalFixedIpsBuilderError
Error type for ExternalFixedIpsBuilder
ExternalGatewayInfoBuilderError
Error type for ExternalGatewayInfoBuilder
RequestBuilderError
Error type for RequestBuilder
RouterBuilderError
Error type for RouterBuilder