From b38be94a5d82eb88d27c81e697152ad064854466 Mon Sep 17 00:00:00 2001 From: reedip Date: Wed, 20 Apr 2016 17:31:52 +0900 Subject: Introduce overwrite functionality in ``osc port set`` The overwrite functionality allows user to overwrite either the binding-profile or the fixed-ips of a specific port. Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915 partially-implements: blueprint allow-overwrite-set-options --- doc/source/command-objects/port.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index 4d7b95b4..49e68407 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -135,11 +135,13 @@ Set port properties .. code:: bash os port set - [--fixed-ip subnet=,ip-address= | --no-fixed-ip] + [--fixed-ip subnet=,ip-address=] + [--no-fixed-ip] [--device ] [--device-owner ] [--vnic-type ] - [--binding-profile | --no-binding-profile] + [--binding-profile ] + [--no-binding-profile] [--host ] [--enable | --disable] [--name ] @@ -153,7 +155,9 @@ Set port properties .. option:: --no-fixed-ip - Clear existing information of fixed IP addresses + Clear existing information of fixed IP addresses. + Specify both --fixed-ip and --no-fixed-ip + to overwrite the current fixed IP addresses. .. option:: --device @@ -177,7 +181,9 @@ Set port properties .. option:: --no-binding-profile - Clear existing information of binding:profile + Clear existing information of binding:profile. + Specify both --binding-profile and --no-binding-profile + to overwrite the current binding:profile information. .. option:: --host -- cgit v1.2.1