NetworkManager/clients/cli
Dan Winship f17699f4e3 libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway
The gateway is a global property of the IPv4/IPv6 configuration, not
an attribute of any particular address. So represent it as such in the
API; remove the gateway from NMIPAddress, and add it to
NMSettingIPConfig.

Behind the scenes, the gateway is still serialized along with the
first address in NMSettingIPConfig:addresses, and is deserialized from
that if the settings dictionary doesn't contain a 'gateway' key.

Adjust nmcli's interactive mode to prompt for IP addresses and gateway
separately. (Patch partly from Jirka Klimeš.)
2014-11-07 07:49:40 -05:00
..
agent.c cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway 2014-11-07 07:49:40 -05:00
common.h libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway 2014-11-07 07:49:40 -05:00
connections.c libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway 2014-11-07 07:49:40 -05:00
connections.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
devices.c cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
devices.h clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
general.c cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
general.h cli: rename network-manager.[ch] to general.[ch] 2014-10-01 11:53:07 +02:00
Makefile.am cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
nmcli-completion cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
nmcli.c cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
nmcli.h cli: add a polkit agent support for nmcli 2014-11-07 11:37:42 +01:00
polkit-agent.c cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c libnm-core: add NMSettingIPConfig:gateway, drop NMIPAddress:gateway 2014-11-07 07:49:40 -05:00
settings.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
utils.c cli: Add mode option for wifi connecitons 2014-10-23 18:34:39 +02:00
utils.h cli: Add mode option for wifi connecitons 2014-10-23 18:34:39 +02:00