Hello,

Need some help in configuring flow table eviction group.
I tried to configure the eviction group, but i am seeing some warn/errors
and didn't come across any sample commands in web.

1. Can you please share some sample commands for passing NXM_OF_IN_PORT[]
as an argument to flow_table, overflow_policy, "groups"

2. As overflow_policy=evict, by default removes the flow which is going to
expire at the earliest.
    i want to configure the group in such a way, the group with the highest
number of common VLAN entries should evict first, i suppose i need to use
NXM_OF_VLAN_TCI

3. Is it possible to do flow table eviction based on the output port
instead of NXM_OF_IN_PORT ? there is no NXM_OF_OUT_PORT, so is that NO ?
    The reason i am asking this is, I use "Learn" action to dynamically
create MAC learn flows; so there will be more entries with common output
port, than source VLAN or MAC, so doing eviction based on output port is
preferred ?

This is what i tried in ovs-2.5.0, i am getting following warning.
ovs-vsctl add-br kapil
ovs-vsctl -- --id=@ft  create  Flow_Table  flow_limit=5
 overflow_policy=evict group=NXM_OF_IN_PORT  -- set Bridge kapil
flow_tables=0=@ft

Warning in OVS log:  2016-07-15T09:42:35.704Z|00381|bridge|WARN|bridge
kapil table 0: error parsing 'groups' (NXM_OF_IN_PORT: missing [ looking
for field name)

root@ubuntu:~# ovs-vsctl list flow_table
_uuid               : f2d9a3b4-ee77-4bf9-b364-6f78ab9560d7
external_ids        : {}
flow_limit          : 5
groups              : [NXM_OF_IN_PORT]
name                : []
overflow_policy     : evict
prefixes            : []

Thanks
Kapil.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to