tap flows on the same source port may be duplicate due to the same tap-service and different direction

Bug #1807410 reported by qyq
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tap-as-a-service
Confirmed
Medium
Unassigned

Bug Description

multiple tap-flows that have the same tap-service and different direction may exist on the same source port,which results in a conflict when deleting one of the tap-flow.
e.g
# neutron tap-flow-create --port 62cfae8e-7770-4527-91ca-b1ba7b9af0bd --tap-service c9bbb9d9-4cf1-4eaf-b2a1-1565fb42f6a2 --name src1 --direction OUT

then...

# neutron tap-flow-create --port 62cfae8e-7770-4527-91ca-b1ba7b9af0bd --tap-service c9bbb9d9-4cf1-4eaf-b2a1-1565fb42f6a2 --name src1 --direction IN

then...
# neutron tap-flow-create --port 62cfae8e-7770-4527-91ca-b1ba7b9af0bd --tap-service c9bbb9d9-4cf1-4eaf-b2a1-1565fb42f6a2 --name src1 --direction BOTH

is legal in the taas

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

it seems like a bug. what happens when removing one of them?

Revision history for this message
qyq (qianyuqiao) wrote :

If I delete one of them, all rules on the ovs related to the source port will be removed, but in database there still exists the tap-flow on the source port

Changed in tap-as-a-service:
importance: Undecided → Medium
status: New → Confirmed
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.