Supports adding tags for port, router, subnet, subnetpool

Neutron supports adding tags for several resources:
network, port, subnet, subnetpool, router,
but neutronclient only support to add tags for network,
support for others .

Change-Id: Iae8da2fa0e18e14ba27ce5232db8da5fe6eb0b86
Closes-Bug: #1676697
This commit is contained in:
huangtianhua 2017-03-28 10:48:33 +08:00 committed by Akihiro Motoki
parent bc56657633
commit fbef092b6f
2 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@ from neutronclient.neutron import v2_0 as neutronv20
# List of resources can be set tag
TAG_RESOURCES = ['network']
TAG_RESOURCES = ['network', 'subnet', 'port', 'router', 'subnetpool']
def _convert_resource_args(client, parsed_args):

View File

@ -0,0 +1,4 @@
---
features:
- Tag operation for subnet, port, subnetpool and router resources
are now supported.