Hello.
I have created a python file to test with OpenFlow 1.5. My file is like the 
simple_switch_14.py but I added the v15 parser and I change the version in the 
app.
I create the topology, enable the switch to can support OpenFlow 1.5 and then I 
open the application simple_switch_15.py. It come onto main mode but give me 
this error:
pack into requires exactly 4 arguments
The Hello and config messages I think that are OK, but then they give me this 
code when I am doing ping (I use ovs-ofctl snoop to capture the code).
root@ryu-vm:~# ovs-ofctl snoop s1OFPT_FEATURES_REQUEST (OF1.5) 
(xid=0x1b0f89a3):OFPT_FEATURES_REPLY (OF1.5) (xid=0x1b0f89a3): 
dpid:0000000000000001n_tables:254, n_buffers:256capabilities: FLOW_STATS 
TABLE_STATS PORT_STATS GROUP_STATS QUEUE_STATSOFPT_SET_CONFIG (OF1.5) 
(xid=0x1b0f89a4): frags=normal miss_send_len=128OFPST_PORT_DESC request (OF1.5) 
(xid=0x1b0f89a5): port=ANYOFPST_PORT_DESC reply (OF1.5) (xid=0x1b0f89a5): 
1(s1-eth1): addr:7a:d1:16:c2:be:8a     config:     0     state:      0     
current:    10GB-FD COPPER     speed: 10000 Mbps now, 0 Mbps max 2(s1-eth2): 
addr:76:d2:87:51:2e:f3     config:     0     state:      0     current:    
10GB-FD COPPER     speed: 10000 Mbps now, 0 Mbps max 3(s1-eth3): 
addr:7e:ce:f0:5d:d5:e5     config:     0     state:      0     current:    
10GB-FD COPPER     speed: 10000 Mbps now, 0 Mbps max LOCAL(s1): 
addr:f2:0b:e8:13:31:4d     config:     PORT_DOWN     state:      LINK_DOWN     
speed: 0 Mbps now, 0 Mbps maxOFPT_FLOW_MOD (OF1.5) (xid=0x1b0f89a6): ADD 
priority=0 out_port:0 actions=CONTROLLER:65535OFPT_PACKET_IN (OF1.5) (xid=0x0): 
cookie=0x0 total_len=98 in_port=1 (via no_match) data_len=98 
buffer=0x00000100icmp,vlan_tci=0x0000,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
 icmp_csum:1eb5OFPT_ECHO_REQUEST (OF1.5) (xid=0x0): 0 bytes of 
payloadOFPT_ECHO_REPLY (OF1.5) (xid=0x0): 0 bytes of payloadOFPT_PACKET_IN 
(OF1.5) (xid=0x0): cookie=0x0 total_len=98 in_port=1 (via no_match) data_len=98 
buffer=0x00000101icmp,vlan_tci=0x0000,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
 icmp_csum:5596OFPT_PACKET_IN (OF1.5) (xid=0x0): cookie=0x0 total_len=98 
in_port=1 (via no_match) data_len=98 
buffer=0x00000102icmp,vlan_tci=0x0000,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
 icmp_csum:6d74OFPT_PACKET_IN (OF1.5) (xid=0x0): cookie=0x0 total_len=98 
in_port=1 (via no_match) data_len=98 
buffer=0x00000103icmp,vlan_tci=0x0000,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
 icmp_csum:8059
I am using master version of OvS and RYU.
Thanks for all,Iol                                        
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to