[ONOS-4426] Upgrade Vtn Module when access same network segment
Change-Id: Id0d00e9d0e93d1baf4ff20560469316fee5a3186
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 75df9b0..dc04a9a 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
@@ -20,8 +20,10 @@
import org.onlab.packet.MacAddress;
import org.onosproject.core.ApplicationId;
import org.onosproject.net.DeviceId;
+import org.onosproject.net.Port;
import org.onosproject.net.PortNumber;
import org.onosproject.net.flowobjective.Objective;
+import org.onosproject.net.flowobjective.Objective.Operation;
import org.onosproject.vtnrsc.SegmentationId;
/**
@@ -134,4 +136,16 @@
IpAddress dstIp, MacAddress dstmac,
SegmentationId actionVni,
Objective.Operation type);
+
+ /**
+ * Assemble the export port Arp Classifier table rules.
+ * Match: export port.
+ * Action: upload packet to controller.
+ *
+ * @param exportPort export port of ovs
+ * @param deviceId Device Id
+ * @param type the operation type of the flow rules
+ */
+ void programExportPortArpClassifierRules(Port exportPort, DeviceId deviceId,
+ Operation type);
}