@@ -32,6 +32,7 @@ Create new network
3232 [--provider-segment < provider-segment> ]
3333 [--qos-policy < qos-policy> ]
3434 [--transparent-vlan | --no-transparent-vlan]
35+ [--tag < tag> | --no-tag]
3536 < name>
3637
3738.. option:: --project < project>
@@ -165,6 +166,18 @@ Create new network
165166
166167 *Network version 2 only*
167168
169+ .. option:: --tag <tag>
170+
171+ Tag to be added to the network (repeat option to set multiple tags)
172+
173+ *Network version 2 only*
174+
175+ .. option:: --no-tag
176+
177+ No tags associated with the network
178+
179+ *Network version 2 only*
180+
168181.. _network_create-name:
169182.. describe:: <name>
170183
@@ -206,6 +219,8 @@ List networks
206219 [--provider-physical-network <provider-physical-network>]
207220 [--provider-segment <provider-segment>]
208221 [--agent <agent-id>]
222+ [--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]]
223+ [--not-tags <tag>[,<tag>,...]] [--not-any-tags <tag>[,<tag>,...]]
209224
210225.. option:: --external
211226
@@ -297,6 +312,32 @@ List networks
297312
298313 List networks hosted by agent (ID only)
299314
315+ *Network version 2 only*
316+
317+ .. option:: --tags <tag>[,<tag>,...]
318+
319+ List networks which have all given tag(s)
320+
321+ *Network version 2 only*
322+
323+ .. option:: --any-tags <tag>[,<tag>,...]
324+
325+ List networks which have any given tag(s)
326+
327+ *Network version 2 only*
328+
329+ .. option:: --not-tags <tag>[,<tag>,...]
330+
331+ Exclude networks which have all given tag(s)
332+
333+ *Network version 2 only*
334+
335+ .. option:: --not-any-tags <tag>[,<tag>,...]
336+
337+ Exclude networks which have any given tag(s)
338+
339+ *Network version 2 only*
340+
300341network set
301342-----------
302343
@@ -318,6 +359,7 @@ Set network properties
318359 [--provider-physical-network <provider-physical-network>]
319360 [--provider-segment <provider-segment>]
320361 [--qos-policy <qos-policy> | --no-qos-policy]
362+ [--tag <tag>] [--no-tag]
321363 <network>
322364
323365.. option:: --name <name>
@@ -392,6 +434,15 @@ Set network properties
392434
393435 Remove the QoS policy attached to this network
394436
437+ .. option:: --tag <tag>
438+
439+ Tag to be added to the network (repeat option to set multiple tags)
440+
441+ .. option:: --no-tag
442+
443+ Clear tags associated with the network. Specify both --tag
444+ and --no-tag to overwrite current tags
445+
395446.. _network_set-network:
396447.. describe:: <network>
397448
@@ -412,3 +463,31 @@ Display network details
412463.. describe:: <network>
413464
414465 Network to display (name or ID)
466+
467+ network unset
468+ -------------
469+
470+ Unset network properties
471+
472+ *Network version 2 only*
473+
474+ .. program:: network unset
475+ .. code:: bash
476+
477+ openstack network unset
478+ [--tag <tag> | --all-tag]
479+ <network>
480+
481+ .. option:: --tag <tag>
482+
483+ Tag to be removed from the network
484+ (repeat option to remove multiple tags)
485+
486+ .. option:: --all-tag
487+
488+ Clear all tags associated with the network
489+
490+ .. _network_unset-network:
491+ .. describe:: <network>
492+
493+ Network to modify (name or ID)
0 commit comments