Topology topology = read(LogicalDatastoreType.OPERATIONAL, path);
return topology;
}
+
+ public static String getDataPathId(Node node) {
+ return (node.getAugmentation(OvsdbBridgeAugmentation.class).getDatapathId().getValue());
+ }
+
+ public static String getBridgeName(Node node) {
+ return (node.getAugmentation(OvsdbBridgeAugmentation.class).getBridgeName().getValue());
+ }
}