Delete a flow from OVS without flow-id


Suryanarayanan, Aswin <aswin.suryanarayanan@...>
 

Hi,

 

Is there a way to delete a delete a flow from ovs without using a flow-id but  with match conditions as below?

 

sudo ovs-ofctl -O openflow13 del-flows br-int dl_dst=fa:16:3e:1f:3e:a6,table=90

 

When I tried with removeflow available in the AbstractServiceInstance, it mandates to have flow id set.

 

Thanks and Regards

Aswin

 


Anil Vishnoi
 

​are you deleting flow through config data store or through RPC?


On Mon, Sep 7, 2015 at 12:18 PM, Suryanarayanan, Aswin <aswin.suryanarayanan@...> wrote:

Hi,

 

Is there a way to delete a delete a flow from ovs without using a flow-id but  with match conditions as below?

 

sudo ovs-ofctl -O openflow13 del-flows br-int dl_dst=fa:16:3e:1f:3e:a6,table=90

 

When I tried with removeflow available in the AbstractServiceInstance, it mandates to have flow id set.

 

Thanks and Regards

Aswin

 


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev




--
Thanks
Anil


Suryanarayanan, Aswin <aswin.suryanarayanan@...>
 

Hi Anil,

 

I am trying to delete the flow through the config data store. I want the flow to be removed from the data store and from the switch.

 

Thanks and Regards

Aswin

 

From: Anil Vishnoi [mailto:vishnoianil@...]
Sent: Monday, September 07, 2015 1:08 PM
To: Suryanarayanan, Aswin
Cc: ovsdb-dev@...
Subject: Re: [ovsdb-dev] Delete a flow from OVS without flow-id

 

​are you deleting flow through config data store or through RPC?

 

 

On Mon, Sep 7, 2015 at 12:18 PM, Suryanarayanan, Aswin <aswin.suryanarayanan@...> wrote:

Hi,

 

Is there a way to delete a delete a flow from ovs without using a flow-id but  with match conditions as below?

 

sudo ovs-ofctl -O openflow13 del-flows br-int dl_dst=fa:16:3e:1f:3e:a6,table=90

 

When I tried with removeflow available in the AbstractServiceInstance, it mandates to have flow id set.

 

Thanks and Regards

Aswin

 


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



 

--

Thanks

Anil


Anil Vishnoi
 

Then i think there is no way as of now to match on the content. Until and unless you read all the flows from that switch table and find the required flow and use the flow-id from there.

Anil

On Mon, Sep 7, 2015 at 2:05 PM, Suryanarayanan, Aswin <aswin.suryanarayanan@...> wrote:

Hi Anil,

 

I am trying to delete the flow through the config data store. I want the flow to be removed from the data store and from the switch.

 

Thanks and Regards

Aswin

 

From: Anil Vishnoi [mailto:vishnoianil@...]
Sent: Monday, September 07, 2015 1:08 PM
To: Suryanarayanan, Aswin
Cc: ovsdb-dev@...
Subject: Re: [ovsdb-dev] Delete a flow from OVS without flow-id

 

​are you deleting flow through config data store or through RPC?

 

 

On Mon, Sep 7, 2015 at 12:18 PM, Suryanarayanan, Aswin <aswin.suryanarayanan@...> wrote:

Hi,

 

Is there a way to delete a delete a flow from ovs without using a flow-id but  with match conditions as below?

 

sudo ovs-ofctl -O openflow13 del-flows br-int dl_dst=fa:16:3e:1f:3e:a6,table=90

 

When I tried with removeflow available in the AbstractServiceInstance, it mandates to have flow id set.

 

Thanks and Regards

Aswin

 


_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



 

--

Thanks

Anil




--
Thanks
Anil