summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorelajkat <lajos.katona@est.tech>2023-01-06 09:10:00 +0100
committerelajkat <lajos.katona@est.tech>2023-01-16 14:07:55 +0100
commit7f1c21b27aafacbf041d48d8b042901032310d5e (patch)
treecef144a58fb8c21cdcfb35c0230221de8fc9984b /doc/source
parenta03b2352d941cf283f5519c1dc46929550ce373a (diff)
downloadpython-openstackclient-7f1c21b27aafacbf041d48d8b042901032310d5e.tar.gz
Move network trunk commands from python-neutronclient
Network trunk commands originally were added to python-neutronclient, although we can long consider these operations core Networking operations. This patch is not a blind copy but also changes the original code to use openstacksdk python bindings instead of the binding code in python-neutronclient as that is already deprecated. Change-Id: Ic4bc35c296a95d5dae92e9fc1cab3a3fa8f103cd Related-Bug: #1999774
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/command-objects/network-trunk.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/network-trunk.rst b/doc/source/cli/command-objects/network-trunk.rst
new file mode 100644
index 00000000..98fd4b0c
--- /dev/null
+++ b/doc/source/cli/command-objects/network-trunk.rst
@@ -0,0 +1,16 @@
+=============
+network trunk
+=============
+
+A **network trunk** is a container to group logical ports from different
+networks and provide a single trunked vNIC for servers. It consists of
+one parent port which is a regular VIF and multiple subports which allow
+the server to connect to more networks.
+
+Network v2
+
+.. autoprogram-cliff:: openstack.network.v2
+ :command: network subport list
+
+.. autoprogram-cliff:: openstack.network.v2
+ :command: network trunk *