NetworkManager/clients/cli
Beniamino Galvani 61b666902b cli: enable secret-agent only after activation
Change the activation procedure for connections that require secrets
in the following way:

 - nmcli creates a secret-agent and leaves it disabled so that
   incoming requests are queued
 - nmcli calls ActivateConnection()
 - when the method returns success, the secret-agent gets enabled and
   all queued requests are processed

When the user activates a connection which is already auto-activating,
NM will deactivate the current active-connection and will call
CancelGetSecrets() for it before the new ActivateConnection()
returns. In this way, when the secret-agent is enabled by nmcli, we
have the guarantee that there aren't any queued requests for
the deactivating connections.

https://bugzilla.redhat.com/show_bug.cgi?id=1438476
2017-11-02 15:25:59 +01:00
..
agent.c cli: move NmcMetaGenericInfo to "utils.h" 2017-04-05 16:53:06 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c libnm: avoid unnecessary copies accessing NMIPRoute's attributes 2017-10-30 14:12:41 +01:00
common.h build: move nm-client-utils.c to libnmc-base.a 2017-10-16 17:25:35 +02:00
connections.c cli: enable secret-agent only after activation 2017-11-02 15:25:59 +01:00
connections.h cli: move and rename TermColor and TermFormat 2017-04-05 16:53:06 +02:00
devices.c cli: wifi: connect with PSK when the AP supports WPA-PSK and WPA-EAP 2017-09-20 09:23:54 +02:00
devices.h cli: move and rename TermColor and TermFormat 2017-04-05 16:53:06 +02:00
general.c cli: show new enable-disable-connectivity-check permission 2017-08-17 23:09:07 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nmcli.h cli: spawn a pager when running on a terminal 2017-05-15 17:23:51 +02:00
polkit-agent.c cli: move NmcMetaGenericInfo to "utils.h" 2017-04-05 16:53:06 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c cli: don't mark field names for translation 2017-04-23 23:45:02 +02:00
settings.h cli: move setting creation to meta data 2017-04-12 14:12:20 +02:00
utils.c cli: ignore PAGER when escalating privileges 2017-10-30 15:27:05 +01:00
utils.h cli: refactor printing IP6 device info 2017-09-26 19:36:51 +02:00