From 38677f3bc1405776547e947edfe0e70a7666d37e Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Tue, 22 Oct 2019 16:26:20 +0300 Subject: [PATCH] Fix policy tier1 get_realized_id bug Change-Id: Ifc1cbacf541f8913732e51a6e33d9be63a7e09a2 --- vmware_nsxlib/v3/policy/core_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsxlib/v3/policy/core_resources.py b/vmware_nsxlib/v3/policy/core_resources.py index 5145086b..e2eb0b57 100644 --- a/vmware_nsxlib/v3/policy/core_resources.py +++ b/vmware_nsxlib/v3/policy/core_resources.py @@ -1227,7 +1227,7 @@ class NsxPolicyTier1Api(NsxPolicyResourceBase): return self._get_realized_id_using_search( self.get_path(tier1_id, tenant=tenant), self.nsx_api.logical_router.resource_type, - resource_def=tier1_id) + resource_def=tier1_def) return self._get_realized_id(tier1_def, entity_type=entity_type, realization_info=realization_info)