Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

8.211. neutron router-update

usage: neutron router-update [-h] [--request-format {json}] [--name NAME]
                             [--description DESCRIPTION]
                             [--admin-state-up {True,False}]
                             [--distributed {True,False}]
                             [--route destination=CIDR,nexthop=IP_ADDR | --no-routes]
                             ROUTER
Update router's information.

Positional arguments

ROUTER


        ID or name of router to update.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--name NAME


        Updated name of the router.

--description DESCRIPTION


      Description of router.

--admin-state-up {True,False}


      Specify the administrative state of the router (True
      means "Up").

--distributed {True,False}


      True means this router should operate in distributed
      mode.

--route


        destination=CIDR,nexthop=IP_ADDR
      Route to associate with the router. You can repeat
      this option.

--no-routes


        Remove routes associated with the router.