Did porting of PROXYARP and Forwarding to the new-datamodel branch.
Change-Id: Ibbc46e20e31627daf68149b7cb31b055d3441eaf
diff --git a/src/main/java/net/onrc/onos/ofcontroller/proxyarp/SinglePacketOutNotification.java b/src/main/java/net/onrc/onos/ofcontroller/proxyarp/SinglePacketOutNotification.java
index ab9a9b5..62d8086 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/proxyarp/SinglePacketOutNotification.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/proxyarp/SinglePacketOutNotification.java
@@ -1,6 +1,6 @@
package net.onrc.onos.ofcontroller.proxyarp;
-import java.net.InetAddress;
+
// TODO This class is too generic to be handled by ProxyArpService.
/**
@@ -10,7 +10,7 @@
private static final long serialVersionUID = 1L;
- private final InetAddress address;
+ private final int address;
private final long outSwitch;
private final short outPort;
@@ -21,7 +21,7 @@
* @param outSwitch the dpid of the switch to send the packet on
* @param outPort the port number of the port to send the packet out
*/
- public SinglePacketOutNotification(byte[] packet, InetAddress address,
+ public SinglePacketOutNotification(byte[] packet, int address,
long outSwitch, short outPort) {
super(packet);
@@ -51,7 +51,7 @@
* @return the target IP address for ARP packets, or null if the packet is
* not an ARP packet
*/
- public InetAddress getTargetAddress() {
+ public int getTargetAddress() {
return address;
}
}