File: network-trunk.rst

package info (click to toggle)
python-neutronclient 1%3A6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,856 kB
  • ctags: 3,289
  • sloc: python: 19,731; sh: 274; makefile: 21
file content (181 lines) | stat: -rw-r--r-- 3,713 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
=============
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

network subport list
--------------------

List all subports for a given network trunk

.. program:: network subport list
.. code:: bash

    os network subport list
        --trunk <trunk>

.. option:: --trunk <trunk>

    List subports belonging to this trunk (name or ID) (required)

network trunk create
--------------------

Create a network trunk for a given project

.. program:: network trunk create
.. code:: bash

    os network trunk create
        --parent-port <parent-port>
        [--subport <port=,segmentation-type=,segmentation-id=>]
        [--enable | --disable]
        [--project <project> [--project-domain <project-domain>]]
        [--description <description>]
        <name>

.. option:: --parent-port <parent-port>

    Parent port belonging to this trunk (name or ID) (required)

.. option:: --subport <port=,segmentation-type=,segmentation-id=>

    Subport to add. Subport is of form 'port=<name or ID>,segmentation-type=,segmentation-ID='
    (--subport) option can be repeated

.. option:: --enable

    Enable trunk (default)

.. option:: --disable

    Disable trunk

.. option:: --project <project>

    Owner's project (name or ID)

.. option:: --project-domain <project-domain>

    Domain the project belongs to (name or ID).
    This can be used in case collisions between project names exist.

.. option:: --description <description>

    A description of the trunk.

network trunk delete
--------------------

Delete a given network trunk

.. program:: network trunk delete
.. code:: bash

    os network trunk delete
        <trunk> [<trunk> ...]

.. _network_trunk_delete-trunk:
.. describe:: <trunk>

    Trunk(s) to delete (name or ID)

network trunk list
------------------

List all network trunks

.. program:: network trunk list
.. code:: bash

    os network trunk list
        [--long]

.. option:: --long

    List additional fields in output

network trunk set
-----------------

Set network trunk properties

.. program:: network trunk set
.. code:: bash

    os network trunk set
        [--name <name>]
        [--description <description>]
        [--subport <port=,segmentation-type=,segmentation-id=>]
        [--enable | --disable]
        <trunk>

.. option:: --name <name>

    Set trunk name

.. option:: --description <description>

    A description of the trunk.

.. option:: --subport <port=,segmentation-type=,segmentation-id=>

    Subport to add. Subport is of form 'port=<name or ID>,segmentation-type=,segmentation-ID='
    (--subport) option can be repeated

.. option:: --enable

    Enable trunk

.. option:: --disable

    Disable trunk

.. _network_trunk_set-trunk:
.. describe:: <trunk>

    Trunk to modify (name or ID)

network trunk show
------------------

Show information of a given network trunk

.. program:: network trunk show
.. code:: bash

    os network trunk show
        <trunk>

.. _network_trunk_show-trunk:
.. describe:: <trunk>

    Trunk to display (name or ID)

network trunk unset
-------------------

Unset subports from a given network trunk

.. program:: network trunk unset
.. code:: bash

    os network trunk unset
        --subport <subport>
        <trunk>

.. option:: --subport <subport>

    Subport to delete (name or ID of the port) (required)
    (--subport) option can be repeated

.. _network_trunk_unset-trunk:
.. describe:: <trunk>

    Unset subports from this trunk (name or ID)