| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | examples: add python/gi example nm-connection-update-stable-id.py | Thomas Haller | 2017-12-05 | 1 | -0/+116 |
| | | | | | | | The example script touches the stable-id of a connection. It does so blocking autoconnect, and was originally written to test that functionality. | ||||
| * | python: make dbus, gi examples, and debug-helper.py python3 ready | Yifan J | 2017-12-04 | 24 | -99/+99 |
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=791121 | ||||
| * | examples: add checkpoint example using python gobject-introspection | Beniamino Galvani | 2017-11-09 | 1 | -0/+130 |
| | | |||||
| * | examples: add python example using VPN import code | Thomas Haller | 2017-11-06 | 1 | -0/+74 |
| | | | | | Show how to load and use the VPN plugins from python. | ||||
| * | examples: add setting-user-data.py | Thomas Haller | 2017-05-06 | 1 | -0/+246 |
| | | | | | | | | | Add an example python script to show and set setting's user-data. This is useful, as nmcli still doesn't support user data. (cherry picked from commit 447c766f526ec8bc4f5aa109a5e261cf060d1042) | ||||
| * | examples: add DNS example with python and GObject introspection | Beniamino Galvani | 2016-12-12 | 1 | -0/+63 |
| | | |||||
| * | examples/python: fix "import gi" in example | Thomas Haller | 2016-11-16 | 1 | -0/+2 |
| | | | | | | | | Otherwise there is a warning: from gi.repository import GLib, NM __main__:1: PyGIWarning: NM was imported without specifying a version first. Use gi.require_version(NM, 1.0) before import to ensure that the right version gets loaded. | ||||
| * | build: merge "examples/Makefile.am" into toplevel Makefileth/non-recursive-make-bgo772985 | Thomas Haller | 2016-10-21 | 4 | -33/+0 |
| | | |||||
| * | checkpoint: make python example accept multiple devices and timeout | Beniamino Galvani | 2016-09-26 | 1 | -22/+34 |
| | | | | | | Add a timeout parameter and allow passing multiple interfaces to make the script more useful for testing purposes. | ||||
| * | checkpoint: add python D-Bus example | Beniamino Galvani | 2016-08-17 | 1 | -0/+63 |
| | | |||||
| * | docs: replace spec.html with docbook D-Bus API reference | Lubomir Rintel | 2016-03-26 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
| * | Fix missing commas in list-devices devtypes dict. | Adrian Likins | 2016-03-02 | 1 | -5/+5 |
| | | |||||
| * | device: add new NMDeviceType NM_DEVICE_TYPE_VETH | Thomas Haller | 2016-02-23 | 1 | -0/+1 |
| | | | | | Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com> | ||||
| * | examples: add missing device-types to examples | Thomas Haller | 2016-02-23 | 1 | -0/+4 |
| | | | | | Based-on-patch-by: Jiří Klimeš <jklimes@redhat.com> | ||||
| * | examples: add README for python-networkmanager NetworkManager library | Thomas Haller | 2015-12-07 | 3 | -1/+9 |
| | | |||||
| * | examples: add README for examples/python/gi | Thomas Haller | 2015-12-07 | 2 | -1/+4 |
| | | |||||
| * | libnm/libnm-glib: add NMClient.get_all_devices() method and AllDevices property | Dan Williams | 2015-12-04 | 1 | -0/+41 |
| | | | | | | Mirror new NetworkManager API to return both real devices and device placeholders. | ||||
| * | python: use gi.require_version() in generate-setting-docs.py and examples | Thomas Haller | 2015-11-11 | 10 | -0/+20 |
| | | | | | | | | | | | | | | | gi now emits a warning when not loading a specific library version [1]: ./generate-setting-docs.py:21: PyGIWarning: NM was imported without specifying a version first. Use gi.require_version(NM, 1.0) before import to ensure that the right version gets loaded. from gi.repository import NM, GObject Seems require_version() is reasonably old to just always use it without breaking on older versions [2]. [1] Related: https://bugzilla.gnome.org/show_bug.cgi?id=727379 [2] https://git.gnome.org/browse/pygobject/commit/?id=76758efb6579752237a0dc4d56cf9518de6c6e55 | ||||
| * | examples: add python GI example for retrieving LLDP neighbors | Beniamino Galvani | 2015-10-12 | 1 | -0/+52 |
| | | |||||
| * | examples: generate UUID in add-wifi-eap-connection.py | Jiří Klimeš | 2015-09-17 | 1 | -2/+2 |
| | | | | | so that it can be run multiple times. | ||||
| * | examples: add a python example for adding WPA PSK Wi-Fi connection | Jiří Klimeš | 2015-09-17 | 3 | -1/+58 |
| | | | | | and rename add-system-wifi-connection.py to add-wifi-eap-connection.py | ||||
| * | examples: add flags and mode parsing to show-wifi-networks.[lua|py] | Jiří Klimeš | 2015-08-24 | 1 | -0/+64 |
| | | |||||
| * | examples: add python+dbus example to print active access point | Dan Williams | 2015-07-08 | 2 | -1/+68 |
| | | |||||
| * | examples: python: add an D-Bus example creating and activating a bond | Jiří Klimeš | 2015-06-23 | 2 | -1/+116 |
| | | |||||
| * | examples: add wifi-hotspot.py script to Makefile.am | Jiří Klimeš | 2015-06-23 | 1 | -1/+2 |
| | | | | | Fixes: 1af8e2f132f64a9f3c012a57f4b67422ccf62ad5 | ||||
| * | examples: add DBus + Python example for starting/stopping a WiFi hotspot | Dan Williams | 2015-05-18 | 1 | -0/+112 |
| | | |||||
| * | examples: update Python NM example to print detailed connection state | Srdjan Grubor | 2015-03-12 | 1 | -6/+19 |
| | | | | | | | | 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 | ||||
| * | examples: python: print into stderr | Petr Vorel | 2015-03-10 | 5 | -5/+5 |
| | | | | | | | https://mail.gnome.org/archives/networkmanager-list/2015-March/msg00024.html Signed-off-by: Petr Vorel <petr.vorel@gmail.com> | ||||
| * | examples/trvial: replace tabs by whitespace in python example | Thomas Haller | 2015-03-10 | 1 | -2/+2 |
| | | |||||
| * | examples: add a Python example deactivating connections by type (bgo #732826) | Jiří Klimeš | 2015-03-05 | 2 | -1/+83 |
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=732826 | ||||
| * | examples: update python examples | Dan Winship | 2014-11-15 | 11 | -136/+221 |
| | | | | | | | | | | | 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. | ||||
| * | test,examples: fix scripts to avoid 'has_key' for Python 3 | Thomas Haller | 2014-10-31 | 1 | -1/+1 |
| | | | | | | | 'has_key' on Dictionaries is removed from Python3 in favor of 'in'. Signed-off-by: Thomas Haller <thaller@redhat.com> | ||||
| * | examples: fix python GI examples to work after libnm changes | Jiří Klimeš | 2014-09-05 | 5 | -76/+56 |
| | | |||||
| * | libnm: make the the use of GInitable mandatory | Dan Winship | 2014-08-01 | 4 | -4/+4 |
| | | | | | | | | | | | | Remove _nm_object_ensure_inited(), etc; objects that implement GInitable are now mandatory-to-init(). Remove constructor() implementations that sometimes return NULL; do all the relevant checking in init() instead. Make nm_client_new() and nm_remote_settings_new() take a GCancellable and a GError**. | ||||
| * | all: port everything to libnm | Dan Winship | 2014-08-01 | 8 | -41/+39 |
| | | | | | | | | | | | | Since the API has not changed at this point, this is mostly just a matter of updating Makefiles, and changing references to the library name in comments. NetworkManager cannot link to libnm due to the duplicated type/symbol names. So it links to libnm-core.la directly, which means that NetworkManager gets a separate copy of that code from libnm.so. Everything else links to libnm. | ||||
| * | examples: add Python dbus example indicating if WWAN is the default connection | Dan Williams | 2014-06-20 | 2 | -1/+80 |
| | | |||||
| * | examples: add Python D-Bus and GI examples for updating IPv4 setting method | Dan Williams | 2014-06-10 | 4 | -2/+182 |
| | | |||||
| * | examples: fix Makefile.am to include all Python examples for distribution | Jiří Klimeš | 2014-03-07 | 1 | -1/+1 |
| | | |||||
| * | example: simplify get-active-connections.py by using ID and Type properties | Jiří Klimeš | 2014-03-05 | 1 | -16/+3 |
| | | |||||
| * | examples: add a GOI Python example for getting active connections | Jiří Klimeš | 2014-03-03 | 2 | -1/+49 |
| | | |||||
| * | examples: also print type of active connections | Jiří Klimeš | 2014-03-03 | 1 | -1/+1 |
| | | |||||
| * | examples: a Python GOI example for adding connections persistent vs. not saved | Jiří Klimeš | 2014-01-24 | 2 | -1/+103 |
| | | |||||
| * | examples: update get_ips.py python example for DNS information | Jiří Klimeš | 2014-01-23 | 1 | -4/+40 |
| | | |||||
| * | examples: add an python example (using GI) getting device IPs | Jiří Klimeš | 2014-01-16 | 2 | -1/+129 |
| | | |||||
| * | docs: update documentation links | William Jon McCann | 2013-12-17 | 2 | -2/+2 |
| | | | | | Various GNOME services moved around so links need updating. | ||||
| * | examples: update examples for new device types | Jiří Klimeš | 2013-11-29 | 1 | -1/+6 |
| | | |||||
| * | examples: add an python example (using GI) showing Wi-Fi networks | Jiří Klimeš | 2013-09-26 | 2 | -1/+75 |
| | | |||||
| * | examples: use GLib.MainLoop instead of deprecated GObject.MainLoop in python | Jiri Popelka | 2013-09-24 | 3 | -6/+6 |
| | | | | | | jklimes: made the change for new firewall-zone.py example as well. | ||||
| * | examples: group python examples - dbus vs. gi | Jiří Klimeš | 2013-09-24 | 16 | -14/+17 |
| | | | | | | Move examples using dbus-python ('dbus' module) and GObject introspection into their own directories. | ||||
| * | examples: add a python example getting/setting zone property using GI | Jiří Klimeš | 2013-09-24 | 2 | -1/+89 |
| | | |||||
