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>—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> -
--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 -
--routes <JSON>— The extra routes configuration for L3 router. A list of dictionaries withdestinationandnexthopparameters. It is available whenextrarouteextension is enabled. Default is an empty list ([]).Parameter is an array, may be provided multiple times.