Renaming a couple of match-action matches
Adding an interface for OF13 switches
Change-Id: Id3cff30fb61bc453fbf4bf50de8f561444f28a8a
diff --git a/src/main/java/net/onrc/onos/core/matchaction/match/Ipv4Match.java b/src/main/java/net/onrc/onos/core/matchaction/match/Ipv4Match.java
new file mode 100644
index 0000000..5ed8c3a
--- /dev/null
+++ b/src/main/java/net/onrc/onos/core/matchaction/match/Ipv4Match.java
@@ -0,0 +1,17 @@
+package net.onrc.onos.core.matchaction.match;
+
+import net.onrc.onos.core.util.IPv4Net;
+
+public class Ipv4Match implements Match {
+
+ IPv4Net dstIp;
+
+ public Ipv4Match(String ipAddressSlash) {
+ this.dstIp = new IPv4Net(ipAddressSlash);
+ }
+
+ public IPv4Net getDestination() {
+ return dstIp;
+ }
+
+}