fwiw; Open vSwitch do distribute Python client libraries [0], but they may be a bit complex for this simple use case. We do maintain a SimpleOVSDB interface [1] and there is an example of how it could be used to iterate over stuff [2]. Feel free to use, steal or whatever suits your needs :)
fwiw; Open vSwitch do distribute Python client libraries [0], but they may be a bit complex for this simple use case. We do maintain a SimpleOVSDB interface [1] and there is an example of how it could be used to iterate over stuff [2]. Feel free to use, steal or whatever suits your needs :)
0: https:/ /docs.openvswit ch.org/ en/latest/ topics/ language- bindings/ /github. com/juju/ charm-helpers/ blob/master/ charmhelpers/ contrib/ network/ ovs/ovsdb. py /github. com/juju/ charm-helpers/ blob/ac1dbb456e 9d889e04a9a7343 23f4b4adf6879a4 /charmhelpers/ contrib/ network/ ovs/__init_ _.py#L633- L668
1: https:/
2: https:/