NetworkManager/examples/python/gi
Thomas Haller 7e39e23f64
examples: add "ovs-external-ids.py" example script
And example script for getting and setting OVS external-ids.

Since currently there is no nmcli support for these properties yet,
the script becomes more interesting.

This "example" is rather long, and it showcases less the usage of
libnm (which is rather trivial, with respect to configuring
NMSettingOvsExternalIDs). Instead, it aims to provide a useful
command line tool for debugging. Hence, it's mostly concerned with
an elaborate command line syntax and useful print output.
2020-11-09 17:53:15 +01:00
..
add_connection.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
checkpoint.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
deactivate-all.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
device-state-ip4config.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
dns.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
firewall-zone.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
get-active-connections.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
get-devices.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
get-interface-flags.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
get-lldp-neighbors.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
get_ips.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
list-connections.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
nm-add-connection2.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
nm-connection-update-stable-id.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
nm-keyfile.py example: add python gi example for keyfile handling 2020-10-28 14:30:49 +01:00
nm-update2.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
nm-wg-set examples: run python black on "examples/python/gi/nm-wg-set" 2020-07-02 17:37:12 +02:00
ovs-external-ids.py examples: add "ovs-external-ids.py" example script 2020-11-09 17:53:15 +01:00
README examples: add README for examples/python/gi 2015-12-07 15:59:20 +01:00
setting-user-data.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
show-wifi-networks.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
update-ip4-method.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
vpn-import.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
wifi-p2p.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00

These examples show how to call libnm from Python using
GObject introspection.