Change-Id: I6fecda39ea79a522651f2240b19fbe718c51c796
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
public static OvsdbBridgeAugmentation getBridge(Node node, String name) {
OvsdbBridgeAugmentation bridge = node.getAugmentation(OvsdbBridgeAugmentation.class);
if (bridge != null) {
- if (!bridge.getBridgeName().equals(name)) {
+ if (!bridge.getBridgeName().getValue().equals(name)) {
bridge = null;
}
}
private void doNeutronPortDeleted(NeutronPort neutronPort) {
logger.debug("Handling neutron delete port " + neutronPort);
neutronL3Adapter.handleNeutronPortEvent(neutronPort, Action.DELETE);
-
+ //TODO: Need to implement getNodes
List<Node> nodes = connectionService.getNodes();
for (Node node : nodes) {
try {