On 5/29/25 10:56 PM, Rukomoinikova Aleksandra wrote: > On 29.05.2025 23:48, Ilya Maximets wrote: >> A counteroffer: We have just one option, but if the table is not specified, >> then >> the filtering happens only at the top level as in your current >> implementation. >> But if the table is specified, then the filtering happens at the level of >> that >> particular table. i.e. --filter='ch0' in ovn-sbctl will be the same as >> --filter='chassis(ch0)', but I would still be able to use ovs-vsctl with >> --filter='interface(geneve)' to filter out only the geneve interfaces or use >> --filter='port(Port),int(key=123)' to print all the port names, but only >> print >> tunnel interfaces with the key=123 in them.
I suppose in this schema the 'interface(key=123)' and 'port(Port),int(key=123)' will actually give the same result. Because we'll be filtering interfaces out, but not the ports that hold them. In order to filter out ports that do not have matching interfaces one will need to use 'port(Interface),int(key=123)'. But that's still makes logical sense, so should be fine. We may need to add some examples to the docs. > > Yeah, okay, that sounds reasonable, thanks. I will send a new version. Thanks! Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev