The External EPG isn't created because the tenant
for it doesn't yet exist. This fixes that by adding
the true flag to the put, which causes the parent
node to be created.
Change-Id: I3eae011e0337dc191f070ef40433b24bdbbeff8e
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
.setIntraGroupPolicy(IntraGroupPolicy.RequireContract)
.build();
rwTx.put(LogicalDatastoreType.CONFIGURATION,
- IidFactory.endpointGroupIid(tenantId, MappingUtils.EPG_EXTERNAL_ID), epgExternal);
+ IidFactory.endpointGroupIid(tenantId, MappingUtils.EPG_EXTERNAL_ID), epgExternal, true);
}
}