Hi Rob at al.

Im having problems to run modules of oflops. I had a NetFPGA in a PC with
openflow switch and other pc with netfpga running oflops.
I connect with direct cable the two machines and start openflow in the
first.

My output is there.

# ./oflops -c eth0 -d nf2c1 -d nf2c0 -p 6633 -g nf2 -t
./example_modules/openflow_mod_flow/.libs/
libopenflow_mod_flow.a         libopenflow_mod_flow.so        mod_flow.o
libopenflow_mod_flow.la        libopenflow_mod_flow.so.0
libopenflow_mod_flow.lai       libopenflow_mod_flow.so.0.0.0
[root@cobrowser oflops]# ./oflops -c eth0 -d nf2c1 -d nf2c0 -p 6633 -g nf2
-t ./example_modules/openflow_mod_flow/.libs/libopenflow_mod_flow.so
Initializing pkt gen library
Found net device: nf2c0
counter: 47323b5aade1 4732 be00e5a0
Setting control channel to eth0
Adding a data channel on nf2c1
Adding a data channel on nf2c0
Setting Control listen port to 6633
traffic generator 0 is invalid
Sending probe interval : 114 usec (pkt_size: 1500 bytes, rate: 100
Mbits/sec )
Sending probe interval : 114 usec (pkt_size: 1500 bytes, rate: 100
Mbits/sec )
Creating server socket...
Setting SO_REUSE
Binding to port 6633
Waiting for a switch to connect...
Got connection from [X.X.X.X]:34816
Setting control channel to non-blocking
Turning off @&^$!@# Nagle algorithm on control channel
Running 1 Test
-----------------------------------------------
------------ TEST openflow_add_flow ----------
-----------------------------------------------
Test openflow_add_flow:  Starting pcap filter "port 6633" on dev eth0 for
channel 0
Test openflow_add_flow:  Starting pcap filter "udp" on dev nf2c1 for
channel 1
Non-fatal pcap_setfilter: nf2c1: no IPv4 address assigned
Test openflow_add_flow:  Starting pcap filter "udp" on dev nf2c0 for
channel 2
Non-fatal pcap_setfilter: nf2c0: no IPv4 address assigned
cleaning up flow table...
Sending measurement probe flow...
event loop
No log handling enabled - turning on stderr logging
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
pcap flow modification send 1330554683.931678
BARRIER_DELAY:13213
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
snmp_open: Unknown host
terminating test....
*eth0:175:0*
*dev nf2c1   0pps 0Mb/sec (0bps) errors: 1511034  0pps 0Mb/sec (0bps)
errors: 151103,dev nf2c0   0pps 0Mb/sec (0bps) errors: 1513957  0pps
0Mb/sec (0bps) errors: 151395,*
*nf2c1:1074:711*
*dev nf2c1   0pps 0Mb/sec (0bps) errors: 1511034  0pps 0Mb/sec (0bps)
errors: 151103,dev nf2c0   0pps 0Mb/sec (0bps) errors: 1513957  0pps
0Mb/sec (0bps) errors: 151395,*
*nf2c0:700:337*
*dev nf2c1   0pps 0Mb/sec (0bps) errors: 1511034  0pps 0Mb/sec (0bps)
errors: 151103,dev nf2c0   0pps 0Mb/sec (0bps) errors: 1513957  0pps
0Mb/sec (0bps) errors: 151395,*
-----------------------------------------------
---------------    Finished   -----------------
-----------------------------------------------

Running wireshark in oflops, i see traffic in nf2c0 and c1...in
openflowswitch there is no traffic in netfpga ports. Should be used cross
connect cables ?

What's wrong? The openflows netfpga switch is working fine. Is a problem
with the Oflops or with the stupid user? :)
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to