diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2016-03-11 15:42:17 -0600 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2016-03-17 21:00:26 +0000 |
| commit | aeef56818941a72cc10e96669ad6ff317461046f (patch) | |
| tree | e0b0a32b63b91c9269b814c946ebb557b8417aeb /doc/source/command-objects | |
| parent | 3737c5a842f727ad9d28fd10af67784efc6ab416 (diff) | |
| download | python-openstackclient-aeef56818941a72cc10e96669ad6ff317461046f.tar.gz | |
Fix options in port create/set
* --device-id should have been --device
* --host-id should have been --host
Old options are deprecated and retained for compatibility since they
appear in a release.
Closes-Bug: 1558677
Change-Id: Ic733523c8d57060f2cb5d420fdb1f7598e7d5e71
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/port.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index e9c09173..0ee6212b 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -15,11 +15,11 @@ Create new port os port create --network <network> [--fixed-ip subnet=<subnet>,ip-address=<ip-address>] - [--device-id <device-id>] + [--device <device-id>] [--device-owner <device-owner>] [--vnic-type <vnic-type>] [--binding-profile <binding-profile>] - [--host-id <host-id>] + [--host <host-id>] [--enable | --disable] [--mac-address <mac-address>] [--project <project> [--project-domain <project-domain>]] @@ -35,9 +35,9 @@ Create new port subnet=<subnet>,ip-address=<ip-address> (this option can be repeated) -.. option:: --device-id <device-id> +.. option:: --device <device-id> - Device ID of this port + Port device ID .. option:: --device-owner <device-owner> @@ -53,9 +53,9 @@ Create new port Custom data to be passed as binding:profile: <key>=<value> (this option can be repeated) -.. option:: --host-id <host-id> +.. option:: --host <host-id> - The ID of the host where the port is allocated + Allocate port on host ``<host-id>`` (ID only) .. option:: --enable |
