NetworkManager/clients/cli
Thomas Haller 64c178712a cli: use nm_client_add_connection2() API from nmcli
Make use of the new API. Note that AddConnection2() covers all
functionality of AddConnection() and AddConnectionUnsaved(). Let's
only use one API for all.

There is a minor downside to this patch: now nmcli requires
libnm 1.20 API. Note that libnm's nm_client_add_connection2()
makes an effort to avoid AddConnection2() under the hood to
still work against older server versions. So, you can use nmcli
with libnm 1.20 to talk to older versions of NetworkManager.

But with this change nmcli strictly requires libnm 1.20. I think that is
sensible because commonly nmcli requires a libnm version that is as new
as itself.
Also, the value of allowing nmcli to talk to older NetworkManager
versions is during package upgrade (where the daemon might not be
restarted). This is much less concern w.r.t. to updating the nmcli/libnm
combo, which is commonly packaged together.
2019-07-25 15:26:49 +02:00
..
agent.c clients/secret-agent: allow suppressing prompting the entry-id when requesting secrets 2019-02-14 08:00:29 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: tab complete only full D-Bus paths if there is no prefix 2019-04-15 20:50:50 +02:00
common.h cli: add nmc_complete_strv() which takes a string array for completion that may contain NULL 2019-03-07 22:22:39 +01:00
connections.c cli: use nm_client_add_connection2() API from nmcli 2019-07-25 15:26:49 +02:00
connections.h cli/connections: export nmc_active_connection_cmp() 2018-11-21 11:46:21 +01:00
devices.c cli: don't force interface name on add_and_activate 2019-05-28 14:40:18 +02:00
devices.h cli: rework printing of "wired" and "wifi" device details 2018-07-09 15:43:55 +02:00
general.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 18:59:09 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
meson.build build/meson: rename "nm_core_dep" to "libnm_core_dep" 2019-04-18 18:59:09 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: drop GValue transform functions for strdict and implement it in _get_fcn_gobject_impl() 2019-04-25 08:20:03 +02:00
nmcli.h clients: don't tread secret agent as NMSecretAgentOld 2019-02-05 08:27:42 +01:00
polkit-agent.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 18:59:09 +02:00
settings.h cli: merge remove-property, reset-property and set-property 2019-03-25 09:12:32 +01:00
utils.c cli: drop unnecessary NULL sentinel from nmc_complete_strings() 2019-04-15 20:50:50 +02:00
utils.h cli: don't use global variable nm_cli in nmc_terminal_spawn_pager() 2018-10-10 09:55:45 +02:00