Hello,

I'm trying to extract the dl_vlan value from packets on a trunk port. When I
plug my computer into the trunk port and run tcpdump I see the correct
802.1Q values. Though when I attach this port to my openflow switch (running
the pronto firmware) I can't get the correct values at my controller.

In my controller I'm running these few lines of code to print out what's in
the packet.

test = extract_flow(packet)
print test.keys()
print test.values()

>From this: I'm getting the following output

['dl_type', 'nw_dst', 'dl_vlan_pcp', 'dl_src', 'nw_proto', 'nw_tos',
'tp_dst', 'tp_src', 'dl_dst', 'dl_vlan', 'nw_src']
[2048, 4294967295, 0, array('B', [0, 27, 177, 2, 100, 167]), 17, 0, 698,
698, array('B', [255, 255, 255, 255, 255, 255]), 65535, 2189371010]

I'm getting 65535 for every packet and that is not correct from what I'm
seeing with tcpdump and not what I'm expecting.

Can someone point out where I'm going wrong.

Thanks,

Aaron

-- 
Aaron O. Rosen
Masters Student - Network Communication
306B Fluor Daniel
843.425.9777
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to