Add resource_type for NsxPolicyLoadBalancerSourceIpPersistenceProfileApi update

Change-Id: I538ac689c262f74667ef896b1c77a9f658c34687
(cherry picked from commit ffaa2fbb6c)
This commit is contained in:
Tao Zou 2022-06-24 15:18:57 +08:00 committed by Salvatore Orlando
parent 65ad08c6fa
commit 6f920e832b
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,