Ask Your Question

Bug? Delete flow via rest API, delete it in ODL but not in the vswitch

asked 2015-04-06 16:14:55 -0700

rolecram gravatar image

Hi guys; We sent a Delete flow command via REST API and found that the flow was removed from the ODL but it was still present in the open virtual switch,

We can not reproduce the error.

The ODL log file did not show nothing abnormally.

Can be a bug? from the ODL? from the vswitch?

Anyone knows if ODL has a mechanism to ensure or notify when the command sent to it is not executed properly?

Thank you in advance, Marcelo

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-07 05:45:29 -0700

Nuno gravatar image

How are you deleting the flow ? I've deleted tables and particular flows. When I delete tables the only flows that are still on the switches are the ones coming from the l2switch module such as the drop, the lldp and the arp. Depending on your configuration files it can also install more flows due to the Arphandler project and the Mac-to-Mac flows. You can deativate some flows through the configuration files. If you don't want anything and you don't need the l2switch module just uninstall it and no flows will be added to your switches.

Regards, Nuno B.

edit flag offensive delete publish link more


Nuno: Thank you for your response. But In our test case, we inserted a set of static flows via REST API (HTTP PUT) and later, we removed all these static flows (we deleted them one by one via REST API HTTP DELETE). The problem is that one of these flows (that was inserted by our application) is removed from ODL but remains in the open virtual switch. It is important to note that the flow that was not removed from de vswitch, correspond to a flow that previusly was inserted by our applicaton. In our case the I2switch module is turn off. The host tracking y ARP handler do not generate flows themselves. Regards, Marcelo

rolecram ( 2015-04-07 07:39:31 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-06 16:14:55 -0700

Seen: 3,381 times

Last updated: Apr 07 '15