summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-09-18 01:41:32 +0000
committerDean Troyer <dtroyer@gmail.com>2017-09-29 18:49:22 +0000
commitde23ab8d75fe89c164b3b084c53f01c25b9040ca (patch)
tree08d3b1412a66d1be07b002178cf2bc09de84de22 /doc/source/cli/command-objects
parenta452c9d82566db6c09419ce2e5c855d51e2631e1 (diff)
downloadpython-openstackclient-de23ab8d75fe89c164b3b084c53f01c25b9040ca.tar.gz
Support creating unaddress neutron port
Introduce an option '--no-fixed-ip' on port create command. If this option is specified and '--fixed-ip' is unspecified, OSC will send a request to neutron with 'fixed_ips' as an empty list, which will create an unaddress neutron port. Note: The use cases of unaddress port was outlined in: https://specs.openstack.org/openstack/neutron-specs/specs/liberty/unaddressed-port.html (dtroyer: add Depends-On for Zuul v3 test) Depends-On: I39e8e49243ab0bda631600715c971c55a34e2fd9 Change-Id: Ibe38598acbbcd0d353c952fc2a6fa67780762151 Closes-Bug: #1717829
Diffstat (limited to 'doc/source/cli/command-objects')
-rw-r--r--doc/source/cli/command-objects/port.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/cli/command-objects/port.rst b/doc/source/cli/command-objects/port.rst
index c2da09b3..cf29bb2c 100644
--- a/doc/source/cli/command-objects/port.rst
+++ b/doc/source/cli/command-objects/port.rst
@@ -19,7 +19,7 @@ Create new port
openstack port create
--network <network>
[--description <description>]
- [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address> | --no-fixed-ip]
[--device <device-id>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>]
@@ -50,6 +50,10 @@ Create new port
subnet=<subnet>,ip-address=<ip-address>
(repeat option to set multiple fixed IP addresses)
+.. option:: --no-fixed-ip
+
+ No IP or subnet for this port
+
.. option:: --device <device-id>
Port device ID