summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorSaiKiran <saikiranveeravarapu@gmail.com>2015-12-22 19:41:15 +0530
committerSaiKiran <saikiranveeravarapu@gmail.com>2016-01-20 10:29:16 +0530
commit3168e2297d0b48c240b22fb6d8c1b7d05def1e6b (patch)
tree268f511d17021d5dc1bf7e6ba1afa594d8e40326 /doc/source
parent86fcd67468708a1edd23f3ff6eb852b43bc618bd (diff)
downloadpython-openstackclient-3168e2297d0b48c240b22fb6d8c1b7d05def1e6b.tar.gz
Add support to delete the ports
This patch adds "port delete" command to osc. Change-Id: I5c92b2f573249df4e6551506584ccafb4ff290b2 Implements: blueprint neutron-client Partial-Bug: #1519909
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/command-objects/port.rst21
-rw-r--r--doc/source/commands.rst1
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
new file mode 100644
index 00000000..78677332
--- /dev/null
+++ b/doc/source/command-objects/port.rst
@@ -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)
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index fc54c2ed..f7e8b444 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -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