[OVSDB-150] When delete port, output port list(for broadcast) has problem. Created: 06/May/15  Updated: 19/Oct/17  Resolved: 15/May/15

Status: Resolved
Project: ovsdb
Component/s: Other
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Seungho Chung Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3136

 Description   

/ovsdb/utils/mdsal-openflow/src/main/java/org/opendaylight/ovsdb/utils/mdsal/openflow/InstructionUtils.java

In function "removeOutputPortFromInstructions", when delete port it remove action in actionList and set index(var) to indexOf(action).
then reorder the actionList's ActionKey from index to the end of the actionList.size.

but It should be set ActionKey from 0(start) to the index.

Now i attach debug log that function.

2015-04-16 18:30:25,177 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | removeOutputPortFromInstructions() Node Connector ID is - Type=openflow: DPID=15691847565390 port=4 existingInstructions=[Instruction{getInstruction=ApplyActionsCase{getApplyActions=ApplyActions{getAction=
Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=3, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:4], augmentations={}}, augmentations={}}, getOrder=1, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}]
2015-04-16 18:30:25,178 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | isPortDeleted=true,
OldActionList=
Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=3, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}]

2015-04-16 18:30:25,179 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | removeOutputPortFromInstructions() : applyAction ApplyActions [_action=[Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=3, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action [_action=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, _key=ActionKey [_order=2], _order=2, augmentation=[]]], augmentation=[]]

2015-04-16 18:30:25,684 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | removeOutputPortFromInstructions() Node Connector ID is - Type=openflow: DPID=15691847565390 port=4 existingInstructions=[Instruction{getInstruction=ApplyActionsCase{getApplyActions=ApplyActions{getAction=[Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=5, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=4, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:4], augmentations={}}, augmentations={}}, getOrder=3, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:2], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:1], augmentations={}}, augmentations={}}, getOrder=1, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}]

2015-04-16 18:30:25,684 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | isPortDeleted=true, OldActionList=[Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=5, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=4, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:2], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:1], augmentations={}}, augmentations={}}, getOrder=1, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}]

2015-04-16 18:30:25,687 | DEBUG | pool-27-thread-1 | InstructionUtils | 364 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.0.3.Helium-SR3 | removeOutputPortFromInstructions() : applyAction ApplyActions [_action=[Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:6], augmentations={}}, augmentations={}}, getOrder=5, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:5], augmentations={}}, augmentations={}}, getOrder=4, augmentations={}}, Action{getAction=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:2], augmentations={}}, augmentations={}}, getOrder=2, augmentations={}}, Action [_action=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:1], augmentations={}}, augmentations={}}, _key=ActionKey [_order=3], _order=3, augmentation=[]], Action [_action=OutputActionCase{getOutputAction=OutputAction{getOutputNodeConnector=Uri [_value=openflow:15691847565390:3], augmentations={}}, augmentations={}}, _key=ActionKey [_order=4], _order=4, augmentation=[]]], augmentation=[]]



 Comments   
Comment by Seungho Chung [ 07/May/15 ]

I made openstack(1 Controller node, 2compute Node) + OpenDaylight environment, and i started 10 vm.

compute01 flows (sudo ovs-ofctl dump-flows br-int O openflow13|cut -f 3 -d)

OFPST_FLOW reply (OF1.3) (xid=0x2):
table=0, n_packets=17, n_bytes=3291, tun_id=0x3e9,in_port=1 actions=load:0x2->NXM_NX_REG0[],goto_table:20
table=0, n_packets=30, n_bytes=4780, tun_id=0x3e9,in_port=8 actions=load:0x2->NXM_NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=18,dl_src=fa:16:3e:25:f6:50 actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=17,dl_src=fa:16:3e:88:96:20 actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=20,dl_src=fa:16:3e:65:0c:99 actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=19,dl_src=fa:16:3e:be:58:91 actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=10, n_bytes=1197, in_port=16,dl_src=fa:16:3e:60:ea:00 actions=set_field:0x3e9->tun_id,load:0x1->N
XM_NX_REG0[],goto_table:20
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=16 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=20 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=19 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=18 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=17 actions=drop
table=0, n_packets=477466, n_bytes=52998726, dl_type=0x88cc actions=CONTROLLER:65535
table=0, n_packets=137, n_bytes=16996, priority=0 actions=goto_table:20
table=20, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:30
table=30, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:40
table=40, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:50
table=50, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:60
table=60, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:70
table=70, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:80
table=80, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:90
table=90, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:100
table=100, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:110
table=110, n_packets=5, n_bytes=425, priority=8192,tun_id=0x3e9 actions=drop
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:28:45:9e actions=output:1
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:67:1a:30 actions=output:1
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:1d:e5:e4 actions=output:1
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:f1:5a:a4 actions=output:1
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:65:0c:99 actions=output:20
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:df:0e:77 actions=output:1
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:be:58:91 actions=output:19
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:25:f6:50 actions=output:18
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:88:96:20 actions=output:17
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:60:ea:00 actions=output:16
table=110, n_packets=36, n_bytes=2632, tun_id=0x3e9,dl_dst=fa:16:3e:1a:b8:62 actions=output:8
table=110, n_packets=620, n_bytes=51973, priority=16384,reg0=0x1,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:0
0:00 actions=output:16,output:1,output:8,output:17,output:18,output:19,output:20
table=110, n_packets=175, n_bytes=17549, priority=16384,reg0=0x2,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:0
0:00 actions=output:16,output:17,output:18,output:19,output:20
table=110, n_packets=136, n_bytes=16926, priority=0 actions=drop

compute02 flows (sudo ovs-ofctl dump-flows br-int O openflow13|cut -f 3 -d)

OFPST_FLOW reply (OF1.3) (xid=0x2):
table=0, n_packets=36, n_bytes=5032, tun_id=0x3e9,in_port=3 actions=load:0x2->NXM_NX_REG0[],goto_table:20
table=0, n_packets=22, n_bytes=3870, tun_id=0x3e9,in_port=2 actions=load:0x2->NXM_NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=13,dl_src=fa:16:3e:df:0e:77 actions=set_field:0x3e9->tun_id,load:0x1->NXM_
NX_REG0[],goto_table:20
table=0, n_packets=7, n_bytes=967, in_port=11,dl_src=fa:16:3e:1d:e5:e4 actions=set_field:0x3e9->tun_id,load:0x1->NXM_
NX_REG0[],goto_table:20
table=0, n_packets=13, n_bytes=1435, in_port=9,dl_src=fa:16:3e:28:45:9e actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=14, n_bytes=1758, in_port=10,dl_src=fa:16:3e:f1:5a:a4 actions=set_field:0x3e9->tun_id,load:0x1->NX
M_NX_REG0[],goto_table:20
table=0, n_packets=8, n_bytes=1290, in_port=12,dl_src=fa:16:3e:67:1a:30 actions=set_field:0x3e9->tun_id,load:0x1->NXM
_NX_REG0[],goto_table:20
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=13 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=10 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=12 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=11 actions=drop
table=0, n_packets=0, n_bytes=0, priority=8192,in_port=9 actions=drop
table=0, n_packets=477494, n_bytes=53479328, dl_type=0x88cc actions=CONTROLLER:65535
table=0, n_packets=48, n_bytes=5431, priority=0 actions=goto_table:20
table=20, n_packets=1298, n_bytes=147559, priority=0 actions=goto_table:30
table=30, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:40
table=40, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:50
table=50, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:60
table=60, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:70
table=70, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:80
table=80, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:90
table=90, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:100
table=100, n_packets=1296, n_bytes=147399, priority=0 actions=goto_table:110
table=110, n_packets=5, n_bytes=425, priority=8192,tun_id=0x3e9 actions=drop
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:28:45:9e actions=output:9
table=110, n_packets=9, n_bytes=1082, tun_id=0x3e9,dl_dst=fa:16:3e:67:1a:30 actions=output:12
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:1d:e5:e4 actions=output:11
table=110, n_packets=9, n_bytes=1082, tun_id=0x3e9,dl_dst=fa:16:3e:f1:5a:a4 actions=output:10
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:65:0c:99 actions=output:2
table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:df:0e:77 actions=output:13
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:be:58:91 actions=output:2
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:25:f6:50 actions=output:2
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:88:96:20 actions=output:2
table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:60:ea:00 actions=output:2
table=110, n_packets=14, n_bytes=980, tun_id=0x3e9,dl_dst=fa:16:3e:1a:b8:62 actions=output:3
table=110, n_packets=205, n_bytes=21042, priority=16384,reg0=0x1,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00
:00 actions=output:9,output:2,output:3,output:10,output:11,output:12,output:13
table=110, n_packets=614, n_bytes=51300, priority=16384,reg0=0x2,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00
:00 actions=output:9,output:10,output:11,output:12,output:13
table=110, n_packets=44, n_bytes=5111, priority=0 actions=drop

Both Compute nodes have 5vm each.

Comment by Flavio Fernandes [ 07/May/15 ]

(In reply to Seungho Chung from comment #1)
> I made openstack(1 Controller node, 2compute Node) + OpenDaylight
> environment, and i started 10 vm.
>
>
>
> compute01 flows (sudo ovs-ofctl dump-flows br-int O openflow13|cut -f 3 -d)
>
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> table=0, n_packets=17, n_bytes=3291, tun_id=0x3e9,in_port=1
> actions=load:0x2->NXM_NX_REG0[],goto_table:20
> table=0, n_packets=30, n_bytes=4780, tun_id=0x3e9,in_port=8
> actions=load:0x2->NXM_NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=18,dl_src=fa:16:3e:25:f6:50
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=17,dl_src=fa:16:3e:88:96:20
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=20,dl_src=fa:16:3e:65:0c:99
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=19,dl_src=fa:16:3e:be:58:91
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=10, n_bytes=1197, in_port=16,dl_src=fa:16:3e:60:ea:00
> actions=set_field:0x3e9->tun_id,load:0x1->N
> XM_NX_REG0[],goto_table:20
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=16 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=20 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=19 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=18 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=17 actions=drop
> table=0, n_packets=477466, n_bytes=52998726, dl_type=0x88cc
> actions=CONTROLLER:65535
> table=0, n_packets=137, n_bytes=16996, priority=0 actions=goto_table:20
> table=20, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:30
> table=30, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:40
> table=40, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:50
> table=50, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:60
> table=60, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:70
> table=70, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:80
> table=80, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:90
> table=90, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:100
> table=100, n_packets=2538, n_bytes=352281, priority=0 actions=goto_table:110
> table=110, n_packets=5, n_bytes=425, priority=8192,tun_id=0x3e9 actions=drop
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:28:45:9e
> actions=output:1
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:67:1a:30
> actions=output:1
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:1d:e5:e4
> actions=output:1
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:f1:5a:a4
> actions=output:1
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:65:0c:99
> actions=output:20
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:df:0e:77
> actions=output:1
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:be:58:91
> actions=output:19
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:25:f6:50
> actions=output:18
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:88:96:20
> actions=output:17
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:60:ea:00
> actions=output:16
> table=110, n_packets=36, n_bytes=2632,
> tun_id=0x3e9,dl_dst=fa:16:3e:1a:b8:62 actions=output:8
> table=110, n_packets=620, n_bytes=51973,
> priority=16384,reg0=0x1,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:0
> 0:00
> actions=output:16,output:1,output:8,output:17,output:18,output:19,output:20
> table=110, n_packets=175, n_bytes=17549,
> priority=16384,reg0=0x2,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:0
> 0:00 actions=output:16,output:17,output:18,output:19,output:20
> table=110, n_packets=136, n_bytes=16926, priority=0 actions=drop
>
>
>
> compute02 flows (sudo ovs-ofctl dump-flows br-int O openflow13|cut -f 3 -d)
>
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> table=0, n_packets=36, n_bytes=5032, tun_id=0x3e9,in_port=3
> actions=load:0x2->NXM_NX_REG0[],goto_table:20
> table=0, n_packets=22, n_bytes=3870, tun_id=0x3e9,in_port=2
> actions=load:0x2->NXM_NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=13,dl_src=fa:16:3e:df:0e:77
> actions=set_field:0x3e9->tun_id,load:0x1->NXM_
> NX_REG0[],goto_table:20
> table=0, n_packets=7, n_bytes=967, in_port=11,dl_src=fa:16:3e:1d:e5:e4
> actions=set_field:0x3e9->tun_id,load:0x1->NXM_
> NX_REG0[],goto_table:20
> table=0, n_packets=13, n_bytes=1435, in_port=9,dl_src=fa:16:3e:28:45:9e
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=14, n_bytes=1758, in_port=10,dl_src=fa:16:3e:f1:5a:a4
> actions=set_field:0x3e9->tun_id,load:0x1->NX
> M_NX_REG0[],goto_table:20
> table=0, n_packets=8, n_bytes=1290, in_port=12,dl_src=fa:16:3e:67:1a:30
> actions=set_field:0x3e9->tun_id,load:0x1->NXM
> _NX_REG0[],goto_table:20
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=13 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=10 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=12 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=11 actions=drop
> table=0, n_packets=0, n_bytes=0, priority=8192,in_port=9 actions=drop
> table=0, n_packets=477494, n_bytes=53479328, dl_type=0x88cc
> actions=CONTROLLER:65535
> table=0, n_packets=48, n_bytes=5431, priority=0 actions=goto_table:20
> table=20, n_packets=1298, n_bytes=147559, priority=0 actions=goto_table:30
> table=30, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:40
> table=40, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:50
> table=50, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:60
> table=60, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:70
> table=70, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:80
> table=80, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:90
> table=90, n_packets=1297, n_bytes=147469, priority=0 actions=goto_table:100
> table=100, n_packets=1296, n_bytes=147399, priority=0 actions=goto_table:110
> table=110, n_packets=5, n_bytes=425, priority=8192,tun_id=0x3e9 actions=drop
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:28:45:9e
> actions=output:9
> table=110, n_packets=9, n_bytes=1082, tun_id=0x3e9,dl_dst=fa:16:3e:67:1a:30
> actions=output:12
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:1d:e5:e4
> actions=output:11
> table=110, n_packets=9, n_bytes=1082, tun_id=0x3e9,dl_dst=fa:16:3e:f1:5a:a4
> actions=output:10
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:65:0c:99
> actions=output:2
> table=110, n_packets=6, n_bytes=956, tun_id=0x3e9,dl_dst=fa:16:3e:df:0e:77
> actions=output:13
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:be:58:91
> actions=output:2
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:25:f6:50
> actions=output:2
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:88:96:20
> actions=output:2
> table=110, n_packets=0, n_bytes=0, tun_id=0x3e9,dl_dst=fa:16:3e:60:ea:00
> actions=output:2
> table=110, n_packets=14, n_bytes=980, tun_id=0x3e9,dl_dst=fa:16:3e:1a:b8:62
> actions=output:3
> table=110, n_packets=205, n_bytes=21042,
> priority=16384,reg0=0x1,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00
> :00
> actions=output:9,output:2,output:3,output:10,output:11,output:12,output:13
> table=110, n_packets=614, n_bytes=51300,
> priority=16384,reg0=0x2,tun_id=0x3e9,dl_dst=01:00:00:00:00:00/01:00:00:00:00
> :00 actions=output:9,output:10,output:11,output:12,output:13
> table=110, n_packets=44, n_bytes=5111, priority=0 actions=drop
>
>
>
> Both Compute nodes have 5vm each.

Thanks for the output. Was this output before or after the "removeOutputPortFromInstructions" was invoked? Can you further describe the "problem"? I'm confused if this is just not ordering the port output as you expect, or if the port is in the list but it should have been removed. I'd be
more worried is something should not be there, or is missing. Output port ordering is not as concerning.

Comment by Seungho Chung [ 07/May/15 ]

it was wrong log.... sorry

i uploaded log to gist

https://gist.github.com/shchung/2be5589ae8056f5ec378

you can find out output:7 is disappear

Comment by Flavio Fernandes [ 07/May/15 ]

Gerrit: https://git.opendaylight.org/gerrit/#/c/19797/

Comment by Flavio Fernandes [ 15/May/15 ]

Fixed.

https://git.opendaylight.org/gerrit/#/c/19797/
https://git.opendaylight.org/gerrit/#/c/20234/

Generated at Wed Feb 07 20:35:38 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.