[ovs-discuss] dl_src field didn't function

2014-05-22 Thread chen zhang
hi, everybody this is my table entry: fnl@fnl-sdn:~$ sudo ovs-ofctl dump-flows s1 -O OpenFlow13 table=1 OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x0, duration=68.077s, table=1, n_packets=13, n_bytes=962, tcp,dl_vlan=3,tp_dst=80 actions=drop cookie=0x0, duration=68.077s, table=1, n_packets=

[ovs-discuss] how to specify a port number in ovsswitch of mininet?

2014-05-15 Thread chen zhang
hi,eveyone,a question of ovs using mininet >>mininet net h1 h1-eth0:s1-eth1 h2 h2-eth0:s1-eth2 h3 h3-eth0:s1-eth3 h4 h4-eth0:s1-eth4 fnl@fnl-sdn:~/Downloads/mininet/mininet$ sudo ovs-dpctl show system@ovs-system: lookups: hit:366 missed:669 lost:0 flows: 14 port 0: ovs-system (internal

[ovs-discuss] how to specify s1's port number when using mininet?

2014-05-15 Thread chen zhang
hi,eveyone, >>mininet net h1 h1-eth0:s1-eth1 h2 h2-eth0:s1-eth2 h3 h3-eth0:s1-eth3 h4 h4-eth0:s1-eth4 fnl@fnl-sdn:~/Downloads/mininet/mininet$ sudo ovs-dpctl show system@ovs-system: lookups: hit:366 missed:669 lost:0 flows: 14 port 0: ovs-system (internal) port 1: s1-eth3 port

[ovs-discuss] OFPBMC_BAD_PREREQ

2014-05-15 Thread chen zhang
hi,dear all when i send a flow with "OFPMatch(oxm_fields={'ip_proto': 6, 'tcp_dst': 80, 'vlan_vid': 4099}"using ryu of1.3,ovs tells me that OFPT_FLOW_MOD (OF1.3) (xid=0x1ec5d898): ***decode error: OFPBMC_BAD_PREREQ*** OFPT_ERROR (OF1.3) (xid=0x1ec5d898): OFPBMC_BAD_PREREQ OFPT_FLOW_MOD (OF1.3)

[ovs-discuss] questions on dl_vlan and vlan_tci

2014-05-13 Thread chen zhang
hi,dear all: i use ryu with ovs and confused by the vlan_tci.when i code as "match = OFPMatch(vlan_vid=1)" and send the flowmod,ovs gives me the entry with match field "vlan_tci=0x000b/0x1fff" and it fails to match the pkts from vlan 1 host. how to make

[ovs-discuss] question about learn action

2014-04-28 Thread chen zhang
Hello,everyone! I have a urgent question.My environment is mininet 2.0+ovs 2.0,and i have make sandbox,but when i wrote "ovs-ofctl add-flow s1 nw_dst= 1.0.0.0/255.0.0.0actions=[learn(table=2,goto_table:3),apply_actions([mod_vlan_vid=3])]",it warned that "bash: syntax error near unexpected token `('

[ovs-discuss] about flow_mod

2013-12-05 Thread chen zhang
hello,dear all! look about the flow_table using ovs-ofctl dump-flows s1 -O OpenFlow13: cookie=0x0, duration=423.001s, table=0, n_packets=9, n_bytes=546, priority=1,in_port=2,dl_dst=00:00:00:00:00:10 actions=output:3 i want to delete the flow above using flow_mod,and i definite a method l

[ovs-discuss] about flow_mod

2013-12-05 Thread chen zhang
hello,dear all! cookie=0x0, duration=423.001s, table=0, n_packets=9, n_bytes=546, priority=1,in_port=2,dl_dst=00:00:00:00:00:10 actions=output:3 i want to delete the flow above using flow_mod,and i definite a method like this: def remove_flow(self, datapath, match): ofproto = data

[ovs-discuss] questions about fake-bridge

2013-11-25 Thread chen zhang
hi dear all! is fake-bridge just devised for the ports in with the same vlan tag in real-bridge? i make it like this: ovs-vsctl add-br br0 ovs-vsctl add-br br1 br0 2 ovs-vsctl add-port br0 eth1(connecting with host 1,172.16.0.1) ifconfig br0 172.16.0.10 ifconfig br1 172.16.0.11 it succeeded when

[ovs-discuss] questions about vlan_mode

2013-11-23 Thread chen zhang
hi dear all! i'm doing vlan experiment over ovs.i got very confused with native-tagged and untagged.First does native traffic only refer to cdp/vtp/... like private Cisco protocols?What native traffic does ovs produce?And i can make sense that in Ciso switch,native vlan means the sender not to e

[ovs-discuss] Quetsions about GRE

2013-11-14 Thread chen zhang
Hi,Dear All! I managed to configure GRE across Internet to connect layer 2,how should i use gre to finish the connection of layer 3 across the Internet? ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Question about RSPAN

2013-11-14 Thread chen zhang
Hi,dear all! I'm configuring mirror on ovs-1.11.0,the FAQ says that "When a packet arrives on a VLAN that is used as a mirror output VLAN, the mirror is disregarded. Instead, in standalone mode, OVS floods the packet across all the ports for which the mirror output VLAN is configured".Does it m

[ovs-discuss] Does ovs-1.11.0 support set_queue action?

2013-11-13 Thread chen zhang
Hello,Everyone: I'm trying to implement qos on mininet with 1.11.0 ovs through openflow13,i suceed to configure qos && queue(id=1) on eth1(id=1), and the flow_mod with "out_put:1"&&"set_queue:1" actions is passed from the controller to the switch.But it doesn't work for specified pkts...using "ovs-