[ovs-discuss] Python Examples

Kurt Stieger kstieger at barracuda.com
Thu Sep 13 06:02:49 UTC 2018


Hi there,

are there any examples for the python (2.7) bindings of ovs?

I basically want automate the tasks I manually do with ovs-vsctl like:

ovs-vsctl init
ovs-vsctl show
ovs-vsctl add-br
ovs-vsctl del-br
ovs-vsctl list-br
ovs-vsctl br-exists
ovs-vsctl list-ports
ovs-vsctl add-port
ovs-vsctl del-port
ovs-vsctl br-exists
...

Or is it even better to trigger the commandline with subprocess?

Thanks a lot,
Kurt

________________________________
Barracuda Networks AG
Vorsitzender des Aufsichtsrates/ Chairman of the supervisory board: Dr. Klaus Perktold
Vorstand/ Executive Board: Dr. Klaus Gheri, Mag. Guenter Klausner
Sitz der Gesellschaft/ Registered office: 6020 Innsbruck, Austria
Handelsgericht Innsbruck Firmenbuch/ Registration Number: 184392s
UID-Nr/ VAT Number: ATU47509003

Zweigniederlassung Deutschland/ Office Germany: Radlkoferstr. 2, 81373 M?nchen
Handelsregister M?nchen / Registration Number: HRB 171749
UID-Nr/ VAT Number: DE237607533

===========================================================
Forrester names Barracuda WAF a Strong Performer!
Get the free report here!
https://www.barracuda.com/WAFWave

DISCLAIMER:
This e-mail and any attachments to it contain confidential and proprietary material of Barracuda, its affiliates or agents, and is solely for the use of the intended recipient. Any review, use, disclosure, distribution or copying of this transmittal is prohibited except by or on behalf of the intended recipient. If you have received this transmittal in error, please notify the sender and destroy this e-mail and any attachments and all copies, whether electronic or printed.
===========================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180913/e2487461/attachment-0001.html>


More information about the discuss mailing list