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 when dvr extension is enabled

    Possible values: true, false

  • --enable-ndp-proxy <ENABLE_NDP_PROXY> — Enable NDP proxy attribute. Default is false, To persist this attribute value, set the enable_ndp_proxy_by_default option in the neutron.conf file. It is available when router-extend-ndp-proxy extension is enabled

    Possible 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 when l3-ha extension is enabled

    Possible values: true, false

  • --name <NAME> — Human-readable name of the resource

  • --routes <JSON> — The extra routes configuration for L3 router. A list of dictionaries with destination and nexthop parameters. It is available when extraroute extension is enabled. Default is an empty list ([]).

    Parameter is an array, may be provided multiple times.