openvswitch 流表测试 ovs-appctl
[root@ostack170 ~]# ovs-appctl ofproto/trace br-mirror in_port=1,dl_vlan=202,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef Bridge: br-mirror Flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000 Rule: table=0 cookie=0 priority=1 OpenFlow actions=resubmit(,3) Resubmitted flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000 Resubmitted regs: reg0=0x0 reg1=0x0 reg2=0x0 reg3=0x0 reg4=0x0 reg5=0x0 reg6=0x0 reg7=0x0 Resubmitted odp: drop Resubmitted megaflow: recirc_id=0,in_port=1,dl_src=74:ea:cb:5d:e4:ee,dl_type=0x0000 Rule: table=3 cookie=0 priority=1 OpenFlow actions=NORMAL learned port is input port, dropping Final flow: in_port=1,dl_vlan=202,dl_vlan_pcp=0,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000 Megaflow: recirc_id=0,in_port=1,dl_vlan=202,dl_src=74:ea:cb:5d:e4:ee,dl_dst=fa:16:3e:58:93:ef,dl_type=0x0000 Datapath actions: drop