From 230d38fb4ca0235706a9cd7617628b84413075b7 Mon Sep 17 00:00:00 2001 From: reedip Date: Thu, 7 Apr 2016 15:22:11 +0900 Subject: Add command to unset information from ports This patch introduces the ``port unset`` command to clear the fixed-ip and binding:profile information from the ports. Implements: blueprint network-property-unset Change-Id: I9dba309234105af477e7618a8a437b7fa3b13cd7 --- doc/source/command-objects/port.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index 9d93ee62..4d7b95b4 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -215,3 +215,32 @@ Display port details .. describe:: Port to display (name or ID) + +port unset +---------- + +Unset port properties + +.. program:: port unset +.. code:: bash + + os port unset + [--fixed-ip subnet=,ip-address= [...]] + [--binding-profile [...]] + + +.. option:: --fixed-ip subnet=,ip-address= + + Desired IP and/or subnet (name or ID) which should be removed + from this port: subnet=,ip-address= + (repeat option to unset multiple fixed IP addresses) + +.. option:: --binding-profile + + Desired key which should be removed from binding-profile + (repeat option to unset multiple binding:profile data) + +.. _port_unset-port: +.. describe:: + + Port to modify (name or ID) -- cgit v1.2.1