Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STS doesn't work with POX's topo_proactive module #28

Open
colin-scott opened this issue May 12, 2014 · 1 comment
Open

STS doesn't work with POX's topo_proactive module #28

colin-scott opened this issue May 12, 2014 · 1 comment
Labels

Comments

@colin-scott
Copy link
Member

Something is wrong with the way we're processing Openflow messages, which causes topo_proactive to not install routes as expected. This particular problem be indicative of deeper problems in STS.

Details:

  • Need to set up STS hosts to use the IP addresses POX expects (configurable in config file)
  • It works on mininet with just ARP
  • Need to instrument our dart_pox to see what ofp packets are recieved
  • Maybe try ARP reply -> ICMP ping?

POX console output when running with STS:

POX 0.3.0 (dart) / Copyright 2011-2013 James McCauley, et al.
DEBUG:core:POX 0.3.0 (dart) going up...
DEBUG:core:Running on CPython (2.7.3/Sep 26 2012 21:51:14)
DEBUG:core:Platform is Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
INFO:core:POX 0.3.0 (dart) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
INFO:openflow.of_01:[None 1] closed
INFO:openflow.of_01:[None 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_hello'>
INFO:openflow.of_01:[None 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_features_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] connected
DEBUG:openflow.discovery:Installing flow for 00-00-00-00-00-03
DEBUG:f.t_p.00-00-00-00-00-03:Connect [00-00-00-00-00-03 2]
DEBUG:f.t_p:Disabling flooding for 3 ports
INFO:openflow.of_01:[None 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_hello'>
INFO:openflow.of_01:[None 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_features_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_features_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] connected
DEBUG:openflow.discovery:Installing flow for 00-00-00-00-00-04
DEBUG:f.t_p.00-00-00-00-00-04:Connect [00-00-00-00-00-04 3]
DEBUG:f.t_p:Disabling flooding for 3 ports
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_features_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:PacketIN data [7a:dc:3e:4f:0e:4a>01:23:20:00:00:01 LLDP]
INFO:openflow.discovery:link detected: 00-00-00-00-00-03.2 -> 00-00-00-00-00-04.1
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [56:53:c9:bd:a7:09>01:23:20:00:00:01 LLDP]
INFO:openflow.discovery:link detected: 00-00-00-00-00-04.1 -> 00-00-00-00-00-03.2
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_barrier_reply'>
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [7a:dc:3e:4f:0e:4a>01:23:20:00:00:01 LLDP]
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [3a:07:f8:63:9d:6b>ff:ff:ff:ff:ff:ff ARP]
DEBUG:f.t_p.00-00-00-00-00-03:Learn 10.100.1.1 -> 3a:07:f8:63:9d:6b by ARP
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [3a:07:f8:63:9d:6b>00:00:00:00:00:03 IP]
DEBUG:f.t_p:Need MAC for 10.101.2.1
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [f6:60:0d:8e:49:57>00:00:00:00:00:04 ARP]
DEBUG:f.t_p.00-00-00-00-00-04:Learn 10.101.2.1 -> f6:60:0d:8e:49:57 by ARP
INFO:openflow.of_01:[00-00-00-00-00-04 3] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [f6:60:0d:8e:49:57>ff:ff:ff:ff:ff:ff ARP]
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [56:53:c9:bd:a7:09>33:33:00:00:00:16 IPV6]
INFO:openflow.of_01:[00-00-00-00-00-03 2] Received packet <class 'pox.openflow.libopenflow_01.ofp_packet_in'>
INFO:openflow.of_01:PacketIN data [56:53:c9:bd:a7:09>33:33:00:00:00:02 IPV6]

Compare this to mininet (which runs DHCP):

mininet@mininet-vm:~/dart_pox$ ./pox.py --verbose openflow.discovery forwarding.topo_proactive
POX 0.3.0 (dart) / Copyright 2011-2013 James McCauley, et al.
DEBUG:core:POX 0.3.0 (dart) going up...
DEBUG:core:Running on CPython (2.7.3/Sep 26 2012 21:51:14)
DEBUG:core:Platform is Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
INFO:core:POX 0.3.0 (dart) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
INFO:openflow.of_01:[None 1] closed
INFO:openflow.of_01:[00-00-00-00-00-03 2] connected
DEBUG:openflow.discovery:Installing flow for 00-00-00-00-00-03
DEBUG:f.t_p.00-00-00-00-00-03:Connect [00-00-00-00-00-03 2]
DEBUG:f.t_p:Disabling flooding for 3 ports
INFO:openflow.of_01:[00-00-00-00-00-04 3] connected
DEBUG:openflow.discovery:Installing flow for 00-00-00-00-00-04
DEBUG:f.t_p.00-00-00-00-00-04:Connect [00-00-00-00-00-04 3]
DEBUG:f.t_p:Disabling flooding for 3 ports
INFO:openflow.discovery:link detected: 00-00-00-00-00-03.2 -> 00-00-00-00-00-04.1
DEBUG:f.t_p.00-00-00-00-00-03:Learn 10.100.1.1 -> 2e:59:c1:82:94:64 by DHCP Lease
INFO:proto.dhcpd:Leased 10.100.1.1 to 2e:59:c1:82:94:64
INFO:openflow.discovery:link detected: 00-00-00-00-00-04.1 -> 00-00-00-00-00-03.2
DEBUG:f.t_p.00-00-00-00-00-04:Learn 10.101.2.1 -> 3e:c6:f4:45:3f:74 by DHCP Lease
INFO:proto.dhcpd:Leased 10.101.2.1 to 3e:c6:f4:45:3f:74
@colin-scott
Copy link
Member Author

Note that this problem may be resolved once #42 is resolved

@ahassany ahassany changed the title STS doesn't work with POX's topo_proactice module STS doesn't work with POX's topo_proactive module May 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant