diff options
| author | Aradhana Singh <aradhana1.singh> | 2016-10-06 21:51:01 +0000 |
|---|---|---|
| committer | Aradhana Singh <aradhana1.singh@intel.com> | 2016-10-17 22:21:34 +0000 |
| commit | c99ec284db181c7f9c72ce1163ba1ea45fe369d0 (patch) | |
| tree | 1eabccbbeee1928c4248f115a613e4d174d50ca3 /doc/source/command-objects | |
| parent | 0f02f7ea1ed285ca08ad5f1423fdf0671a3b9920 (diff) | |
| download | python-openstackclient-c99ec284db181c7f9c72ce1163ba1ea45fe369d0.tar.gz | |
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
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/port.rst | 10 |
1 files changed, 10 insertions, 0 deletions
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 <network> + [--description <description>] [--fixed-ip subnet=<subnet>,ip-address=<ip-address>] [--device <device-id>] [--device-owner <device-owner>] @@ -33,6 +34,10 @@ Create new port Network this port belongs to (name or ID) +.. option:: --description <description> + + Description of this port + .. option:: --fixed-ip subnet=<subnet>,ip-address=<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 <description>] [--fixed-ip subnet=<subnet>,ip-address=<ip-address>] [--no-fixed-ip] [--device <device-id>] @@ -156,6 +162,10 @@ Set port properties [--name <name>] <port> +.. option:: --description <description> + + Description of this port + .. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address> Desired IP and/or subnet (name or ID) for this port: |
