Beniamino Galvani
1ab616b59c
checkpoint: make python example accept multiple devices and timeout
...
Add a timeout parameter and allow passing multiple interfaces to make
the script more useful for testing purposes.
2016-09-26 15:10:39 +02:00
Beniamino Galvani
048801add3
checkpoint: add python D-Bus example
2016-08-17 14:55:34 +02:00
Lubomir Rintel
3a2803b42c
docs: replace spec.html with docbook D-Bus API reference
...
May use a lot of improvement (actually documenting the names and
objects that use the interfaces in question), but at least this looks a
lot better on developer.gnome.org.
2016-03-26 11:28:19 +01:00
Adrian Likins
6c59443ad5
Fix missing commas in list-devices devtypes dict.
2016-03-02 18:43:28 +01:00
Thomas Haller
1b00009169
device: add new NMDeviceType NM_DEVICE_TYPE_VETH
...
Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com >
2016-02-23 23:15:37 +01:00
Thomas Haller
71962881a8
examples: add missing device-types to examples
...
Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com >
2016-02-23 15:24:39 +01:00
Jiří Klimeš
8e3ae81566
examples: generate UUID in add-wifi-eap-connection.py
...
so that it can be run multiple times.
2015-09-17 14:49:04 +02:00
Jiří Klimeš
a25bbde641
examples: add a python example for adding WPA PSK Wi-Fi connection
...
and rename add-system-wifi-connection.py to add-wifi-eap-connection.py
2015-09-17 14:46:19 +02:00
Dan Williams
d1d048c93d
examples: add python+dbus example to print active access point
2015-07-08 09:31:22 -05:00
Jiří Klimeš
eebfe56a90
examples: python: add an D-Bus example creating and activating a bond
2015-06-23 15:06:31 +02:00
Jiří Klimeš
1e923cb923
examples: add wifi-hotspot.py script to Makefile.am
...
Fixes: 1af8e2f132
2015-06-23 15:04:43 +02:00
Dan Williams
1af8e2f132
examples: add DBus + Python example for starting/stopping a WiFi hotspot
2015-05-18 15:11:12 -05:00
Srdjan Grubor
0e1fe1fe4e
examples: update Python NM example to print detailed connection state
...
Current Python NM example has a very crude connection state output
and the global NM connectivity is not used in them either.
https://bugzilla.gnome.org/show_bug.cgi?id=746045
2015-03-12 10:39:00 +01:00
Petr Vorel
4213c17b44
examples: python: print into stderr
...
https://mail.gnome.org/archives/networkmanager-list/2015-March/msg00024.html
Signed-off-by: Petr Vorel <petr.vorel@gmail.com >
2015-03-10 12:17:59 +01:00
Thomas Haller
2171084378
examples/trvial: replace tabs by whitespace in python example
2015-03-10 12:17:23 +01:00
Dan Winship
66936decfa
examples: update python examples
...
Update the raw D-Bus python examples to use newer APIs where
appropriate (and split the add-connection example into 1.0-only and
0.9-compatible versions). Update the gi-based python examples for the
various API changes since they were last updated.
Also add a comment to the ruby add-connection example pointing out
that it's still using the old settings APIs.
2014-11-15 09:31:49 -05:00
Thomas Haller
0923769285
test,examples: fix scripts to avoid 'has_key' for Python 3
...
'has_key' on Dictionaries is removed from Python3 in favor of 'in'.
Signed-off-by: Thomas Haller <thaller@redhat.com >
2014-10-31 16:39:00 +01:00
Dan Williams
5a4e42bc51
examples: add Python dbus example indicating if WWAN is the default connection
2014-06-20 10:54:03 -05:00
Dan Williams
e8fb3864d1
examples: add Python D-Bus and GI examples for updating IPv4 setting method
2014-06-10 16:20:35 -05:00
Jiří Klimeš
524658f8a3
examples: fix Makefile.am to include all Python examples for distribution
2014-03-07 19:54:49 +01:00
Jiří Klimeš
f24eee5ee3
examples: also print type of active connections
2014-03-03 14:28:51 +01:00
William Jon McCann
74372f9f11
docs: update documentation links
...
Various GNOME services moved around so links need updating.
2013-12-17 12:07:51 -06:00
Jiří Klimeš
aa54604f59
examples: update examples for new device types
2013-11-29 09:29:56 +01:00
Jiří Klimeš
8a04ab9135
examples: group python examples - dbus vs. gi
...
Move examples using dbus-python ('dbus' module) and GObject introspection into
their own directories.
2013-09-24 12:52:33 +02:00