Improved ARP interface to other app modules and changed SDNIP full-mesh paths between peers to use learned MAC addresses
diff --git a/src/main/java/net/onrc/onos/ofcontroller/bgproute/PathUpdate.java b/src/main/java/net/onrc/onos/ofcontroller/bgproute/PathUpdate.java
new file mode 100644
index 0000000..61d50a4
--- /dev/null
+++ b/src/main/java/net/onrc/onos/ofcontroller/bgproute/PathUpdate.java
@@ -0,0 +1,38 @@
+package net.onrc.onos.ofcontroller.bgproute;
+
+import java.net.InetAddress;
+
+/*
+ * A path is always assumed to be from all other interfaces (external-facing
+ * switchports) to the destination interface.
+ */
+
+public class PathUpdate {
+
+ //private Set<Interface> srcInterfaces;
+ private Interface dstInterface;
+ private InetAddress dstIpAddress;
+
+ public PathUpdate(//Collection<Interface> srcInterfaces,
+ Interface dstInterface, InetAddress dstIpAddress) {
+ this.dstInterface = dstInterface;
+ this.dstIpAddress = dstIpAddress;
+
+ //this.srcInterfaces = new HashSet<Interface>(srcInterfaces.size());
+ //for (Interface intf : srcInterfaces) {
+ // this.srcInterfaces.add(intf);
+ //}
+ }
+
+ //public Set<Interface> getSrcInterfaces() {
+ // return Collections.unmodifiableSet(srcInterfaces);
+ //}
+
+ public Interface getDstInterface() {
+ return dstInterface;
+ }
+
+ public InetAddress getDstIpAddress() {
+ return dstIpAddress;
+ }
+}