openstack router setSet router properties
Options
| Option | Description |
|---|---|
<router> | Router to modify (name or ID) |
--extra-property type=<property_type>,name=<property_name>,value=<property_value> | Additional parameters can be passed using this property. Default type of the extra property is string ('str'), but other types can be used as well. Available types are: 'dict', 'list', 'str', 'bool', 'int'. In case of 'list' type, 'value' can be semicolon-separated list of values. For 'dict' value is semicolon-separated list of the key:value pairs. |
--name <name> | Set router name |
--description <description> | Set router description |
--enable | Enable router |
--disable | Disable router |
--distributed | Set router to distributed mode (disabled router only) |
--centralized | Set router to centralized mode (disabled router only) |
--route destination=<subnet>,gateway=<ip-address> | Add routes to the router. destination: destination subnet (in CIDR notation) gateway: nexthop IP address (repeat option to add multiple routes). This is deprecated in favor of 'router add/remove route' since it is prone to race conditions between concurrent clients when not used together with --no-route to overwrite the current value of 'routes'. |
--no-route | Clear routes associated with the router. Specify both |
--route and --no-route to overwrite current value of | routes. |
--ha | Set the router as highly available (disabled router only) |
--no-ha | Clear high availability attribute of the router (disabled router only) |
--external-gateway <network> | External Network used as router's gateway (name or ID) (repeat option to set multiple gateways per router if the L3 service plugin in use supports it). |
--fixed-ip subnet=<subnet>,ip-address=<ip-address> | Desired IP and/or subnet (name or ID) on external gateway: subnet=<subnet>,ip-address=<ip-address> (repeat option to set multiple fixed IP addresses) |
--enable-snat | Enable Source NAT on external gateway |
--disable-snat | Disable Source NAT on external gateway |
--enable-ndp-proxy | Enable IPv6 NDP proxy on external gateway |
--disable-ndp-proxy | Disable IPv6 NDP proxy on external gateway |
--qos-policy <qos-policy> | Attach QoS policy to router gateway IPs |
--no-qos-policy | Remove QoS policy from router gateway IPs |
--tag <tag> | Tag to be added to the router (repeat option to set multiple tags) |
--no-tag | Clear tags associated with the router. Specify both |
--tag and --no-tag to overwrite current tags | |
--enable-default-route-bfd | Enable BFD sessions for default routes inferred from the external gateway port subnets for this router |
--disable-default-route-bfd | Disable BFD sessions for default routes inferred from the external gateway port subnets for this router |
--enable-default-route-ecmp | Add ECMP default routes if multiple are available via different gateway ports |
--disable-default-route-ecmp | Add default route only for first gateway port |