[ovs-discuss] python-ovs and OVSDB set types

2023-04-24 Thread Terry Wilson via discuss
A performance issue that has always bothered me: OVSDB has a set data type that matches up with Python's set data type (an unordered collection of unique items). The in-tree Python library represents this set type as a list. Not only does it do that, but every time you call Row.__getattr__()

Re: [ovs-discuss] JSON parser

2023-04-24 Thread Roberto Bartzen Acosta via discuss
Hi Ilya, thanks for your feedback. Em seg., 24 de abr. de 2023 às 15:28, Ilya Maximets escreveu: > On 4/13/23 13:35, Roberto Bartzen Acosta wrote: > > Hey folks, > > > > I've been reading some docs about parser acceleration for json and I > thought of the ovsdb case. I already had serious

Re: [ovs-discuss] JSON parser

2023-04-24 Thread Ilya Maximets via discuss
On 4/13/23 13:35, Roberto Bartzen Acosta wrote: > Hey folks, > > I've been reading some docs about parser acceleration for json and I thought > of the ovsdb case. I already had serious performance issues with ovsdb in > large-scale deployments. I noticed was that most of the processing was >

Re: [ovs-discuss] [HOW TO] get switch port information by openvswitch lldp

2023-04-24 Thread Ilya Maximets via discuss
On 4/24/23 10:41, LIU Yulong via discuss wrote: > Hi team, > > For ovs, we enable lldp for OVS-DPDK. After settings, we can get host > port information in physical switch side. > > But, we have a use case is how to get the switch information in host side. > Is there something similar to lldpcli

[ovs-discuss] [HOW TO] get switch port information by openvswitch lldp

2023-04-24 Thread LIU Yulong via discuss
Hi team, For ovs, we enable lldp for OVS-DPDK. After settings, we can get host port information in physical switch side. But, we have a use case is how to get the switch information in host side. Is there something similar to lldpcli commands? # lldpcli show neighbors