[apic-mapping] single_tenant should not kick in for preexisting obj
Partial-Bug: 1637278 Change-Id: I438837d322acd57d10a909a0323c4dace915dabb
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user