Hello,

I'm making some changes on my controller so I'm getting some DP flows from production and passing into my new controller/OVS (Which is awesome by the way).


*Production:*
ovs-appctl ofproto/trace xapi5 "in_port(3),eth(src=56:d0:ec:e5:24:96,dst=02:e0:52:2a:ef:24),eth_type(0x0800),ipv4(src=1.1.1.1,dst=2.2.2.2,proto=6,tos=0,ttl=128,frag=no),tcp(src=3389,dst=2336)" Flow: priority:0,tunnel:0,in_port:0003,tci(0) mac(56:d0:ec:e5:24:96->02:e0:52:2a:ef:24) type:0800 proto:6 tos:0 ttl:128 ip(1.1.1.1->2.2.2.2) port(3389->2336)
Rule: table=0 cookie=0 priority=0,reg0=0x1
OpenFlow actions=controller(reason=no_match)

No match, flow generates "packet in"s.

Final flow: unchanged
Datapath actions: drop
This flow is handled by the userspace slow path because it:
    - Sends "packet-in" messages to the OpenFlow controller.

-----

*LAB:*
ovs-appctl ofproto/trace br0 "in_port(3),eth(src=56:d0:ec:e5:24:96,dst=02:e0:52:2a:ef:24),eth_type(0x0800),ipv4(src=1.1.1.1,dst=2.2.2.2,proto=6,tos=0,ttl=128,frag=no),tcp(src=3389,dst=2336)"
Bridge: br0
Flow: tcp,metadata=0,in_port=174,vlan_tci=0x0000,dl_src=56:d0:ec:e5:24:96,dl_dst=02:e0:52:2a:ef:24,nw_src=1.1.1.1,nw_dst=2.2.2.2,nw_tos=0,nw_ecn=0,nw_ttl=128,tp_src=3389,tp_dst=2336 Rule: table=0 cookie=0 priority=40000,ip,in_port=174,dl_src=56:d0:ec:e5:24:96,nw_src=1.1.1.1
OpenFlow actions=mod_vlan_vid:325,bundle(eth_src,0,hrw,ofport,slaves:1,2)

Final flow: tcp,metadata=0,in_port=174,dl_vlan=325,dl_vlan_pcp=0,dl_src=56:d0:ec:e5:24:96,dl_dst=02:e0:52:2a:ef:24,nw_src=1.1.1.1,nw_dst=2.2.2.2,nw_tos=0,nw_ecn=0,nw_ttl=128,tp_src=3389,tp_dst=2336
Datapath actions: push_vlan(vid=325,pcp=0),4

------

Production works fine BUT at the LAB the IN_PORT that I'm passing is 3 and it's matching with the IN_PORT 174 from my OF rule.

LAB OVS master branch (last commit 2f524209e92a986d3caac9df5bffc3e88c401acd)

Production OVS ovs-vsctl (Open vSwitch) 1.7.3


Any clue what is going on ?


Cheers,

--
Luiz Henrique Ozaki

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to