Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-17 Thread Ben Pfaff
On Fri, Jul 17, 2015 at 05:54:57PM +0530, Saloni Jain wrote: > The main problem in the whole implementation which I am facing currently is > in encoding and decoding of table-mod config value. > For table-config, as per the specification we can send only three values - > OFPTC14_EVICTION, OFPTC14

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-17 Thread Saloni Jain
IT Services Business Solutions Consulting -Ben Pfaff wrote: - To: Saloni Jain From: Ben Pfaff Date: 07/16/2015 11:13PM Cc: dev@openvswitch.org, Deepankar Gupta , Partha Datta Subject: Re: [ovs-dev] ovs-ofctl mod-table commands supporting

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-16 Thread Ben Pfaff
On Thu, Jul 16, 2015 at 12:26:20PM +0530, Saloni Jain wrote: > So what I think that instead of "ovs-ofctl table-mod" to use an > OFPMP_TABLE_DESC request to obtain the current configuration, then > modify it according to the user's request, "ovs-vswitchd" should query > and store the current table-

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-15 Thread Saloni Jain
Experience certainty. IT Services Business Solutions Consulting -Ben Pfaff wrote: - To: Saloni Jain From: Ben Pfaff Date: 07/16/2015 05:50AM Cc: dev@openvswitch.org, Deepankar Gupta , Partha Datta Subject: Re: [ovs-

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-15 Thread Ben Pfaff
On Tue, Jul 14, 2015 at 05:51:50PM +0530, Saloni Jain wrote: > In addition to my previous response, please suggest if "vswitchd" > should query and get the current stored table-configurartion > using query_tables_desc() and then modify table-config properties > according to user's request. I don't

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-15 Thread Ben Pfaff
On Tue, Jul 14, 2015 at 11:39:17AM +0530, Saloni Jain wrote: > Thanks for the reply. > Please help me understand below points: > As per openflow specification 1.4, Page 72 "The flag OFPTC_VACANCY_EVENTS > control vacancy events in that table (see 7.4.5). If this flag is set, the > switch must gen

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-14 Thread Saloni Jain
: "dev" Date: 07/14/2015 11:40AM Cc: dev@openvswitch.org, Deepankar Gupta , Partha Datta Subject: Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events Hi Ben, Thanks for the reply. Please help me understand below points: As per openflow s

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-13 Thread Saloni Jain
Hi Ben, Thanks for the reply. Please help me understand below points: As per openflow specification 1.4, Page 72 "The flag OFPTC_VACANCY_EVENTS control vacancy events in that table (see 7.4.5). If this flag is set, the switch must generate vacancy events for that table. If this flag is unset, th

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-13 Thread Ben Pfaff
On Mon, Jul 13, 2015 at 08:23:45AM -0700, Ben Pfaff wrote: > On Mon, Jul 13, 2015 at 04:19:46PM +0530, Saloni Jain wrote: > > 2. ovs-ofctl -O Openflow14 mod-table  vacancy-   > > -- To be implemented > > OFPTC14_VACANCY_EVENTS is the only set table-mod config property and > > eviction if configu

Re: [ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-13 Thread Ben Pfaff
On Mon, Jul 13, 2015 at 04:19:46PM +0530, Saloni Jain wrote: > 2. ovs-ofctl -O Openflow14 mod-table  vacancy-   -- > To be implemented > OFPTC14_VACANCY_EVENTS is the only set table-mod config property and eviction > if configured previously will get unset. I don't think it's good for mod-table

[ovs-dev] ovs-ofctl mod-table commands supporting OF1.4 Eviction and Vacancy-Events

2015-07-13 Thread Saloni Jain
Hi Ben, With implementation of vacancy-events along with eviction, following ovs-ofctl table-mod command will be supported in ovs: 1. ovs-ofctl -O Openflow14 mod-table  evict   -- Already supported in ovs master branch OFPTC14_EVICTION is the only set table-mod config property and vacancy-even