NSX|P: Fix groups scope&tag condition for FWaaS

Backend format changed, and the membership criteria for FWaaS should
also be fixed.

Change-Id: I94941773b95d066e6079a8ed33c4d6e129afae99
This commit is contained in:
Adit Sarfaty 2019-03-21 09:13:36 +02:00
parent 7c00d47d40
commit 464d1a8d82
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class NsxpFwaasCallbacksV2(com_callbacks.NsxCommonv3FwaasCallbacksV2):
return group_id
def _create_network_group(self, domain_id, router_id, neutron_net_id):
scope_and_tag = "%s:%s" % ('os-neutron-net-id', neutron_net_id)
scope_and_tag = "%s|%s" % ('os-neutron-net-id', neutron_net_id)
tags = []
tags = nsxlib_utils.add_v3_tag(tags, ROUTER_FW_TAG, router_id)
expr = self.nsxpolicy.group.build_condition(