On Thu, Sep 11, 2014 at 05:34:34PM +0530, Saloni Jain wrote: > 1. As per current implementation, "ovs-vsctl create table ... > overflow-policy=evict" command, configures openvswitch database(conf.db) and > sets table structure eviction fields and eviction groups. > ? > 2. As per our understanding, the implementation of eviction for importance as > per openflow specification 1.4, should be in parallel with existing > functionality, i.e. if eviction for importance is set through mod-table > command and importance parameter is given by the user,then we must create the > eviction groups(eviction_group_add_rule) and at the time of eviction, obtain > the value on basis of importance from this group. > > 3. This approach requires table->eviction_field which is set only when create > table command with overflow-policy=evict is given. > > 4. mod-table command for setting the eviction parameter as importance will > only set the table config parameter as "importance" and will not set the > table->eviction fields. > > 5. So as per our understanding this should be mandatory to first enable > eviction on the complete table using create table ... overflow-policy=evict > and then change the mode of eviction as importance using mod-table command.
I would enable eviction if it is configured through the database or through the OpenFlow connection. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev