Merge "NSXv3: Add neutron-id tag to backend"
This commit is contained in:
commit
0532afbbbc
|
@ -89,9 +89,12 @@ def check_and_truncate(display_name):
|
|||
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>
|
||||
Add os-tid:<tenant-id>, os-api-version:<neutron-api-version>,
|
||||
neutron-id:<resource-id>
|
||||
"""
|
||||
return [{"scope": "os-tid",
|
||||
return [{"scope": "neutron-id",
|
||||
"tag": logical_entity.get("id")},
|
||||
{"scope": "os-tid",
|
||||
"tag": logical_entity.get("tenant_id")},
|
||||
{"scope": "os-api-version",
|
||||
"tag": version.version_info.release_string()}]
|
||||
|
|
Loading…
Reference in New Issue