ovsdbNode = UnimgrUtils.createOvsdbNode(dataBroker,
uni);
LOG.info("Could not retrieve the OVSDB node,"
- + "created a new one: {}", ovsdbNode.getNodeId());
+ + " created a new one: {}", ovsdbNode.getNodeId());
UnimgrUtils.updateUniNode(LogicalDatastoreType.CONFIGURATION,
uniKey,
uni,
ovsdbIid);
if (optionalOvsdbNode.isPresent()) {
InstanceIdentifier<Node> uniIid =
- UnimgrMapper.createUniIid(dataBroker,
- uniAugmentation.getIpAddress());
+ UnimgrMapper.getUniIid(dataBroker,
+ uniAugmentation.getIpAddress(),
+ LogicalDatastoreType.CONFIGURATION);
UnimgrUtils.createBridgeNode(dataBroker,
ovsdbIid,
uniAugmentation,
.getConnectionInfo()
.getRemoteIp()
.equals(uniAugmentation.getIpAddress())) {
- InstanceIdentifier<Node> uniIid = UnimgrMapper.createUniIid(dataBroker,
- uniAugmentation.getIpAddress());
+ InstanceIdentifier<Node> uniIid = UnimgrMapper.getUniIid(dataBroker,
+ uniAugmentation.getIpAddress(),
+ LogicalDatastoreType.CONFIGURATION);
UnimgrUtils.createBridgeNode(dataBroker,
ovsdbIid,
uniAugmentation,