[apic-mapping] single_tenant should not kick in for preexisting obj
Partial-Bug: 1637278
Change-Id: I438837d322acd57d10a909a0323c4dace915dabb
(cherry picked from commit f739b5b65d
)
This commit is contained in:
parent
d4adb374f0
commit
3cc269092f
|
@ -2539,7 +2539,8 @@ class ApicMappingDriver(api.ResourceMappingDriver,
|
|||
raise SharedAttributeUpdateNotSupportedOnApic(type=type)
|
||||
|
||||
def _tenant_by_sharing_policy(self, object):
|
||||
if self.single_tenant_mode:
|
||||
if self.single_tenant_mode and not self.name_mapper._is_apic_reference(
|
||||
object):
|
||||
return self.single_tenant_name
|
||||
|
||||
if object.get('reuse_bd'):
|
||||
|
|
Loading…
Reference in New Issue