[ONOS-4502]Fix the bug about the different tenant and the same subnet.With different tenants and the same subnets, only one of the subnets can ping external network well.
Change-Id: I2ad2c100e933e6c22a7e728f8991967d17ede4c9
diff --git a/apps/vtn/vtnmgr/src/main/java/org/onosproject/vtn/table/ClassifierService.java b/apps/vtn/vtnmgr/src/main/java/org/onosproject/vtn/table/ClassifierService.java
index fffa2fb..75df9b0 100644
--- a/apps/vtn/vtnmgr/src/main/java/org/onosproject/vtn/table/ClassifierService.java
+++ b/apps/vtn/vtnmgr/src/main/java/org/onosproject/vtn/table/ClassifierService.java
@@ -104,6 +104,21 @@
Objective.Operation type);
/**
+ * Assemble the Arp Classifier table rules.
+ * Match: arp type and destination ip.
+ * Action: set vnid and go to ARP Table(10).
+ *
+ * @param deviceId Device Id
+ * @param inPort the ingress port of the host
+ * @param dstIp source gateway ip
+ * @param actionVni the vni of the source network (l2vni)
+ * @param type the operation type of the flow rules
+ */
+ void programArpClassifierRules(DeviceId deviceId, PortNumber inPort,
+ IpAddress dstIp, SegmentationId actionVni,
+ Objective.Operation type);
+
+ /**
* Assemble the Userdata Classifier table rules.
* Match: subnet ip prefix and destination ip.
* Action: add flow rule to specific ip for userdata.