Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
testcase results:
pradeepk@pox:~/adv-net-samples/sdn/pox$ ./pox.py --verbose BBN_SimpleL2Learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
DEBUG:core:POX 0.2.0 (carp) going up...
DEBUG:core:Running on CPython (2.7.6/Mar 22 2014 22:59:56)
DEBUG:core:Platform is Linux-3.13.0-33-generic-x86_64-with-Ubuntu-14.04-trusty
INFO:core:POX 0.2.0 (carp) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
INFO:openflow.of_01:[ea-5d-90-6f-1d-4f 1] connected
DEBUG:BBN_SimpleL2Learning:Connection [ea-5d-90-6f-1d-4f 1]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet destination port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet packet type: IP
DEBUG:packet_details:IP source address: 192.168.10.1
DEBUG:packet_details:IP destination address: 192.168.10.2
DEBUG:packet_details:Transport protocol is: UDP
DEBUG:packet_details:UDP source port number: 54289
DEBUG:packet_details:UDP destination port number: 6000
DEBUG:packet_details:======Packet details end========
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet destination port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet packet type: ARP
DEBUG:packet_details:======Packet details end========
DEBUG:BBN_SimpleL2Learning:installing flow for 02:ef:cb:95:d1:15.2 -> 02:96:e5:66:68:e2.[3]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet destination port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet packet type: ARP
DEBUG:packet_details:======Packet details end========
DEBUG:BBN_SimpleL2Learning:installing flow for 02:96:e5:66:68:e2.3 -> 02:ef:cb:95:d1:15.[2]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet destination port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet packet type: IP
DEBUG:packet_details:IP source address: 192.168.10.1
DEBUG:packet_details:IP destination address: 192.168.10.2
DEBUG:packet_details:Transport protocol is: TCP
DEBUG:packet_details:TCP source port number: 44059
DEBUG:packet_details:TCP destination port number: 6000
DEBUG:packet_details:======Packet details end========
DEBUG:BBN_SimpleL2Learning:installing flow for 02:ef:cb:95:d1:15.2 -> 02:96:e5:66:68:e2.[3]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet destination port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet packet type: IP
DEBUG:packet_details:IP source address: 192.168.10.2
DEBUG:packet_details:IP destination address: 192.168.10.1
DEBUG:packet_details:Transport protocol is: TCP
DEBUG:packet_details:TCP source port number: 6000
DEBUG:packet_details:TCP destination port number: 44059
DEBUG:packet_details:======Packet details end========
DEBUG:BBN_SimpleL2Learning:installing flow for 02:ef:cb:95:d1:15.2 -> 02:96:e5:66:68:e2.[3]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet destination port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet packet type: ARP
DEBUG:packet_details:======Packet details end========
DEBUG:BBN_SimpleL2Learning:installing flow for 02:96:e5:66:68:e2.3 -> 02:ef:cb:95:d1:15.[2]
DEBUG:packet_details:======Packet details start=======
DEBUG:packet_details:Ethernet source port: 02:96:e5:66:68:e2
DEBUG:packet_details:Ethernet destination port: 02:ef:cb:95:d1:15
DEBUG:packet_details:Ethernet packet type: ARP
DEBUG:packet_details:======Packet details end========