From c99ec284db181c7f9c72ce1163ba1ea45fe369d0 Mon Sep 17 00:00:00 2001 From: Aradhana Singh Date: Thu, 6 Oct 2016 21:51:01 +0000 Subject: Add description field port create & port set This patchset 1. adds description field to openstack port create and openstack port set. 2. updates method _add_updatable_args with 4 spaces instead of existing 8 spaces Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572 --- doc/source/command-objects/port.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index e3e783ad..6b318faf 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -18,6 +18,7 @@ Create new port os port create --network + [--description ] [--fixed-ip subnet=,ip-address=] [--device ] [--device-owner ] @@ -33,6 +34,10 @@ Create new port Network this port belongs to (name or ID) +.. option:: --description + + Description of this port + .. option:: --fixed-ip subnet=,ip-address= Desired IP and/or subnet (name or ID) for this port: @@ -144,6 +149,7 @@ Set port properties .. code:: bash os port set + [--description ] [--fixed-ip subnet=,ip-address=] [--no-fixed-ip] [--device ] @@ -156,6 +162,10 @@ Set port properties [--name ] +.. option:: --description + + Description of this port + .. option:: --fixed-ip subnet=,ip-address= Desired IP and/or subnet (name or ID) for this port: -- cgit v1.2.1