Merge "Add neutron_version tag to NSX entities"
This commit is contained in:
commit
f5da02524a
@ -81,10 +81,7 @@ def build_v3_tags_payload(logical_entity):
|
||||
Construct the tags payload that will be pushed to NSX-v3
|
||||
Add os-tid:<tenant-id>, os-api-version:<neutron-api-version>
|
||||
"""
|
||||
tags = []
|
||||
tags.append({
|
||||
"scope": "os-tid",
|
||||
"tag": logical_entity.get("tenant_id")
|
||||
})
|
||||
#TODO(abhide): Add API version to tags
|
||||
return tags
|
||||
return [{"scope": "os-tid",
|
||||
"tag": logical_entity.get("tenant_id")},
|
||||
{"scope": "os-api-version",
|
||||
"tag": version.version_info.release_string()}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user