osc network router set
Updates a logical router.
This operation does not enable the update of router interfaces. To update a router interface, use the add router interface and remove router interface operations.
Normal response codes: 200
Error response codes: 400, 401, 404, 412
Usage: osc network router set [OPTIONS] <ID>
Arguments:
<ID>
— id parameter for /v2.0/routers/{id} API
Options:
-
--admin-state-up <ADMIN_STATE_UP>
— The administrative state of the resource, which is up (true
) or down (false
)Possible values:
true
,false
-
--description <DESCRIPTION>
— A human-readable description for the resource. Default is an empty string -
--distributed <DISTRIBUTED>
—true
indicates a distributed router. It is available whendvr
extension 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_default
option in theneutron.conf
file. It is available whenrouter-extend-ndp-proxy
extension 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>
-
--ha <HA>
—true
indicates a highly-available router. It is available whenl3-ha
extension is enabledPossible values:
true
,false
-
--name <NAME>
— Human-readable name of the resource -
--routes <JSON>
— The extra routes configuration for L3 router. A list of dictionaries withdestination
andnexthop
parameters. It is available whenextraroute
extension is enabled. Default is an empty list ([]
).Parameter is an array, may be provided multiple times.