NSX|V3: fix exclude list initialization

Ensure that the correct class is onvoked.

Change-Id: Ifdd103f8c9a6fbfb21d91dd69a161370e127c0b2
This commit is contained in:
Gary Kotton
2017-04-10 13:34:51 +03:00
parent 6c45a3583e
commit 6bca0eeea0

View File

@@ -347,7 +347,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
tags=self.nsxlib.build_v3_api_version_tag(),
membership_criteria=membership_criteria)
# Add this NSGroup to NSX Exclusion List.
self.nsxlib.add_member_to_fw_exclude_list(
self.nsxlib.firewall_section.add_member_to_fw_exclude_list(
nsgroup['id'], nsxlib_consts.NSGROUP)
return self._get_excluded_port_nsgroup()