diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-02-04 13:19:01 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-02-27 04:53:10 +0800 |
| commit | 01c19ef0bc6abc0dbbd76666bdc0c5dda7ba0196 (patch) | |
| tree | f0fa9c613d4928e0fed307af15370c6bf976b6c7 /doc/source/command-objects | |
| parent | ada06f4dc3df39db5e739ebd8d82ccd734a54a93 (diff) | |
| download | python-openstackclient-01c19ef0bc6abc0dbbd76666bdc0c5dda7ba0196.tar.gz | |
Router: Add --route and --clear-routes options to "router set" command
--route option is used to set routes to the router.
It is used like this:
--route destination=subnet,gateway=ip-address
destination: destination subnet CIDR
gateway: nexthop IP address
--clear-routes is used to clear all routes on the router.
Change-Id: I97ce4871113c684b29c98cdad4dec9cc80ed20f7
Implements: blueprint neutron-client
Partial-bug: #1519503
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/router.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst index 2a5bf053..6b8b357b 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -93,6 +93,7 @@ Set router properties [--name <name>] [--enable | --disable] [--distributed | --centralized] + [--route destination=<subnet>,gateway=<ip-address> | --clear-routes] <router> .. option:: --name <name> @@ -115,6 +116,17 @@ Set router properties Set router to centralized mode (disabled router only) +.. option:: --route destination=<subnet>,gateway=<ip-address> + + Routes associated with the router. + Repeat this option to set multiple routes. + destination: destination subnet (in CIDR notation). + gateway: nexthop IP address. + +.. option:: --clear-routes + + Clear routes associated with the router + .. _router_set-router: .. describe:: <router> |
