Ask Your Question
0

Two flows (match: input interface, output: punt to controller) installed on its own, on deleting a flow from opendaylight controller.

asked 2015-12-22 00:07:13 -0700

dsabnani gravatar image

I am using Open-daylight controller to install flows on Cisco switches.

On deleting an installed flow, two more flows get installed (match - input interface, output - punt to controller). I have two Open-flow interfaces configured on the switch currently. Is this an expected behavior ? What do I do to avoid this ?

Installing 1st flow - 3650stack#sh openflow switch 1 flows controller brief openflow-3650stack-5821 Logical Switch Id: 1 Total flows: 3 Flow: 1 Match: udp,nw_src=9.9.9.9 Actions: output:5098 Priority: 32768, Table: 0, Cookie: 0x0, Duration: 3.154s, Packets: 0, Bytes: 0 Flow: 2 Match: dl_type=0x88cc Actions: CONTROLLER:65535 Priority: 100, Table: 0, Cookie: 0x2b00000000000001, Duration: 3.154s, Packets: 0, Bytes: 0 Flow: 3 Match: Actions: drop Priority: 0, Table: 0, Cookie: 0x2b00000000000000, Duration: 3.211s, Packets: 0, Bytes: 0 After deleting the flow#1 from the switch, two more flows get installed on its own. 3650stack#sh openflow switch 1 flows controller brief openflow-3650stack-5821 Logical Switch Id: 1 Total flows: 4 Flow: 1 Match: dl_type=0x88cc Actions: CONTROLLER:65535 Priority: 100, Table: 0, Cookie: 0x2b00000000000001, Duration: 15.983s, Packets: 0, Bytes: 0 Flow: 2 Match: in_port=5098 Actions: output:5097,CONTROLLER:65535 Priority: 2, Table: 0, Cookie: 0x2b00000000000000, Duration: 12.117s, Packets: 0, Bytes: 0 Flow: 3 Match: in_port=5097 Actions: output:5098,CONTROLLER:65535 Priority: 2, Table: 0, Cookie: 0x2b00000000000001, Duration: 12.117s, Packets: 0, Bytes: 0 Flow: 4 Match: Actions: drop Priority: 0, Table: 0, Cookie: 0x2b00000000000000, Duration: 16.04s, Packets: 0, Bytes: 0 3650stack#

This is impacting my automation work since any flow that i install matches one of the two flows installed and my test case fails. Please help.

Thanks.

edit retag flag offensive close merge delete

Comments

Which version of ODL are you using? What are features installed? How are you adding the flows?

Vishal Thapar ( 2015-12-22 00:27:44 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-22 09:32:05 -0700

dsabnani gravatar image

Hello,

ODL version is: distribution-karaf-0.3.1-Lithium-SR1

Features installed: opendaylight-user@root>feature:install odl-restconf opendaylight-user@root>feature:install odl-dlux-all opendaylight-user@root>feature:install odl-l2switch-switch opendaylight-user@root>feature:install odl-mdsal-apidocs opendaylight-user@root>feature:install odl-openflowplugin-flow-services-ui opendaylight-user@root>

Adding/Deleting the flows using the Yang UI.

edit flag offensive delete publish link more
0

answered 2015-12-22 22:53:51 -0700

Vishal Thapar gravatar image

This looks like flows added by l2switch and if you don't install l2switch feature these should be gone. Note that uninstalling feature doesn't work well, you will have to do a clean restart and make sure to NOT install l2switch feature.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-12-22 00:07:13 -0700

Seen: 526 times

Last updated: Dec 22 '15