From 841d9d8dbd313b3dcf604466786d6b9a5c918156 Mon Sep 17 00:00:00 2001 From: Reedip Date: Fri, 19 Aug 2016 21:02:35 +0530 Subject: 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 --- doc/source/command-objects/router.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--route destination=,gateway= | --no-route] [--ha | --no-ha] + [--external-gateway [--enable-snat|--disable-snat] [--fixed-ip subnet=,ip-address=]] .. option:: --name @@ -258,6 +259,24 @@ Set router properties Clear high availablability attribute of the router (disabled router only) +.. option:: --external-gateway + + 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=,ip-address= + + Desired IP and/or subnet (name or ID) on external gateway: + subnet=,ip-address= + (repeat option to set multiple fixed IP addresses) + .. _router_set-router: .. describe:: -- cgit v1.2.1