Two fixes: 1) cpqd emulation of ofdpa pops off internal vlan before sending to controller
2) Arp handler does not need to send flowmod to switch as hostmanager listener is doing that
Change-Id: I5460aa36bcb3cfce3bc1887e304a63b2221495b9
diff --git a/src/main/java/org/onosproject/segmentrouting/ArpHandler.java b/src/main/java/org/onosproject/segmentrouting/ArpHandler.java
index 5132489..388e313 100644
--- a/src/main/java/org/onosproject/segmentrouting/ArpHandler.java
+++ b/src/main/java/org/onosproject/segmentrouting/ArpHandler.java
@@ -76,7 +76,7 @@
* hosts in the same subnet.
* For an ARP packet with broadcast destination MAC,
* some switches pipelines will send it to the controller due to table miss,
- * other swithches will flood the packets directly in the data plane without
+ * other switches will flood the packets directly in the data plane without
* packet in.
* We can deal with both cases.
*
@@ -92,10 +92,6 @@
DeviceId deviceId = connectPoint.deviceId();
byte[] senderMacAddressByte = arp.getSenderHardwareAddress();
Ip4Address hostIpAddress = Ip4Address.valueOf(arp.getSenderProtocolAddress());
-
- srManager.routingRulePopulator.populateIpRuleForHost(deviceId, hostIpAddress, MacAddress.
- valueOf(senderMacAddressByte), inPort);
-
if (arp.getOpCode() == ARP.OP_REQUEST) {
handleArpRequest(deviceId, connectPoint, ethernet);
} else {