I created a sfc with 3 vms (vm1, vm2, vm3). vm1 and vm3 are traffic generator and receiver respectively. I want to redirect icmp traffic going from vm1 to vm3 via vm2. I created a chain for the same. Port Pair(PP1) contains p1 and p2 of vm2. Port Group(PG) has only PP1. The chain is like: "neutron port-chain-create --port-pair-group PG1 --flow-classifier FC1 PC1"
Flow-Classifier, FC1 is like: "neutron flow-classifier-create --ethertype IPv4 --source-ip-prefix 22.33.0.6/32 --destination-ip-prefix 10.0.0.3/32 --protocol icmp FC1"
The Flows on the ovs are:
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xbf969f763a8af13d, duration=1674.789s, table=0, n_packets=0, n_bytes=0, priority=10,icmp6,in_port=11,icmp_type=136 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1574.529s, table=0, n_packets=2, n_bytes=164, priority=10,icmp6,in_port=12,icmp_type=136 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1148.528s, table=0, n_packets=0, n_bytes=0, priority=10,icmp6,in_port=14,icmp_type=136 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1148.395s, table=0, n_packets=2, n_bytes=164, priority=10,icmp6,in_port=13,icmp_type=136 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1674.785s, table=0, n_packets=3, n_bytes=126, priority=10,arp,in_port=11 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1574.526s, table=0, n_packets=3, n_bytes=126, priority=10,arp,in_port=12 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1148.523s, table=0, n_packets=0, n_bytes=0, priority=10,arp,in_port=14 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=1148.391s, table=0, n_packets=4, n_bytes=168, priority=10,arp,in_port=13 actions=goto_table:24
cookie=0xbf969f763a8af13d, duration=3062.766s, table=0, n_packets=2, n_bytes=220, priority=2,in_port=1 actions=drop
cookie=0xbf969f763a8af13d, duration=1674.792s, table=0, n_packets=257, n_bytes=24736, priority=9,in_port=11 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1574.534s, table=0, n_packets=275, n_bytes=26606, priority=9,in_port=12 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1148.538s, table=0, n_packets=5, n_bytes=550, priority=9,in_port=14 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1148.404s, table=0, n_packets=265, n_bytes=25658, priority=9,in_port=13 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=3035.224s, table=0, n_packets=358, n_bytes=60622, priority=3,in_port=1,vlan_tci=0x0000/0x1fff actions=push_vlan:0x8100,set_field:4098->vlan_vid,NORMAL
cookie=0xbf969f763a8af13d, duration=3063.206s, table=0, n_packets=1602, n_bytes=196679, priority=0 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=3063.204s, table=23, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0xbf969f763a8af13d, duration=1674.790s, table=24, n_packets=0, n_bytes=0, priority=2,icmp6,in_port=11,icmp_type=136,nd_target=fe80::f816:3eff:fe1d:70a0 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1574.532s, table=24, n_packets=0, n_bytes=0, priority=2,icmp6,in_port=12,icmp_type=136,nd_target=fe80::f816:3eff:fea0:ce0b actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1574.530s, table=24, n_packets=2, n_bytes=164, priority=2,icmp6,in_port=12,icmp_type=136,nd_target=fdaf:fef7:58ac:0:f816:3eff:fea0:ce0b actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.534s, table=24, n_packets=0, n_bytes=0, priority=2,icmp6,in_port=14,icmp_type=136,nd_target=fdaf:fef7:58ac:0:f816:3eff:fe16:2c4 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.530s, table=24, n_packets=0, n_bytes=0, priority=2,icmp6,in_port=14,icmp_type=136,nd_target=fe80::f816:3eff:fe16:2c4 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.401s, table=24, n_packets=2, n_bytes=164, priority=2,icmp6,in_port=13,icmp_type=136,nd_target=fdaf:fef7:58ac:0:f816:3eff:feb1:2814 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.397s, table=24, n_packets=0, n_bytes=0, priority=2,icmp6,in_port=13,icmp_type=136,nd_target=fe80::f816:3eff:feb1:2814 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1674.787s, table=24, n_packets=3, n_bytes=126, priority=2,arp,in_port=11,arp_spa=22.33.0.6 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1574.527s, table=24, n_packets=3, n_bytes=126, priority=2,arp,in_port=12,arp_spa=10.0.0.3 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1148.526s, table=24, n_packets=0, n_bytes=0, priority=2,arp,in_port=14,arp_spa=10.0.0.14 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=1148.394s, table=24, n_packets=4, n_bytes=168, priority=2,arp,in_port=13,arp_spa=10.0.0.11 actions=goto_table:25
cookie=0xbf969f763a8af13d, duration=3063.204s, table=24, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0xbf969f763a8af13d, duration=1674.797s, table=25, n_packets=260, n_bytes=24862, priority=2,in_port=11,dl_src=fa:16:3e:1d:70:a0 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1574.537s, table=25, n_packets=274, n_bytes=26292, priority=2,in_port=12,dl_src=fa:16:3e:a0:ce:0b actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.543s, table=25, n_packets=0, n_bytes=0, priority=2,in_port=14,dl_src=fa:16:3e:16:02:c4 actions=NORMAL
cookie=0xbf969f763a8af13d, duration=1148.410s, table=25, n_packets=268, n_bytes=25736, priority=2,in_port=13,dl_src=fa:16:3e:b1:28:14 actions=NORMAL
Dump-Groups output:
sudo ovs-ofctl -O Openflow13 dump-groups br-int
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
The flows remained same before and after creation of the port chain. I guess it means that the port chain is not getting triggered. Please help me to triage this. where I could be going wrong?