osc network router create
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
Usage: osc network router create [OPTIONS]
Options:
- 
--admin-state-up <ADMIN_STATE_UP>— The administrative state of the resource, which is up (true) or down (false). Default istruePossible values:
true,false - 
--availability-zone-hints <AVAILABILITY_ZONE_HINTS>— The availability zone candidates for the router. It is available whenrouter_availability_zoneextension is enabled.Parameter is an array, may be provided multiple times.
 - 
--description <DESCRIPTION>— A human-readable description for the resource. Default is an empty string - 
--distributed <DISTRIBUTED>—trueindicates a distributed router. It is available whendvrextension is enabledPossible values:
true,false - 
--enable-ndp-proxy <ENABLE_NDP_PROXY>— Enable NDP proxy attribute. Default isfalse, To persist this attribute value, set theenable_ndp_proxy_by_defaultoption in theneutron.conffile. It is available whenrouter-extend-ndp-proxyextension is enabledPossible values:
true,false - 
--enable-snat <ENABLE_SNAT>Possible values:
true,false - 
--external-fixed-ips <JSON>— Parameter is an array, may be provided multiple times - 
--network-id <NETWORK_ID> - 
--qos-policy-id <QOS_POLICY_ID> - 
--flavor-id <FLAVOR_ID>— The ID of the flavor associated with the router - 
--ha <HA>—trueindicates a highly-available router. It is available whenl3-haextension is enabledPossible values:
true,false - 
--name <NAME>— Human-readable name of the resource. Default is an empty string - 
--tenant-id <TENANT_ID>— The ID of the project that owns the resource. Only administrative and users with advsvc role can specify a project ID other than their own. You cannot change this value through authorization policies