diff options
| author | yanpuqing <yanpq@awcloud.com> | 2018-06-13 05:21:53 -0400 |
|---|---|---|
| committer | Lajos Katona <lajos.katona@ericsson.com> | 2018-08-21 16:24:51 +0200 |
| commit | 3012ab4bb8db0a6ea7a0cace6f1d2e2e3685b903 (patch) | |
| tree | e0830314da790ea3eb19ea35caab3cc7e631babc /doc/source/cli/command-objects | |
| parent | 814ffb2a6f22aed640ba6adad62c1288f917b09a (diff) | |
| download | python-openstackclient-3012ab4bb8db0a6ea7a0cace6f1d2e2e3685b903.tar.gz | |
Do not require port argument when updating floating IP
When setting floating ip other properties, port argument is
force to use.
The patch modifies the command, when setting floating ip other
properties, like tags, no need port argument.
Change-Id: I908712c8913f32d3dd5fdfefe7347277d72f66de
Story: 1751431
Task: 13865
Closes-Bug: #1778666
(cherry picked from commit 402c9a21b347509520be206e28ee7d0ef4004b92)
Small changes due to changes in tag handling and how unit tests are
working.
Conflicts:
doc/source/cli/command-objects/floating-ip.rst
openstackclient/network/v2/floating_ip.py
openstackclient/tests/unit/network/v2/test_floating_ip_network.py
Diffstat (limited to 'doc/source/cli/command-objects')
| -rw-r--r-- | doc/source/cli/command-objects/floating-ip.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cli/command-objects/floating-ip.rst b/doc/source/cli/command-objects/floating-ip.rst index d9ed2307..f67287ba 100644 --- a/doc/source/cli/command-objects/floating-ip.rst +++ b/doc/source/cli/command-objects/floating-ip.rst @@ -159,14 +159,14 @@ Set floating IP properties .. code:: bash openstack floating ip set - --port <port> + [--port <port>] [--fixed-ip-address <ip-address>] [--qos-policy <qos-policy> | --no-qos-policy] <floating-ip> .. option:: --port <port> - Assocaite the floating IP with port (name or ID) + Associate the floating IP with port (name or ID) .. option:: --fixed-ip-address <ip-address> @@ -208,8 +208,8 @@ Unset floating IP Properties .. code:: bash openstack floating ip unset - --port - --qos-policy + [--port] + [--qos-policy] <floating-ip> .. option:: --port |
