InstanceIdentifier should not be used raw, this fixes trivial
offenders.
Change-Id: I9eff9e23a2f95e40dde757d5980da26e3dd5bd81
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
private void deleteOperNodeAndReleaseOwnership(final OvsdbConnectionInstance ovsdbConnectionInstance) {
ovsdbConnectionInstance.setHasDeviceOwnership(false);
- final InstanceIdentifier nodeIid = ovsdbConnectionInstance.getInstanceIdentifier();
+ final InstanceIdentifier<?> nodeIid = ovsdbConnectionInstance.getInstanceIdentifier();
//remove the node from oper only if it has ownership
txInvoker.invoke(new OvsdbNodeRemoveCommand(ovsdbConnectionInstance, null, null) {
OvsdbTerminationPointAugmentation terminationPoint = entry.getValue();
LOG.debug("Received request to create termination point {}",
terminationPoint.getName());
- InstanceIdentifier terminationPointIid = entry.getKey();
+ InstanceIdentifier<?> terminationPointIid = entry.getKey();
Optional<TerminationPoint> terminationPointOptional =
state.getBridgeTerminationPoint(terminationPointIid);
if (!terminationPointOptional.isPresent()) {