From 2e94f2803fca3862589fe2b10c76c2ebc9e17229 Mon Sep 17 00:00:00 2001 From: reedip Date: Thu, 18 Feb 2016 17:12:05 +0900 Subject: Add "router add port" to osc This patch proposes the migration of port addition of Neutron's "router-interface-add" to OSC's "router add port". Change-Id: I3a8a76d384caa32975f8e77f50f3cf3c3be13786 Closes-Bug: #1546849 Depends-On: I9783bc4ccceae3d361dce52d51483ef2187920a9 Implements: blueprint neutron-client-advanced-router --- doc/source/command-objects/router.rst | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst index 6b8b357b..9d094d37 100644 --- a/doc/source/command-objects/router.rst +++ b/doc/source/command-objects/router.rst @@ -4,6 +4,27 @@ router Network v2 +router add port +--------------- +Add a port to a router + +.. program:: router add port +.. code:: bash + + os router add port + + + +.. _router_add_port: + +.. describe:: + + Router to which port will be added (name or ID) + +.. describe:: + + Port to be added (name or ID) + router create ------------- @@ -16,7 +37,7 @@ Create new router [--project [--project-domain ]] [--enable | --disable] [--distributed] - [--availability-zone-hint ] + [--availability-zone-hint ] .. option:: --project @@ -146,4 +167,4 @@ Display router details .. _router_show-router: .. describe:: - Router to display (name or ID) + Router to display (name or ID) \ No newline at end of file -- cgit v1.2.1