import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class SouthboundMapper {
+public final class SouthboundMapper {
private SouthboundMapper() { }
bridgeNode, updatedControllerRows);
final List<ControllerEntry> controllerEntriesCreated = new ArrayList<>();
final OvsdbBridgeAugmentation ovsdbBridgeAugmentation =
- bridgeNode.getAugmentation(OvsdbBridgeAugmentation.class);
+ bridgeNode.augmentation(OvsdbBridgeAugmentation.class);
if (ovsdbBridgeAugmentation == null) {
return controllerEntriesCreated;
}
ovsdbNode, updatedManagerRows);
final List<ManagerEntry> managerEntriesCreated = new ArrayList<>();
final OvsdbNodeAugmentation ovsdbNodeAugmentation =
- ovsdbNode.getAugmentation(OvsdbNodeAugmentation.class);
+ ovsdbNode.augmentation(OvsdbNodeAugmentation.class);
if (ovsdbNodeAugmentation == null) {
return managerEntriesCreated;
}
if (terminationPoints != null && !terminationPoints.isEmpty()) {
for (TerminationPoint tp : terminationPoints) {
OvsdbTerminationPointAugmentation ovsdbTerminationPointAugmentation =
- tp.getAugmentation(OvsdbTerminationPointAugmentation.class);
+ tp.augmentation(OvsdbTerminationPointAugmentation.class);
if (ovsdbTerminationPointAugmentation != null) {
final InstanceIdentifier<OvsdbTerminationPointAugmentation> tpIid =
bridgeNodeIid