port chain with nsh missing table=5 at ovs-ofctl

Bug #1793206 reported by Rodolfo Vieira Valentim
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-sfc
New
Undecided
Unassigned

Bug Description

Using Kolla to deploy a multinode cloud I'm facing some problems to implement SFC.

I did the following:

openstack port create p1 --network net1 --disable-port-security
openstack port create p2 --network net1 --disable-port-security
openstack port create p3 --network net1 --disable-port-security
openstack port create p4 --network net1 --disable-port-security

openstack server create fonte --nic port-id=p1 --flavor m1.tiny --image cirros-0.3.4-x86_64-uec
openstack server create sff1 --nic port-id=p2 --flavor m1.tiny --image cirros-0.3.4-x86_64-uec
openstack server create sff2 --nic port-id=p3 --flavor m1.tiny --image cirros-0.3.4-x86_64-uec
openstack server create destino --nic port-id=p4 --flavor m1.tiny --image cirros-0.3.4-x86_64-uec

openstack sfc flow classifier create fc1 --source-ip-prefix 10.10.1.0/24 --destination-ip-prefix 10.10.1.0/24 --logical-source-port p1 --logical-destination-port p4

openstack sfc port pair create pp1 --ingress p2 --egress p2
openstack sfc port pair create pp2 --ingress p3 --egress p3

openstack sfc port pair group create ppg1 --port-pair pp1
openstack sfc port pair group create ppg2 --port-pair pp2

openstack sfc port chain create pc1 --port-pair-group ppg1 --port-pair-group ppg2 --flow-classifier fc1 --chain-parameters correlation=nsh

The problem is that the flow rule which capture the traffic that I want to steer uses the table 5 in the dump-groups below it's possible to see the resubmit. The problem is that once I dump all flows, I can't see any table 5.

I use the Open vSwitch 2.5.4.

stack@controller:~/kolla-ansible/tools$ sudo ovs-ofctl -O OpenFlow13 dump-flows br-int | cut -d"," "-f3-"
OFPST_FLOW reply (OF1.3) (xid=0x2):
 table=0, n_packets=0, n_bytes=0, reset_counts priority=30,icmp,in_port=7,nw_src=192.0.2.0/24,nw_dst=192.0.2.0/24 actions=group:2
 table=0, n_packets=0, n_bytes=0, priority=20,mpls actions=goto_table:10
 table=0, n_packets=0, n_bytes=0, priority=20,dl_type=0x894f actions=goto_table:10
 table=0, n_packets=49, n_bytes=8604, priority=3,in_port=1,vlan_tci=0x0000/0x1fff actions=push_vlan:0x8100,set_field:4097->vlan_vid,goto_table:60
 table=0, n_packets=14, n_bytes=2492, priority=2,in_port=1 actions=drop
 table=0, n_packets=745, n_bytes=71833, priority=0 actions=goto_table:60
 table=10, n_packets=0, n_bytes=0, priority=0 actions=drop
 table=23, n_packets=0, n_bytes=0, priority=0 actions=drop
 table=24, n_packets=0, n_bytes=0, priority=0 actions=drop
 table=60, n_packets=794, n_bytes=80437, priority=3 actions=NORMAL

stack@controller:~/kolla-ansible/tools$ sudo ovs-ofctl -O OpenFlow13 dump-groups br-int
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
 group_id=2,type=select,bucket=actions=set_field:fa:16:3e:cf:bd:ad->eth_dst,resubmit(,5)

Revision history for this message
Hamza Noweder (noweder) wrote :

any comments ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.