private void writeL2BridgeDomain( TenantId tenantId, L2BridgeDomain l2Bd, ReadWriteTransaction rwTx) { checkNotNull(l2Bd); L2BridgeDomainId l2BdId = l2Bd.getId(); rwTx.put( LogicalDatastoreType.CONFIGURATION, IidFactory.l2BridgeDomainIid(tenantId, l2BdId), l2Bd); }
private void writeL3Context(TenantId tenantId, L3Context l3Ct, ReadWriteTransaction rwTx) { checkNotNull(l3Ct); L3ContextId l3CtId = l3Ct.getId(); rwTx.put(LogicalDatastoreType.CONFIGURATION, IidFactory.l3ContextIid(tenantId, l3CtId), l3Ct); }