On Wed, Mar 6, 2024 at 3:07 PM Naveen Yerramneni via discuss
<ovs-discuss@openvswitch.org> wrote:
>
> Hi All,
>
> We are exploring the possibility of doing some Flow_Table settings (like 
> classifier optimizations)  through OVN.
>
> One possible option could be to expose this in ovn-nb config and propagate it 
> to ovn-sb.
>  - Add new table with name “Flow_Config” which stores settings (similar to 
> Flow_Table in  vwitchd.conf.db)
>  - Add new columns “flow_table_in_settings” and “flow_table_out_settings” in 
> NB_Global and SB_Global tables.
>    The type of these columns is map of <int>:<Flow_Config_entry> where key is 
> logical pipeline stage number and
>   value points to a row entry in Flow_Config table.
>
> OVN controller uses this information and configures vwitchd.config.db.
>  - Flow_Table rows in vswitchd.conf.db are populated using Flow_Config table 
> in southbound.
>  - Bridge table's flow_tables column is populated using keys (logical table 
> numbers) in flow_table_in_settings and
>   flow_table_out_settings columns of SB_Global table . During configuration, 
> OVN controller adds offset
>  OFTABLE_LOG_INGRESS_PIPELINE for ingress tables and 
> OFTABLE_LOG_EGRESS_PIPELINE for egress pipelines.
>
> Probably a new command can be added to northd to dump the logical switch and 
> logical router
> ingress and egress pipeline stage table names and numbers for reference.
>
> Please share your thoughts/inputs on this.

Generally,  to configure anything which is chassis related,  we have
used the local openvswitch table.  Each ovn-controller would read
that and configure accordingly.  One example is - ovn-openflow-probe-interval.

Can't we do something similar here ?  I understand that this config
needs to be done on each chassis,  but if it is a one time thing,
then perhaps it should not be a big concern.  Does this approach work for you ?

Thanks
Numan

>
> Thanks,
> Naveen
> _______________________________________________
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to