Application name is pcap_switch.py
Overview
POX has a simple OpenFlow dataplane implementation. It can be tested using OFTest framework. To connect data ports of POX switch implementation to OFTest Linux virtual ethernet interfaces (VETH) are used. And a default controller port 6633 is used for Openflow connection.
Example topology
Running OFTest
- sudo ip link add type veth
- sudo ifconfig veth0 up
…
sudo ifconfig veth7 up - sudo ./pox.py –no-openflow datapaths.pcap_switch –address=127.0.0.1 –ports=veth0,veth2,veth4,veth6
- sudo ./oft -i 1@veth1 -i 2@veth3 -i 3@veth5 -i 4@veth7 -H 127.0.0.1 –log-file=”results.log”
Test results
Suite name | Results |
basic | OK |
openflow_protocol_messages | 2 out of 10 failed |
actions | 4 out of 19 failed |
flow_matches | 2 out of 23 failed |
flow_expire | OK |
port_stats | OK |
smoke | 3 out of 14 failed |
latency | 1 out of 2 failed |
message_types | 2 out of 15 failed |
counters | OK |
default_drop | 1 out of 1 failed |
pktact | 16 out of 60 failed |
nicira_dec_ttl | 2 out of 2 failed |
nicira_role | 3 out of 3 failed |
load | OK |
bsn_ipmask | 1 out of 1 failed |
bsn_mirror | 1 out of 1 failed |
bsn_shell | 1 out of 1 failed |