Modified IFloodligthModule to enable ArpHandler for Segment Routing
Modified ArpHandler.java to work with current version of HostManager

Change-Id: I649b14da8fff715cc99b34a813adb709c55ce220
diff --git a/src/main/java/net/onrc/onos/apps/segmentrouting/ArpHandler.java b/src/main/java/net/onrc/onos/apps/segmentrouting/ArpHandler.java
index c2cab8a..c98bde8 100644
--- a/src/main/java/net/onrc/onos/apps/segmentrouting/ArpHandler.java
+++ b/src/main/java/net/onrc/onos/apps/segmentrouting/ArpHandler.java
@@ -33,7 +33,6 @@
 import net.onrc.onos.core.packet.ARP;
 import net.onrc.onos.core.packet.Ethernet;
 import net.onrc.onos.core.packet.IPv4;
-import net.onrc.onos.core.topology.Host;
 import net.onrc.onos.core.topology.ITopologyService;
 import net.onrc.onos.core.topology.MutableTopology;
 import net.onrc.onos.core.topology.Port;
@@ -211,12 +210,14 @@
         byte[] destinationMacAddress = getMacAddressFromIpAddress(destinationAddress);
 
         // Check TopologyService
+        /*
         for (Host host: mutableTopology.getHosts()) {
             IPv4Address hostIpAddress = IPv4Address.of(host.getIpAddress());
             if (hostIpAddress != null && hostIpAddress.getInt() == destinationAddress) {
                 destinationMacAddress = host.getMacAddress().toBytes();
             }
         }
+        */
 
         // If MAC address is not known to the host, just return
         if (destinationMacAddress == null)
diff --git a/src/main/resources/META-INF/services/net.floodlightcontroller.core.module.IFloodlightModule b/src/main/resources/META-INF/services/net.floodlightcontroller.core.module.IFloodlightModule
index 8197724..5c61f6e 100644
--- a/src/main/resources/META-INF/services/net.floodlightcontroller.core.module.IFloodlightModule
+++ b/src/main/resources/META-INF/services/net.floodlightcontroller.core.module.IFloodlightModule
@@ -28,3 +28,4 @@
 net.onrc.onos.core.matchaction.MatchActionModule
 net.onrc.onos.core.flowmanager.FlowManagerModule
 net.onrc.onos.core.configmanager.NetworkConfigManager
+net.onrc.onos.apps.segmentrouting.ArpHandler