Update Doc to reflect new OSC Port commands

Neutron client is deprecated. Need to update all documentation
to reflect OSC Commands.

Depends-On: I08d2269950467a8972a0d0110ed61f5cc7f5ca45
Partially Implements: blueprint use-openstack-command

Change-Id: I2aefc57db1db4dda8256b7b013f7d5af0fe568d7
This commit is contained in:
Ankur Gupta 2016-12-06 10:08:32 -06:00
parent 3c8476e784
commit 5b3f8ea7c0

View File

@ -177,15 +177,16 @@ an IP address between two instances to enable fast data plane failover.
.. code-block:: console
$ neutron port-create net1 --allowed-address-pairs type=dict \
list=true mac_address=MAC_ADDRESS,ip_address=IP_CIDR
$ openstack port create port1 --allowed-address \
ip-address=<IP_CIDR>[,mac_address=<MAC_ADDRESS]
- Update a port by adding allowed address pairs:
.. code-block:: console
$ neutron port-update PORT_UUID --allowed-address-pairs type=dict \
list=true mac_address=MAC_ADDRESS,ip_address=IP_CIDR
$ openstack port set PORT_UUID --allowed-address \
ip-address=<IP_CIDR>[,mac_address=<MAC_ADDRESS]
Virtual-Private-Network-as-a-Service (VPNaaS)