diff --git a/vmware_nsx/neutron/plugins/vmware/common/utils.py b/vmware_nsx/neutron/plugins/vmware/common/utils.py index db65b20d46..7044ef948e 100644 --- a/vmware_nsx/neutron/plugins/vmware/common/utils.py +++ b/vmware_nsx/neutron/plugins/vmware/common/utils.py @@ -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:, os-api-version: + Add os-tid:, os-api-version:, + neutron-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()}]