Signed-off-by: Suchi Raman <suchi.raman@plexxi.com>
* this flow along. Program the flow. */
byte [] mac = ((HostNodeConnector) host1).getDataLayerAddressBytes();
- NodeConnector dst_connector = l2agent.lookupMacAddress(mac);
- actions.add(new Output(dst_connector));
+ /* Tbd: use hosttracker for this. */
+ // NodeConnector dst_connector = l2agent.lookupMacAddress(mac);
+ // actions.add(new Output(dst_connector));
}
return new Status(StatusCode.SUCCESS);
}
}
return PacketResult.IGNORED;
}
-
- /*
- * Return MAC adderss to port
- */
- public NodeConnector lookupMacAddress(byte[] macAddress) {
- NodeConnector dst_connector;
- return this.mac_to_port.get(macAddress);
- }
}