Add support to delete the ports

This patch adds "port delete" command to osc.

Change-Id: I5c92b2f573249df4e6551506584ccafb4ff290b2
Implements: blueprint neutron-client
Partial-Bug: #1519909
This commit is contained in:
SaiKiran
2015-12-22 19:41:15 +05:30
parent 86fcd67468
commit 3168e2297d
7 changed files with 200 additions and 0 deletions
doc/source
command-objects
commands.rst
openstackclient
network
tests
releasenotes/notes
setup.cfg

@@ -0,0 +1,21 @@
====
port
====
Network v2
port delete
-----------
Delete port(s)
.. program:: port delete
.. code:: bash
os port delete
<port> [<port> ...]
.. _port_delete-port:
.. describe:: <port>
Port(s) to delete (name or ID)

@@ -101,6 +101,7 @@ referring to both Compute and Volume quotas.
* ``network``: (**Network**) - a virtual network for connecting servers and other resources
* ``object``: (**Object Storage**) a single file in the Object Storage
* ``policy``: (**Identity**) determines authorization
* ``port``: (**Network**) - a virtual port for connecting servers and other resources to a network
* ``project``: (**Identity**) owns a group of resources
* ``quota``: (**Compute**, **Volume**) resource usage restrictions
* ``region``: (**Identity**) a subset of an OpenStack deployment