Merge "Add resource_type for NsxPolicyLoadBalancerSourceIpPersistenceProfileApi update"

This commit is contained in:
Zuul 2022-06-30 01:56:39 +00:00 committed by Gerrit Code Review
commit bf42710d11
1 changed files with 2 additions and 0 deletions

View File

@ -444,6 +444,7 @@ class NsxPolicyLoadBalancerSourceIpPersistenceProfileApi(
if res.get('resource_type') == self.entry_def.resource_type()]
def update(self, persistence_profile_id,
resource_type=IGNORE,
name=IGNORE,
description=IGNORE,
tags=IGNORE,
@ -454,6 +455,7 @@ class NsxPolicyLoadBalancerSourceIpPersistenceProfileApi(
tenant=constants.POLICY_INFRA_TENANT):
self._update(
persistence_profile_id=persistence_profile_id,
resource_type=resource_type,
name=name,
description=description,
tags=tags,