diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-12-19 14:31:10 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-12-19 14:31:11 +0000 |
| commit | e51a2b3b171f3c72a715bee3ad99c0f88efa3010 (patch) | |
| tree | cc398674bbad98c2396594de3890aa40b6a04c11 /doc/source/command-objects | |
| parent | 25c563d0d8e1b9cc5d9bcafa93b33628e29aed58 (diff) | |
| parent | 841d9d8dbd313b3dcf604466786d6b9a5c918156 (diff) | |
| download | python-openstackclient-e51a2b3b171f3c72a715bee3ad99c0f88efa3010.tar.gz | |
Merge "Add support for setting router gateway"
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 059d1a3f..16a8258d 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -223,6 +223,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> @@ -268,6 +269,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> |
