diff options
| author | Reedip <reedip.banerjee@nectechnologies.in> | 2016-08-19 21:02:35 +0530 |
|---|---|---|
| committer | Reedip <reedip.banerjee@gmail.com> | 2016-12-17 18:22:45 +0000 |
| commit | 841d9d8dbd313b3dcf604466786d6b9a5c918156 (patch) | |
| tree | 132940b348a75560de216bea007e421637925029 /doc/source/command-objects | |
| parent | d6e058fa1f6323ef73354f0aea0e09efb647bc7e (diff) | |
| download | python-openstackclient-841d9d8dbd313b3dcf604466786d6b9a5c918156.tar.gz | |
Add support for setting router gateway
This patch adds the support to set the gateway information
for a router.
Implements: blueprint neutron-client-advanced-router
Partially-Implements: blueprint network-commands-options
Change-Id: Ifb5a4d1965cd7e75c0c8cf2cfb677e0628b699dc
Depends-On: I2bda0dd40afd64b6cecca5f64ef2326bda4fac92
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/router.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst index 56b95ffa..22c41490 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -213,6 +213,7 @@ Set router properties [--description <description>] [--route destination=<subnet>,gateway=<ip-address> | --no-route] [--ha | --no-ha] + [--external-gateway <network> [--enable-snat|--disable-snat] [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]] <router> .. option:: --name <name> @@ -258,6 +259,24 @@ Set router properties Clear high availablability attribute of the router (disabled router only) +.. option:: --external-gateway <network> + + External Network used as router's gateway (name or ID) + +.. option:: --enable-snat + + Enable Source NAT on external gateway + +.. option:: --disable-snat + + Disable Source NAT on external gateway + +.. option:: --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) + .. _router_set-router: .. describe:: <router> |
