[ovs-discuss] access ovsdb in Python

Sławomir Kapłoński slawek at kaplonski.pl
Mon Feb 12 11:37:44 UTC 2018


You can check ovsdbapp: https://github.com/openstack/ovsdbapp which is used in OpenStack Neutron for communication with ovsdb AFAIK.

Best regards
Slawek Kaplonski
slawek at kaplonski.pl

> Wiadomość napisana przez Riccardo Ravaioli <riccardoravaioli at gmail.com> w dniu 12.02.2018, o godz. 11:15:
> Hi,
> I need to query ovsdb to find out the current topology of bridges, switches and interfaces. So far I've been launching ovs-vsctl as an external process from my Python script and each such query takes between 10 and 15 milliseconds. The number of queries increases linearly with the number of bridges/ports/interfaces, so I'm looking for a faster way to access ovsdb from Python code.
> I see there's a subdirectory Python in the github repository of openvswitch, but it doesn't seem to be too documented. Is this what I'm looking for? If so, are there any examples on how to use it?
> https://github.com/openvswitch/ovs/tree/master/python/
> Thanks!
> Riccardo
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

More information about the discuss mailing list