*
* @throws Exception
*/
@Test
public void testDeviceLearningFromArpResponseData() throws Exception {
ARP arp = (ARP)((Ethernet)this.testARPReplyPacket_2).getPayload();
long senderMac = Ethernet.toLong(arp.getSenderHardwareAddress());
long sourceMac =
Ethernet.toLong(((Ethernet)this.testARPReplyPacket_2)
.getSourceMACAddress());
Integer ipaddr = IPv4.toIPv4Address("192.168.1.1");
OFPacketIn packetIn = testARPReplyPacketIn_2;