From 2bfb3eb7d0323e69affca154395f51d8b577414d Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 6 Apr 2016 00:46:19 +0200 Subject: Imported Upstream version 1.1.93 --- callouts/Makefile.am | 1 - callouts/Makefile.in | 1 - callouts/nm-dispatcher.xml | 119 +- callouts/tests/Makefile.am | 1 - callouts/tests/Makefile.in | 1 - clients/Makefile.am | 1 - clients/Makefile.in | 1 - clients/cli/Makefile.am | 1 - clients/cli/Makefile.in | 1 - clients/cli/connections.c | 59 +- clients/cli/settings.c | 31 +- clients/tui/Makefile.am | 1 - clients/tui/Makefile.in | 1 - config.h.in | 3 + configure | 51 +- configure.ac | 19 +- docs/api/Makefile.am | 23 +- docs/api/Makefile.in | 27 +- docs/api/html/NetworkManager.conf.html | 44 +- docs/api/html/NetworkManager.devhelp2 | 3 + docs/api/html/NetworkManager.html | 20 +- ...org.freedesktop.NetworkManager.AccessPoint.html | 43 +- ...rg.freedesktop.NetworkManager.AgentManager.html | 24 +- ...eedesktop.NetworkManager.Connection.Active.html | 79 +- ...org.freedesktop.NetworkManager.DHCP4Config.html | 6 +- ...org.freedesktop.NetworkManager.DHCP6Config.html | 6 +- ...org.freedesktop.NetworkManager.Device.Adsl.html | 3 +- ...reedesktop.NetworkManager.Device.Bluetooth.html | 11 +- ...org.freedesktop.NetworkManager.Device.Bond.html | 11 +- ...g.freedesktop.NetworkManager.Device.Bridge.html | 11 +- ....freedesktop.NetworkManager.Device.Generic.html | 6 +- ...freedesktop.NetworkManager.Device.IPTunnel.html | 37 +- ...eedesktop.NetworkManager.Device.Infiniband.html | 7 +- ....freedesktop.NetworkManager.Device.Macvlan.html | 12 +- ...rg.freedesktop.NetworkManager.Device.Modem.html | 14 +- ...freedesktop.NetworkManager.Device.OlpcMesh.html | 12 +- ...org.freedesktop.NetworkManager.Device.Team.html | 11 +- ...-org.freedesktop.NetworkManager.Device.Tun.html | 24 +- ...org.freedesktop.NetworkManager.Device.Veth.html | 3 +- ...org.freedesktop.NetworkManager.Device.Vlan.html | 13 +- ...rg.freedesktop.NetworkManager.Device.Vxlan.html | 58 +- ...rg.freedesktop.NetworkManager.Device.WiMax.html | 49 +- ...rg.freedesktop.NetworkManager.Device.Wired.html | 16 +- ...freedesktop.NetworkManager.Device.Wireless.html | 56 +- ...dbus-org.freedesktop.NetworkManager.Device.html | 194 +- ...s-org.freedesktop.NetworkManager.IP4Config.html | 42 +- ...s-org.freedesktop.NetworkManager.IP6Config.html | 33 +- .../gdbus-org.freedesktop.NetworkManager.PPP.html | 8 +- ...org.freedesktop.NetworkManager.SecretAgent.html | 61 +- ...desktop.NetworkManager.Settings.Connection.html | 76 +- ...us-org.freedesktop.NetworkManager.Settings.html | 89 +- ....freedesktop.NetworkManager.VPN.Connection.html | 18 +- ...-org.freedesktop.NetworkManager.VPN.Plugin.html | 94 +- .../html/gdbus-org.freedesktop.NetworkManager.html | 215 +- docs/api/html/index.html | 11 +- docs/api/html/index.sgml | 42 + docs/api/html/manpages.html | 13 +- docs/api/html/nm-online.html | 120 + docs/api/html/nm-settings-ifcfg-rh.html | 64 +- docs/api/html/nm-settings-keyfile.html | 54 +- docs/api/html/nm-settings.html | 89 +- docs/api/html/nmcli-examples.html | 871 ++-- docs/api/html/nmcli.html | 2282 ++++++++++ docs/api/html/nmtui.html | 88 + docs/api/network-manager-docs.xml | 81 +- docs/api/version.xml | 2 +- docs/libnm-glib/Makefile.am | 1 + docs/libnm-glib/Makefile.in | 1 + docs/libnm-glib/html/index.html | 2 +- docs/libnm-glib/version.xml | 2 +- docs/libnm-util/Makefile.am | 1 + docs/libnm-util/Makefile.in | 1 + docs/libnm-util/html/index.html | 2 +- .../libnm-util/html/libnm-util-NetworkManager.html | 39 +- .../html/libnm-util-NetworkManagerVPN.html | 12 +- docs/libnm-util/version.xml | 2 +- docs/libnm/Makefile.am | 1 + docs/libnm/Makefile.in | 1 + docs/libnm/html/NMSettingBond.html | 150 +- docs/libnm/html/NMSettingIPConfig.html | 10 + docs/libnm/html/NMWimaxNsp.html | 61 +- docs/libnm/html/api-index-full.html | 66 +- docs/libnm/html/index.html | 2 +- docs/libnm/html/index.sgml | 26 +- docs/libnm/html/libnm-nm-dbus-interface.html | 102 +- docs/libnm/html/libnm-nm-version.html | 32 + docs/libnm/html/libnm-nm-vpn-dbus-interface.html | 12 +- docs/libnm/html/libnm.devhelp2 | 26 +- docs/libnm/html/object-tree.html | 2 +- docs/libnm/libnm-sections.txt | 22 +- docs/libnm/version.xml | 2 +- examples/dispatcher/10-ifcfg-rh-routes.sh | 2 +- introspection/Makefile.am | 4 - introspection/Makefile.in | 10 +- introspection/all.xml.in | 74 - introspection/errors.xml | 24 - introspection/generic-types.xml | 50 - introspection/nm-access-point.xml | 176 +- introspection/nm-active-connection.xml | 258 +- introspection/nm-agent-manager.xml | 63 +- introspection/nm-device-adsl.xml | 25 +- introspection/nm-device-bond.xml | 50 +- introspection/nm-device-bridge.xml | 50 +- introspection/nm-device-bt.xml | 60 +- introspection/nm-device-ethernet.xml | 64 +- introspection/nm-device-generic.xml | 34 +- introspection/nm-device-infiniband.xml | 37 +- introspection/nm-device-ip-tunnel.xml | 142 +- introspection/nm-device-macvlan.xml | 54 +- introspection/nm-device-modem.xml | 75 +- introspection/nm-device-olpc-mesh.xml | 48 +- introspection/nm-device-team.xml | 50 +- introspection/nm-device-tun.xml | 104 +- introspection/nm-device-veth.xml | 25 +- introspection/nm-device-vlan.xml | 55 +- introspection/nm-device-vxlan.xml | 225 +- introspection/nm-device-wifi.xml | 232 +- introspection/nm-device-wimax.xml | 177 +- introspection/nm-device.xml | 1069 ++--- introspection/nm-dhcp4-config.xml | 42 +- introspection/nm-dhcp6-config.xml | 42 +- introspection/nm-ip4-config.xml | 155 +- introspection/nm-ip6-config.xml | 132 +- introspection/nm-manager.xml | 746 ++-- introspection/nm-secret-agent.xml | 311 +- introspection/nm-settings-connection.xml | 267 +- introspection/nm-settings.xml | 278 +- introspection/nm-vpn-connection.xml | 172 +- introspection/nm-vpn-plugin.xml | 383 +- introspection/nm-wimax-nsp.xml | 66 +- ...-org.freedesktop.NetworkManager.AccessPoint.xml | 39 +- ...reedesktop.NetworkManager.Connection.Active.xml | 78 +- ...org.freedesktop.NetworkManager.AgentManager.xml | 16 +- ...-org.freedesktop.NetworkManager.Device.Adsl.xml | 3 +- ...-org.freedesktop.NetworkManager.Device.Bond.xml | 11 +- ...rg.freedesktop.NetworkManager.Device.Bridge.xml | 11 +- ...freedesktop.NetworkManager.Device.Bluetooth.xml | 10 +- ...org.freedesktop.NetworkManager.Device.Wired.xml | 16 +- ...g.freedesktop.NetworkManager.Device.Generic.xml | 6 +- ...reedesktop.NetworkManager.Device.Infiniband.xml | 7 +- ....freedesktop.NetworkManager.Device.IPTunnel.xml | 37 +- ...g.freedesktop.NetworkManager.Device.Macvlan.xml | 12 +- ...org.freedesktop.NetworkManager.Device.Modem.xml | 12 +- ....freedesktop.NetworkManager.Device.OlpcMesh.xml | 12 +- ...evice-org.freedesktop.NetworkManager.Device.xml | 181 +- ...-org.freedesktop.NetworkManager.Device.Team.xml | 11 +- ...n-org.freedesktop.NetworkManager.Device.Tun.xml | 24 +- ...-org.freedesktop.NetworkManager.Device.Veth.xml | 3 +- ...-org.freedesktop.NetworkManager.Device.Vlan.xml | 13 +- ...org.freedesktop.NetworkManager.Device.Vxlan.xml | 58 +- ....freedesktop.NetworkManager.Device.Wireless.xml | 48 +- ...org.freedesktop.NetworkManager.Device.WiMax.xml | 47 +- ...-org.freedesktop.NetworkManager.DHCP4Config.xml | 6 +- ...-org.freedesktop.NetworkManager.DHCP6Config.xml | 6 +- ...ig-org.freedesktop.NetworkManager.IP4Config.xml | 42 +- ...ig-org.freedesktop.NetworkManager.IP6Config.xml | 33 +- ...dbus-manager-org.freedesktop.NetworkManager.xml | 184 +- ...-org.freedesktop.NetworkManager.SecretAgent.xml | 53 +- ...edesktop.NetworkManager.Settings.Connection.xml | 62 +- ...ngs-org.freedesktop.NetworkManager.Settings.xml | 75 +- ...g.freedesktop.NetworkManager.VPN.Connection.xml | 17 +- ...n-org.freedesktop.NetworkManager.VPN.Plugin.xml | 75 +- introspection/vpn-errors.xml | 60 - libnm-core/Makefile.am | 9 +- libnm-core/Makefile.in | 14 +- libnm-core/nm-core-enum-types.c | 21 + libnm-core/nm-core-enum-types.h | 2 + libnm-core/nm-core-internal.h | 12 + libnm-core/nm-dbus-interface.h | 47 +- libnm-core/nm-setting-bond.c | 197 +- libnm-core/nm-setting-bond.h | 42 +- libnm-core/nm-setting-bridge.c | 2 +- libnm-core/nm-setting-infiniband.c | 2 +- libnm-core/nm-setting-ip-config.c | 1 + libnm-core/nm-setting-ip-config.h | 1 + libnm-core/nm-setting-macvlan.c | 3 +- libnm-core/nm-setting-wired.c | 4 +- libnm-core/nm-setting-wireless.c | 4 +- libnm-core/nm-utils.c | 5 - libnm-core/nm-version.h | 14 + libnm-core/nm-vpn-dbus-interface.h | 8 - libnm-core/tests/Makefile.am | 2 +- libnm-core/tests/Makefile.in | 25 +- libnm-core/tests/test-setting-bond.c | 198 + libnm-glib/Makefile.am | 1 - libnm-glib/Makefile.in | 1 - libnm-glib/tests/Makefile.am | 1 - libnm-glib/tests/Makefile.in | 1 - libnm-util/Makefile.am | 1 - libnm-util/Makefile.in | 4 +- libnm-util/NetworkManager.h | 26 - libnm-util/NetworkManagerVPN.h | 8 - libnm-util/nm-utils.c | 5 - libnm-util/nm-version.h | 14 + libnm-util/tests/Makefile.am | 1 - libnm-util/tests/Makefile.in | 1 - libnm/Makefile.am | 11 +- libnm/Makefile.in | 10 +- libnm/nm-enum-types.c | 22 +- libnm/nm-enum-types.h | 2 - libnm/nm-keyfile-docs.xml | 12 +- libnm/nm-wimax-nsp.h | 16 - libnm/tests/Makefile.am | 1 - libnm/tests/Makefile.in | 1 - man/Makefile.am | 121 +- man/Makefile.in | 176 +- man/NetworkManager.8 | 8 +- man/NetworkManager.conf.5 | 6 +- man/NetworkManager.conf.xml | 10 +- man/NetworkManager.conf.xml.in | 10 +- man/NetworkManager.xml | 11 +- man/common.ent.in | 2 + man/nm-online.1 | 96 + man/nm-online.1.in | 76 - man/nm-online.xml | 171 + man/nm-settings-ifcfg-rh.5 | 22 +- man/nm-settings-ifcfg-rh.xml | 17 +- man/nm-settings-ifcfg-rh.xsl | 48 +- man/nm-settings-keyfile.5 | 36 +- man/nm-settings-keyfile.xml | 29 +- man/nm-settings-keyfile.xsl | 48 +- man/nm-settings.5 | 19 +- man/nm-settings.xml | 7 +- man/nm-settings.xsl | 41 +- man/nm-system-settings.conf.5.in | 25 - man/nmcli-examples.5 | 693 --- man/nmcli-examples.7 | 619 +++ man/nmcli-examples.xml | 759 ++-- man/nmcli.1 | 1905 ++++++++ man/nmcli.1.in | 1282 ------ man/nmcli.xml | 3116 +++++++++++++ man/nmtui.1 | 76 + man/nmtui.1.in | 66 - man/nmtui.xml | 137 + po/ar.po | 3659 +++++++-------- po/as.po | 3700 ++++++++-------- po/be@latin.po | 3667 +++++++-------- po/bg.po | 3690 ++++++++-------- po/bn_IN.po | 3704 ++++++++-------- po/bs.po | 3659 +++++++-------- po/ca.po | 4664 +++++++++----------- po/cs.po | 3690 ++++++++-------- po/da.po | 3687 ++++++++-------- po/de.po | 1175 +++-- po/dz.po | 3659 +++++++-------- po/el.po | 3696 ++++++++-------- po/en_CA.po | 3663 +++++++-------- po/en_GB.po | 3679 +++++++-------- po/eo.po | 3673 +++++++-------- po/es.po | 3712 ++++++++-------- po/et.po | 3669 +++++++-------- po/eu.po | 3677 +++++++-------- po/fi.po | 3678 +++++++-------- po/fr.po | 4282 +++++++++--------- po/gd.po | 3801 ++++++++-------- po/gl.po | 3676 +++++++-------- po/gu.po | 3696 ++++++++-------- po/he.po | 3659 +++++++-------- po/hi.po | 3700 ++++++++-------- po/hr.po | 3673 +++++++-------- po/hu.po | 3685 ++++++++-------- po/id.po | 3677 +++++++-------- po/it.po | 3709 ++++++++-------- po/ja.po | 3852 ++++++++-------- po/ka.po | 3664 +++++++-------- po/kn.po | 3705 ++++++++-------- po/ko.po | 3699 ++++++++-------- po/ku.po | 3659 +++++++-------- po/lt.po | 4131 ++++++++--------- po/lv.po | 3663 +++++++-------- po/mk.po | 3659 +++++++-------- po/ml.po | 3696 ++++++++-------- po/mr.po | 3701 ++++++++-------- po/nb.po | 3665 +++++++-------- po/ne.po | 3659 +++++++-------- po/nl.po | 3669 +++++++-------- po/oc.po | 3679 +++++++-------- po/or.po | 3697 ++++++++-------- po/pa.po | 3801 ++++++++-------- po/pl.po | 1200 ++--- po/pt.po | 3659 +++++++-------- po/pt_BR.po | 3713 ++++++++-------- po/ru.po | 3824 ++++++++-------- po/rw.po | 3659 +++++++-------- po/sk.po | 4562 +++++++++---------- po/sl.po | 3687 ++++++++-------- po/sq.po | 3659 +++++++-------- po/sr.po | 3678 +++++++-------- po/sr@latin.po | 3678 +++++++-------- po/sv.po | 3711 ++++++++-------- po/ta.po | 3705 ++++++++-------- po/te.po | 3700 ++++++++-------- po/th.po | 3664 +++++++-------- po/tr.po | 3706 ++++++++-------- po/uk.po | 3712 ++++++++-------- po/vi.po | 3672 +++++++-------- po/wa.po | 3659 +++++++-------- po/zh_CN.po | 3696 ++++++++-------- po/zh_HK.po | 3676 +++++++-------- po/zh_TW.po | 3696 ++++++++-------- shared/nm-default.h | 6 + shared/nm-version-macros.h | 3 +- shared/nm-version-macros.h.in | 1 + src/Makefile.am | 32 +- src/Makefile.in | 127 +- src/devices/adsl/Makefile.am | 1 - src/devices/adsl/Makefile.in | 1 - src/devices/bluetooth/Makefile.am | 1 - src/devices/bluetooth/Makefile.in | 3 +- src/devices/nm-device-bond.c | 52 +- src/devices/nm-device-factory.c | 19 +- src/devices/nm-device.c | 166 +- src/devices/nm-device.h | 108 +- src/devices/nm-lldp-listener.c | 39 +- src/devices/team/Makefile.am | 1 - src/devices/team/Makefile.in | 3 +- src/devices/tests/Makefile.am | 1 - src/devices/tests/Makefile.in | 1 - src/devices/tests/test-lldp.c | 11 +- src/devices/wifi/Makefile.am | 1 - src/devices/wifi/Makefile.in | 1 - src/devices/wifi/tests/Makefile.am | 1 - src/devices/wifi/tests/Makefile.in | 1 - src/devices/wwan/Makefile.am | 1 - src/devices/wwan/Makefile.in | 1 - src/dhcp-manager/Makefile.am | 1 - src/dhcp-manager/Makefile.in | 1 - src/dhcp-manager/tests/Makefile.am | 1 - src/dhcp-manager/tests/Makefile.in | 1 - src/dns-manager/nm-dns-manager.c | 38 +- src/dns-manager/nm-dns-manager.h | 2 + src/dnsmasq-manager/tests/Makefile.am | 1 - src/dnsmasq-manager/tests/Makefile.in | 1 - src/nm-auth-manager.c | 2 +- src/nm-core-utils.c | 2 +- src/nm-enum-types.c | 8 +- src/nm-exported-object.c | 420 +- src/nm-exported-object.h | 1 - src/nm-firewall-manager.c | 2 +- src/nm-firewall-manager.h | 2 + src/nm-manager.c | 519 +-- src/nm-manager.h | 10 +- src/nm-policy.c | 256 +- src/nm-policy.h | 3 + src/platform/nm-linux-platform.c | 61 +- src/platform/nm-platform.c | 12 + src/platform/nm-platform.h | 4 + src/platform/tests/Makefile.am | 6 +- src/platform/tests/Makefile.in | 265 +- src/ppp-manager/Makefile.am | 1 - src/ppp-manager/Makefile.in | 1 - src/rdisc/nm-lndp-rdisc.c | 126 +- src/rdisc/nm-rdisc.c | 3 + src/rdisc/tests/Makefile.am | 1 - src/rdisc/tests/Makefile.in | 1 - src/settings/nm-settings.c | 14 +- src/settings/plugins/ibft/Makefile.am | 1 - src/settings/plugins/ibft/Makefile.in | 1 - src/settings/plugins/ibft/tests/Makefile.am | 1 - src/settings/plugins/ibft/tests/Makefile.in | 1 - src/settings/plugins/ifcfg-rh/Makefile.am | 1 - src/settings/plugins/ifcfg-rh/Makefile.in | 1 - .../plugins/ifcfg-rh/nm-ifcfg-connection.c | 1 + src/settings/plugins/ifcfg-rh/nm-ifcfg-rh.xml | 50 +- src/settings/plugins/ifcfg-rh/tests/Makefile.am | 1 - src/settings/plugins/ifcfg-rh/tests/Makefile.in | 1 - src/settings/plugins/ifnet/Makefile.am | 1 - src/settings/plugins/ifnet/Makefile.in | 1 - src/settings/plugins/ifnet/tests/Makefile.am | 1 - src/settings/plugins/ifnet/tests/Makefile.in | 1 - src/settings/plugins/ifupdown/Makefile.am | 1 - src/settings/plugins/ifupdown/Makefile.in | 1 - src/settings/plugins/ifupdown/tests/Makefile.am | 1 - src/settings/plugins/ifupdown/tests/Makefile.in | 1 - src/settings/plugins/keyfile/Makefile.am | 1 - src/settings/plugins/keyfile/Makefile.in | 1 - src/settings/plugins/keyfile/tests/Makefile.am | 1 - src/settings/plugins/keyfile/tests/Makefile.in | 1 - src/supplicant-manager/tests/Makefile.am | 1 - src/supplicant-manager/tests/Makefile.in | 1 - src/systemd/src/basic/utf8.h | 1 + .../src/libsystemd-network/dhcp-identifier.c | 2 +- .../src/libsystemd-network/dhcp-identifier.h | 41 +- .../src/libsystemd-network/dhcp6-protocol.h | 7 - src/systemd/src/libsystemd-network/lldp-neighbor.c | 47 +- src/systemd/src/libsystemd-network/lldp.h | 102 - .../src/libsystemd-network/network-internal.c | 29 + .../src/libsystemd-network/network-internal.h | 4 + .../src/libsystemd-network/sd-dhcp-client.c | 50 +- .../src/libsystemd-network/sd-dhcp6-client.c | 50 +- src/systemd/src/systemd/sd-dhcp-client.h | 2 + src/systemd/src/systemd/sd-dhcp6-client.h | 5 +- src/systemd/src/systemd/sd-lldp.h | 81 + src/tests/Makefile.am | 1 - src/tests/Makefile.in | 1 - src/tests/config/Makefile.am | 1 - src/tests/config/Makefile.in | 1 - 397 files changed, 140063 insertions(+), 127786 deletions(-) create mode 100644 docs/api/html/nm-online.html create mode 100644 docs/api/html/nmcli.html create mode 100644 docs/api/html/nmtui.html delete mode 100644 introspection/all.xml.in delete mode 100644 introspection/errors.xml delete mode 100644 introspection/generic-types.xml delete mode 100644 introspection/vpn-errors.xml create mode 100644 libnm-core/tests/test-setting-bond.c create mode 100644 man/common.ent.in create mode 100644 man/nm-online.1 delete mode 100644 man/nm-online.1.in create mode 100644 man/nm-online.xml delete mode 100644 man/nm-system-settings.conf.5.in delete mode 100644 man/nmcli-examples.5 create mode 100644 man/nmcli-examples.7 create mode 100644 man/nmcli.1 delete mode 100644 man/nmcli.1.in create mode 100644 man/nmcli.xml create mode 100644 man/nmtui.1 delete mode 100644 man/nmtui.1.in create mode 100644 man/nmtui.xml delete mode 100644 src/systemd/src/libsystemd-network/lldp.h diff --git a/callouts/Makefile.am b/callouts/Makefile.am index 6440a4de..5279b2f4 100644 --- a/callouts/Makefile.am +++ b/callouts/Makefile.am @@ -7,7 +7,6 @@ AM_CPPFLAGS = \ -I${top_builddir}/libnm-core \ $(GLIB_CFLAGS) \ -DNETWORKMANAGER_COMPILATION \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DNMCONFDIR=\"$(nmconfdir)\" \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -DLIBEXECDIR=\"$(libexecdir)\" diff --git a/callouts/Makefile.in b/callouts/Makefile.in index 2fa3d996..e7a7f2aa 100644 --- a/callouts/Makefile.in +++ b/callouts/Makefile.in @@ -544,7 +544,6 @@ AM_CPPFLAGS = \ -I${top_builddir}/libnm-core \ $(GLIB_CFLAGS) \ -DNETWORKMANAGER_COMPILATION \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DNMCONFDIR=\"$(nmconfdir)\" \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -DLIBEXECDIR=\"$(libexecdir)\" diff --git a/callouts/nm-dispatcher.xml b/callouts/nm-dispatcher.xml index e2e89a89..27f15fe5 100644 --- a/callouts/nm-dispatcher.xml +++ b/callouts/nm-dispatcher.xml @@ -1,93 +1,40 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/callouts/tests/Makefile.am b/callouts/tests/Makefile.am index ee3f647d..6ac15874 100644 --- a/callouts/tests/Makefile.am +++ b/callouts/tests/Makefile.am @@ -8,7 +8,6 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/callouts \ -I$(top_builddir)/callouts \ -DNETWORKMANAGER_COMPILATION \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DSRCDIR=\"$(abs_srcdir)\" \ $(GLIB_CFLAGS) diff --git a/callouts/tests/Makefile.in b/callouts/tests/Makefile.in index eeaf70d6..6079f236 100644 --- a/callouts/tests/Makefile.in +++ b/callouts/tests/Makefile.in @@ -664,7 +664,6 @@ with_valgrind = @with_valgrind@ @ENABLE_TESTS_TRUE@ -I$(top_srcdir)/callouts \ @ENABLE_TESTS_TRUE@ -I$(top_builddir)/callouts \ @ENABLE_TESTS_TRUE@ -DNETWORKMANAGER_COMPILATION \ -@ENABLE_TESTS_TRUE@ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ @ENABLE_TESTS_TRUE@ -DSRCDIR=\"$(abs_srcdir)\" \ @ENABLE_TESTS_TRUE@ $(GLIB_CFLAGS) diff --git a/clients/Makefile.am b/clients/Makefile.am index 9c30eea1..4a526a65 100644 --- a/clients/Makefile.am +++ b/clients/Makefile.am @@ -8,7 +8,6 @@ AM_CPPFLAGS = \ -I${top_srcdir}/libnm \ -I${top_builddir}/libnm \ $(GLIB_CFLAGS) \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DNMLOCALEDIR=\"$(datadir)/locale\" bin_PROGRAMS = nm-online diff --git a/clients/Makefile.in b/clients/Makefile.in index 243cd149..a34052e7 100644 --- a/clients/Makefile.in +++ b/clients/Makefile.in @@ -499,7 +499,6 @@ AM_CPPFLAGS = \ -I${top_srcdir}/libnm \ -I${top_builddir}/libnm \ $(GLIB_CFLAGS) \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DNMLOCALEDIR=\"$(datadir)/locale\" nm_online_SOURCES = nm-online.c diff --git a/clients/cli/Makefile.am b/clients/cli/Makefile.am index dfcb1e96..7edbefad 100644 --- a/clients/cli/Makefile.am +++ b/clients/cli/Makefile.am @@ -15,7 +15,6 @@ AM_CPPFLAGS = \ -I${top_srcdir}/clients/common \ $(GLIB_CFLAGS) \ -DG_LOG_DOMAIN=\""nmcli"\" \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DNMCLI_LOCALEDIR=\"$(datadir)/locale\" nmcli_SOURCES = \ diff --git a/clients/cli/Makefile.in b/clients/cli/Makefile.in index 9aa4aa49..d26384e1 100644 --- a/clients/cli/Makefile.in +++ b/clients/cli/Makefile.in @@ -480,7 +480,6 @@ with_valgrind = @with_valgrind@ @BUILD_NMCLI_TRUE@ -I${top_builddir}/libnm \ @BUILD_NMCLI_TRUE@ -I${top_srcdir}/clients/common \ @BUILD_NMCLI_TRUE@ $(GLIB_CFLAGS) -DG_LOG_DOMAIN=\""nmcli"\" \ -@BUILD_NMCLI_TRUE@ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ @BUILD_NMCLI_TRUE@ -DNMCLI_LOCALEDIR=\"$(datadir)/locale\" \ @BUILD_NMCLI_TRUE@ $(am__append_1) @BUILD_NMCLI_TRUE@nmcli_SOURCES = agent.c agent.h common.c common.h \ diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 129a5298..3fca37f5 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -4768,43 +4768,46 @@ complete_slave (NMSettingConnection *s_con, gboolean ask, GError **error) { - char *master_ask = NULL; - const char *checked_master = NULL; + char *master_ask = NULL; + const char *checked_master = NULL; - if (type) - g_print (_("Warning: 'type' is ignored. " - "Use 'nmcli connection add \"%s\" ...' instead."), - type); - - if (nm_setting_connection_get_master (s_con)) { - /* Master already set. */ - if (master) { - g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT, - _("Error: redundant 'master' option.")); - return FALSE; - } - return TRUE; - } + if (type) + g_print (_("Warning: 'type' is ignored. " + "Use 'nmcli connection add \"%s\" ...' instead."), + type); - if (!master && ask) - master = master_ask = nmc_readline (PROMPT_MASTER); - if (!master) { + if (nm_setting_connection_get_master (s_con)) { + /* Master already set. */ + if (master) { g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT, - _("Error: 'master' is required.")); + _("Error: redundant 'master' option.")); return FALSE; } - /* Verify master argument */ - checked_master = normalized_master_for_slave (all_connections, master, slave_type, NULL); - - /* Change properties in 'connection' setting */ g_object_set (s_con, - NM_SETTING_CONNECTION_MASTER, checked_master, NM_SETTING_CONNECTION_SLAVE_TYPE, slave_type, NULL); + return TRUE; + } - g_free (master_ask); + if (!master && ask) + master = master_ask = nmc_readline (PROMPT_MASTER); + if (!master) { + g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT, + _("Error: 'master' is required.")); + return FALSE; + } + /* Verify master argument */ + checked_master = normalized_master_for_slave (all_connections, master, slave_type, NULL); - return TRUE; + /* Change properties in 'connection' setting */ + g_object_set (s_con, + NM_SETTING_CONNECTION_MASTER, checked_master, + NM_SETTING_CONNECTION_SLAVE_TYPE, slave_type, + NULL); + + g_free (master_ask); + + return TRUE; } static gboolean @@ -7041,7 +7044,7 @@ do_connection_add (NmCli *nmc, int argc, char **argv) NM_SETTING_CONNECTION_TYPE, setting_name, NM_SETTING_CONNECTION_AUTOCONNECT, auto_bool, NM_SETTING_CONNECTION_INTERFACE_NAME, ifname, - NM_SETTING_CONNECTION_MASTER, checked_master, + NM_SETTING_CONNECTION_MASTER, checked_master, NM_SETTING_CONNECTION_SLAVE_TYPE, slave_type, NULL); g_free (uuid); diff --git a/clients/cli/settings.c b/clients/cli/settings.c index 3fb841a1..06e9fb47 100644 --- a/clients/cli/settings.c +++ b/clients/cli/settings.c @@ -1150,8 +1150,19 @@ nmc_property_bond_get_options (NMSetting *setting, NmcPropertyGetType get_type) bond_options_s = g_string_new (NULL); for (i = 0; i < nm_setting_bond_get_num_options (s_bond); i++) { const char *key, *value; + gs_free char *tmp_value = NULL; + char *p; nm_setting_bond_get_option (s_bond, i, &key, &value); + + if (nm_streq0 (key, NM_SETTING_BOND_OPTION_ARP_IP_TARGET)) { + value = tmp_value = g_strdup (value); + for (p = tmp_value; p && *p; p++) { + if (*p == ',') + *p = ' '; + } + } + g_string_append_printf (bond_options_s, "%s=%s,", key, value); } g_string_truncate (bond_options_s, bond_options_s->len-1); /* chop off trailing ',' */ @@ -3651,10 +3662,28 @@ _validate_bond_option_value (const char *option, const char *value, GError **err return value; } +static gboolean +_bond_add_option (NMSettingBond *setting, + const char *name, + const char *value) +{ + gs_free char *tmp_value = NULL; + char *p; + + if (nm_streq0 (name, NM_SETTING_BOND_OPTION_ARP_IP_TARGET)) { + value = tmp_value = g_strdup (value); + for (p = tmp_value; p && *p; p++) + if (*p == ' ') + *p = ','; + } + + return nm_setting_bond_add_option (setting, name, value); +} + DEFINE_SETTER_OPTIONS (nmc_property_bond_set_options, NM_SETTING_BOND, NMSettingBond, - nm_setting_bond_add_option, + _bond_add_option, nm_setting_bond_get_valid_options, _validate_bond_option_value) DEFINE_REMOVER_OPTION (nmc_property_bond_remove_option_options, diff --git a/clients/tui/Makefile.am b/clients/tui/Makefile.am index caf792ee..30ed9dde 100644 --- a/clients/tui/Makefile.am +++ b/clients/tui/Makefile.am @@ -16,7 +16,6 @@ AM_CPPFLAGS= \ $(NEWT_CFLAGS) \ $(GUDEV_CFLAGS) \ -DG_LOG_DOMAIN=\""nmtui"\" \ - -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ -DLOCALEDIR=\""$(localedir)"\" \ $(NULL) diff --git a/clients/tui/Makefile.in b/clients/tui/Makefile.in index f489995d..82b89bdd 100644 --- a/clients/tui/Makefile.in +++ b/clients/tui/Makefile.in @@ -574,7 +574,6 @@ with_valgrind = @with_valgrind@ @BUILD_NMTUI_TRUE@ $(NEWT_CFLAGS) \ @BUILD_NMTUI_TRUE@ $(GUDEV_CFLAGS) \ @BUILD_NMTUI_TRUE@ -DG_LOG_DOMAIN=\""nmtui"\" \ -@BUILD_NMTUI_TRUE@ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ @BUILD_NMTUI_TRUE@ -DLOCALEDIR=\""$(localedir)"\" \ @BUILD_NMTUI_TRUE@ $(NULL) diff --git a/config.h.in b/config.h.in index c90fd77f..baabb793 100644 --- a/config.h.in +++ b/config.h.in @@ -128,6 +128,9 @@ /* Enable Gentoo hostname persist method */ #undef HOSTNAME_PERSIST_GENTOO +/* Enable Slackware hostname persist method */ +#undef HOSTNAME_PERSIST_SLACKWARE + /* Enable SuSE hostname persist method */ #undef HOSTNAME_PERSIST_SUSE diff --git a/configure b/configure index dfb9da76..8ebbd40f 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for NetworkManager 1.1.92. +# Generated by GNU Autoconf 2.69 for NetworkManager 1.1.93. # # Report bugs to . # @@ -591,8 +591,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='NetworkManager' PACKAGE_TARNAME='NetworkManager' -PACKAGE_VERSION='1.1.92' -PACKAGE_STRING='NetworkManager 1.1.92' +PACKAGE_VERSION='1.1.93' +PACKAGE_STRING='NetworkManager 1.1.93' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager' PACKAGE_URL='' @@ -1685,7 +1685,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures NetworkManager 1.1.92 to adapt to many kinds of systems. +\`configure' configures NetworkManager 1.1.93 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1755,7 +1755,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of NetworkManager 1.1.92:";; + short | recursive ) echo "Configuration of NetworkManager 1.1.93:";; esac cat <<\_ACEOF @@ -1844,7 +1844,7 @@ Optional Packages: 'no' not to install the udev rules --with-systemdsystemunitdir=DIR Directory for systemd service files - --with-hostname-persist=default|suse|gentoo + --with-hostname-persist=default|suse|gentoo|slackware Hostname persist method --with-systemd-journal=yes|no Use systemd journal for logging @@ -2062,7 +2062,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -NetworkManager configure 1.1.92 +NetworkManager configure 1.1.93 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2789,7 +2789,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by NetworkManager $as_me 1.1.92, which was +It was created by NetworkManager $as_me 1.1.93, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3659,7 +3659,7 @@ fi # Define the identity of the package. PACKAGE='NetworkManager' - VERSION='1.1.92' + VERSION='1.1.93' cat >>confdefs.h <<_ACEOF @@ -17540,9 +17540,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu NM_MAJOR_VERSION=1 NM_MINOR_VERSION=1 -NM_MICRO_VERSION=92 -NM_VERSION=1.1.92 -NM_GIT_SHA=24caeb33b7f2a2a80ee4484844810bc08d32f28c +NM_MICRO_VERSION=93 +NM_VERSION=1.1.93 +NM_GIT_SHA=aab24b4e10e6a9ad0b51d3e573b5da7ddafbf50b @@ -22145,6 +22145,9 @@ fi if test "$with_hostname_persist" = "gentoo"; then : hostname_persist=gentoo fi +if test "$with_hostname_persist" = "slackware"; then : + hostname_persist=slackware +fi if test "$with_hostname_persist" = "default"; then : hostname_persist=default fi @@ -22155,6 +22158,9 @@ fi if test -z "$hostname_persist" -a "$distro_plugins" = "ifnet"; then : hostname_persist=gentoo fi +if test -z "$hostname_persist" -a -f /etc/slackware-version; then : + hostname_persist=slackware +fi if test -z "$hostname_persist"; then : hostname_persist=default fi @@ -22167,6 +22173,10 @@ elif test "$hostname_persist" = gentoo; then $as_echo "#define HOSTNAME_PERSIST_GENTOO 1" >>confdefs.h +elif test "$hostname_persist" = slackware; then + +$as_echo "#define HOSTNAME_PERSIST_SLACKWARE 1" >>confdefs.h + fi @@ -26451,11 +26461,14 @@ fi # check for pregenerated manpages to be installed install_pregen_manpages=no if test "$enable_gtk_doc" != "yes" \ + -a -f man/nmcli.1 \ + -a -f man/nmtui.1 \ + -a -f man/nm-online.1 \ -a -f man/NetworkManager.conf.5 \ -a -f man/nm-settings.5 \ -a -f man/nm-settings-keyfile.5 \ -a -f man/nm-settings-ifcfg-rh.5 \ - -a -f man/nmcli-examples.5 \ + -a -f man/nmcli-examples.7 \ -a -f man/NetworkManager.8; then install_pregen_manpages=yes fi @@ -26572,7 +26585,7 @@ fi -ac_config_files="$ac_config_files Makefile shared/Makefile shared/nm-version-macros.h src/Makefile src/tests/Makefile src/tests/config/Makefile src/dhcp-manager/Makefile src/dhcp-manager/tests/Makefile src/dnsmasq-manager/tests/Makefile src/supplicant-manager/tests/Makefile src/supplicant-manager/tests/certs/Makefile src/ppp-manager/Makefile src/settings/plugins/Makefile src/settings/plugins/ifupdown/Makefile src/settings/plugins/ifupdown/tests/Makefile src/settings/plugins/ifnet/Makefile src/settings/plugins/ifnet/tests/Makefile src/settings/plugins/ifcfg-rh/Makefile src/settings/plugins/ifcfg-rh/tests/Makefile src/settings/plugins/ifcfg-rh/tests/network-scripts/Makefile src/settings/plugins/ibft/Makefile src/settings/plugins/ibft/tests/Makefile src/settings/plugins/keyfile/Makefile src/settings/plugins/keyfile/tests/Makefile src/settings/plugins/keyfile/tests/keyfiles/Makefile src/platform/Makefile src/platform/tests/Makefile src/rdisc/Makefile src/rdisc/tests/Makefile src/devices/Makefile src/devices/tests/Makefile src/devices/adsl/Makefile src/devices/bluetooth/Makefile src/devices/team/Makefile src/devices/wifi/Makefile src/devices/wifi/tests/Makefile src/devices/wwan/Makefile libnm-core/Makefile libnm-core/tests/Makefile libnm/libnm.pc libnm/Makefile libnm/tests/Makefile libnm-util/libnm-util.pc libnm-util/Makefile libnm-util/tests/Makefile libnm-glib/libnm-glib.pc libnm-glib/libnm-glib-vpn.pc libnm-glib/Makefile libnm-glib/tests/Makefile callouts/Makefile callouts/tests/Makefile tools/Makefile clients/Makefile clients/cli/Makefile clients/tui/Makefile clients/tui/newt/Makefile introspection/Makefile introspection/all.xml man/Makefile man/nm-system-settings.conf.5 man/nm-online.1 man/nmcli.1 man/nmtui.1 po/Makefile.in policy/Makefile policy/org.freedesktop.NetworkManager.policy.in data/Makefile docs/Makefile docs/api/Makefile docs/api/version.xml docs/libnm-glib/Makefile docs/libnm-glib/version.xml docs/libnm-util/Makefile docs/libnm-util/version.xml docs/libnm/Makefile docs/libnm/version.xml NetworkManager.pc examples/Makefile examples/shell/Makefile examples/python/Makefile examples/python/dbus/Makefile examples/python/gi/Makefile examples/python/python-networkmanager/Makefile examples/ruby/Makefile examples/lua/Makefile examples/lua/lgi/Makefile examples/C/Makefile examples/C/glib/Makefile examples/C/qt/Makefile examples/dispatcher/Makefile vapi/Makefile" +ac_config_files="$ac_config_files Makefile shared/Makefile shared/nm-version-macros.h src/Makefile src/tests/Makefile src/tests/config/Makefile src/dhcp-manager/Makefile src/dhcp-manager/tests/Makefile src/dnsmasq-manager/tests/Makefile src/supplicant-manager/tests/Makefile src/supplicant-manager/tests/certs/Makefile src/ppp-manager/Makefile src/settings/plugins/Makefile src/settings/plugins/ifupdown/Makefile src/settings/plugins/ifupdown/tests/Makefile src/settings/plugins/ifnet/Makefile src/settings/plugins/ifnet/tests/Makefile src/settings/plugins/ifcfg-rh/Makefile src/settings/plugins/ifcfg-rh/tests/Makefile src/settings/plugins/ifcfg-rh/tests/network-scripts/Makefile src/settings/plugins/ibft/Makefile src/settings/plugins/ibft/tests/Makefile src/settings/plugins/keyfile/Makefile src/settings/plugins/keyfile/tests/Makefile src/settings/plugins/keyfile/tests/keyfiles/Makefile src/platform/Makefile src/platform/tests/Makefile src/rdisc/Makefile src/rdisc/tests/Makefile src/devices/Makefile src/devices/tests/Makefile src/devices/adsl/Makefile src/devices/bluetooth/Makefile src/devices/team/Makefile src/devices/wifi/Makefile src/devices/wifi/tests/Makefile src/devices/wwan/Makefile libnm-core/Makefile libnm-core/tests/Makefile libnm/libnm.pc libnm/Makefile libnm/tests/Makefile libnm-util/libnm-util.pc libnm-util/Makefile libnm-util/tests/Makefile libnm-glib/libnm-glib.pc libnm-glib/libnm-glib-vpn.pc libnm-glib/Makefile libnm-glib/tests/Makefile callouts/Makefile callouts/tests/Makefile tools/Makefile clients/Makefile clients/cli/Makefile clients/tui/Makefile clients/tui/newt/Makefile introspection/Makefile man/Makefile man/common.ent po/Makefile.in policy/Makefile policy/org.freedesktop.NetworkManager.policy.in data/Makefile docs/Makefile docs/api/Makefile docs/api/version.xml docs/libnm-glib/Makefile docs/libnm-glib/version.xml docs/libnm-util/Makefile docs/libnm-util/version.xml docs/libnm/Makefile docs/libnm/version.xml NetworkManager.pc examples/Makefile examples/shell/Makefile examples/python/Makefile examples/python/dbus/Makefile examples/python/gi/Makefile examples/python/python-networkmanager/Makefile examples/ruby/Makefile examples/lua/Makefile examples/lua/lgi/Makefile examples/C/Makefile examples/C/glib/Makefile examples/C/qt/Makefile examples/dispatcher/Makefile vapi/Makefile" @@ -27285,7 +27298,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by NetworkManager $as_me 1.1.92, which was +This file was extended by NetworkManager $as_me 1.1.93, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -27351,7 +27364,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -NetworkManager config.status 1.1.92 +NetworkManager config.status 1.1.93 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -27929,12 +27942,8 @@ do "clients/tui/Makefile") CONFIG_FILES="$CONFIG_FILES clients/tui/Makefile" ;; "clients/tui/newt/Makefile") CONFIG_FILES="$CONFIG_FILES clients/tui/newt/Makefile" ;; "introspection/Makefile") CONFIG_FILES="$CONFIG_FILES introspection/Makefile" ;; - "introspection/all.xml") CONFIG_FILES="$CONFIG_FILES introspection/all.xml" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; - "man/nm-system-settings.conf.5") CONFIG_FILES="$CONFIG_FILES man/nm-system-settings.conf.5" ;; - "man/nm-online.1") CONFIG_FILES="$CONFIG_FILES man/nm-online.1" ;; - "man/nmcli.1") CONFIG_FILES="$CONFIG_FILES man/nmcli.1" ;; - "man/nmtui.1") CONFIG_FILES="$CONFIG_FILES man/nmtui.1" ;; + "man/common.ent") CONFIG_FILES="$CONFIG_FILES man/common.ent" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "policy/Makefile") CONFIG_FILES="$CONFIG_FILES policy/Makefile" ;; "policy/org.freedesktop.NetworkManager.policy.in") CONFIG_FILES="$CONFIG_FILES policy/org.freedesktop.NetworkManager.policy.in" ;; diff --git a/configure.ac b/configure.ac index 578b077f..7ec52e36 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.63]) dnl The NM version number m4_define([nm_major_version], [1]) m4_define([nm_minor_version], [1]) -m4_define([nm_micro_version], [92]) +m4_define([nm_micro_version], [93]) m4_define([nm_version], [nm_major_version.nm_minor_version.nm_micro_version]) m4_define([nm_git_sha], [m4_esyscmd([ ( [ -d ./.git/ ] && [ "$(readlink -f ./.git/)" = "$(readlink -f "$(git rev-parse --git-dir 2>/dev/null)" 2>/dev/null)" ] && git rev-parse --verify -q HEAD 2>/dev/null ) || true ])]) @@ -350,21 +350,25 @@ PKG_CHECK_MODULES(SYSTEMD_200, [systemd >= 200], [have_systemd_200=yes],[have_sy AM_CONDITIONAL(HAVE_SYSTEMD_200, test "${have_systemd_200}" = "yes") # Hostname persist mode -AC_ARG_WITH(hostname-persist, AS_HELP_STRING([--with-hostname-persist=default|suse|gentoo], +AC_ARG_WITH(hostname-persist, AS_HELP_STRING([--with-hostname-persist=default|suse|gentoo|slackware], [Hostname persist method])) AS_IF([test "$with_hostname_persist" = "suse"], hostname_persist=suse) AS_IF([test "$with_hostname_persist" = "gentoo"], hostname_persist=gentoo) +AS_IF([test "$with_hostname_persist" = "slackware"], hostname_persist=slackware) AS_IF([test "$with_hostname_persist" = "default"], hostname_persist=default) # if the method was not explicitly set, try to guess it from the enabled plugins AS_IF([test -z "$hostname_persist" -a "$distro_plugins" = "ifcfg-suse"], hostname_persist=suse) AS_IF([test -z "$hostname_persist" -a "$distro_plugins" = "ifnet"], hostname_persist=gentoo) +AS_IF([test -z "$hostname_persist" -a -f /etc/slackware-version], hostname_persist=slackware) AS_IF([test -z "$hostname_persist"], hostname_persist=default) if test "$hostname_persist" = suse; then AC_DEFINE(HOSTNAME_PERSIST_SUSE, 1, [Enable SuSE hostname persist method]) elif test "$hostname_persist" = gentoo; then AC_DEFINE(HOSTNAME_PERSIST_GENTOO, 1, [Enable Gentoo hostname persist method]) +elif test "$hostname_persist" = slackware; then + AC_DEFINE(HOSTNAME_PERSIST_SLACKWARE, 1, [Enable Slackware hostname persist method]) fi AC_ARG_WITH(systemd-journal, AS_HELP_STRING([--with-systemd-journal=yes|no], [Use systemd journal for logging])) @@ -957,11 +961,14 @@ GTK_DOC_CHECK(1.0) # check for pregenerated manpages to be installed install_pregen_manpages=no if test "$enable_gtk_doc" != "yes" \ + -a -f man/nmcli.1 \ + -a -f man/nmtui.1 \ + -a -f man/nm-online.1 \ -a -f man/NetworkManager.conf.5 \ -a -f man/nm-settings.5 \ -a -f man/nm-settings-keyfile.5 \ -a -f man/nm-settings-ifcfg-rh.5 \ - -a -f man/nmcli-examples.5 \ + -a -f man/nmcli-examples.7 \ -a -f man/NetworkManager.8; then install_pregen_manpages=yes fi @@ -1068,12 +1075,8 @@ clients/cli/Makefile clients/tui/Makefile clients/tui/newt/Makefile introspection/Makefile -introspection/all.xml man/Makefile -man/nm-system-settings.conf.5 -man/nm-online.1 -man/nmcli.1 -man/nmtui.1 +man/common.ent po/Makefile.in policy/Makefile policy/org.freedesktop.NetworkManager.policy.in diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index 666bad00..aeba9d29 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -3,13 +3,6 @@ AUTOMAKE_OPTIONS = 1.7 XSLTPROC = xsltproc --xinclude --nonet XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml) -OTHER_FILES= \ - $(top_builddir)/introspection/all.xml \ - $(top_srcdir)/introspection/generic-types.xml \ - $(top_srcdir)/introspection/errors.xml \ - $(top_srcdir)/introspection/vpn-errors.xml \ - $(top_srcdir)/introspection/generic-types.xml - GENERATED_FILES = if SETTING_DOCS_AVAILABLE @@ -47,11 +40,6 @@ MKHTML_OPTIONS=--path="$(abs_srcdir)" # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) content_files = \ - version.xml \ - ../../COPYING \ - $(NULL) - -expand_content_files = \ $(top_builddir)/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \ $(top_builddir)/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml \ $(top_builddir)/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml \ @@ -85,12 +73,21 @@ expand_content_files = \ $(top_builddir)/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \ $(top_builddir)/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \ $(top_builddir)/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \ + $(top_builddir)/man/nmcli.xml \ + $(top_builddir)/man/nmtui.xml \ + $(top_builddir)/man/nm-online.xml \ $(top_builddir)/man/NetworkManager.xml \ $(top_builddir)/man/NetworkManager.conf.xml \ $(top_builddir)/man/nmcli-examples.xml \ $(top_builddir)/man/nm-settings.xml \ $(top_builddir)/man/nm-settings-keyfile.xml \ - $(top_builddir)/man/nm-settings-ifcfg-rh.xml + version.xml \ + ../../COPYING \ + $(NULL) + +if CONFIG_PLUGIN_IFCFG_RH +content_files += $(top_builddir)/man/nm-settings-ifcfg-rh.xml +endif include $(top_srcdir)/gtk-doc.make diff --git a/docs/api/Makefile.in b/docs/api/Makefile.in index 6a510fef..bccad102 100644 --- a/docs/api/Makefile.in +++ b/docs/api/Makefile.in @@ -94,7 +94,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @SETTING_DOCS_AVAILABLE_TRUE@am__append_1 = settings-spec.xml -@BUILD_SETTING_DOCS_TRUE@am__append_2 = settings-spec.xml +@CONFIG_PLUGIN_IFCFG_RH_TRUE@am__append_2 = $(top_builddir)/man/nm-settings-ifcfg-rh.xml +@BUILD_SETTING_DOCS_TRUE@am__append_3 = settings-spec.xml subdir = docs/api ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_readline.m4 \ @@ -406,13 +407,6 @@ with_valgrind = @with_valgrind@ AUTOMAKE_OPTIONS = 1.7 XSLTPROC = xsltproc --xinclude --nonet XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml) -OTHER_FILES = \ - $(top_builddir)/introspection/all.xml \ - $(top_srcdir)/introspection/generic-types.xml \ - $(top_srcdir)/introspection/errors.xml \ - $(top_srcdir)/introspection/vpn-errors.xml \ - $(top_srcdir)/introspection/generic-types.xml - GENERATED_FILES = $(am__append_1) #################################### @@ -434,13 +428,7 @@ MKTMPL_OPTIONS = MKHTML_OPTIONS = --path="$(abs_srcdir)" # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) -content_files = \ - version.xml \ - ../../COPYING \ - $(NULL) - -expand_content_files = \ - $(top_builddir)/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \ +content_files = $(top_builddir)/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \ $(top_builddir)/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml \ $(top_builddir)/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml \ $(top_builddir)/introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml \ @@ -473,13 +461,14 @@ expand_content_files = \ $(top_builddir)/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \ $(top_builddir)/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \ $(top_builddir)/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \ + $(top_builddir)/man/nmcli.xml $(top_builddir)/man/nmtui.xml \ + $(top_builddir)/man/nm-online.xml \ $(top_builddir)/man/NetworkManager.xml \ $(top_builddir)/man/NetworkManager.conf.xml \ $(top_builddir)/man/nmcli-examples.xml \ $(top_builddir)/man/nm-settings.xml \ - $(top_builddir)/man/nm-settings-keyfile.xml \ - $(top_builddir)/man/nm-settings-ifcfg-rh.xml - + $(top_builddir)/man/nm-settings-keyfile.xml version.xml \ + ../../COPYING $(NULL) $(am__append_2) @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) @@ -524,7 +513,7 @@ REPORT_FILES = \ CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \ gtkdoc-check.test html/* tmpl/* xml/* \ NetworkManager-sections.txt NetworkManager-overrides.txt \ - $(am__append_2) + $(am__append_3) @GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = @GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp @GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = diff --git a/docs/api/html/NetworkManager.conf.html b/docs/api/html/NetworkManager.conf.html index 5049ecfe..6823dddb 100644 --- a/docs/api/html/NetworkManager.conf.html +++ b/docs/api/html/NetworkManager.conf.html @@ -37,7 +37,7 @@

-

Description

+

Description

NetworkManager.conf is the configuration file for NetworkManager. It is used to set up various aspects of NetworkManager's behavior. The location of the main file and configuration directories may be changed @@ -66,7 +66,7 @@

-

File Format

+

File Format

The configuration file format is so-called key file (sort of ini-style format). It consists of sections (groups) of @@ -103,7 +103,7 @@ plugins-=remove-me

-

+

main section

@@ -148,7 +148,13 @@ plugins-=remove-me the connection files at startup, and when explicitly requested via the ReloadConnections D-Bus call. If this key is set to 'true', then NetworkManager will reload - connection files any time they changed.

+ connection files any time they changed. + Automatic reloading is not advised because there are race conditions + involved and it depends on the way how the editor updates the file. + In some situations, NetworkManager might first delete and add the + connection anew, instead of updating the existing one. Also, NetworkManager + might pick up incomplete settings while the user is still editing the files. +

@@ -324,7 +330,7 @@ no-auto-default=* sensitive information such as passwords or configuration settings.

- fatal-warnings: set g_log_set_always_fatal() + fatal-warnings: set g_log_set_always_fatal() to core dump on warning messages from glib. This is equivalent to the --g-fatal-warnings command line option.

@@ -334,7 +340,7 @@ no-auto-default=*

auth-polkit

-

+

keyfile section

This section contains keyfile-plugin-specific options, and is normally only used when you are not using any other @@ -386,7 +392,7 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth

-

+

ifupdown section

This section contains ifupdown-specific options and thus only has effect when using the ifupdown plugin.

@@ -420,7 +426,7 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth

-

+

logging section

This section controls NetworkManager's logging. Any settings here are overridden by the --log-level @@ -493,7 +499,7 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth

-

+

connection section

Specify default values for connections.

@@ -507,7 +513,7 @@ ipv6.ip6-privacy=0

-

Supported Properties

+

Supported Properties

Not all properties can be overwritten, only the following properties are supported to have their default values configured @@ -576,7 +582,7 @@ ipv6.ip6-privacy=0


-

Sections

+

Sections

You can configure multiple connection sections, by having different sections with a name that all start @@ -654,7 +660,7 @@ ipv6.ip6-privacy=1

-

+

connectivity section

This section controls NetworkManager's optional connectivity checking functionality. This allows NetworkManager to detect @@ -700,7 +706,7 @@ ipv6.ip6-privacy=1

-

+

global-dns section

This section specifies global DNS settings that override connection-specific configuration.

@@ -730,7 +736,7 @@ ipv6.ip6-privacy=1

-

+

global-dns-domain sections

Sections with a name starting with the "global-dns-domain-" prefix allow to define global DNS configuration for specific @@ -766,7 +772,7 @@ ipv6.ip6-privacy=1

-

+

.config sections

This is a special section that contains options which apply to the configuration file that contains the option. @@ -869,7 +875,7 @@ enable=nm-version-min:1.3,nm-version-min:1.2.6,nm-version-min:1.0.16

-

Plugins

+

Plugins

@@ -953,7 +959,7 @@ enable=nm-version-min:1.3,nm-version-min:1.2.6,nm-version-min:1.0.16
-

Appendix

+

Appendix

Device List Format

@@ -1042,11 +1048,11 @@ interface-name:vboxnet*,except:interface-name:vboxnet2

-

See Also

+

See Also

NetworkManager(8), nmcli(1), - nmcli-examples(5), + nmcli-examples(7), nm-online(1), nm-settings(5), nm-applet(1), diff --git a/docs/api/html/NetworkManager.devhelp2 b/docs/api/html/NetworkManager.devhelp2 index d076d1ec..d210c50e 100644 --- a/docs/api/html/NetworkManager.devhelp2 +++ b/docs/api/html/NetworkManager.devhelp2 @@ -43,6 +43,9 @@ + + + diff --git a/docs/api/html/NetworkManager.html b/docs/api/html/NetworkManager.html index f12e5b55..5f08219e 100644 --- a/docs/api/html/NetworkManager.html +++ b/docs/api/html/NetworkManager.html @@ -6,7 +6,7 @@ - + @@ -16,7 +16,7 @@ Home Up -Prev +Prev Next

@@ -33,7 +33,7 @@

NetworkManager [OPTIONS...]

-

Description

+

Description

The NetworkManager daemon attempts to make networking configuration and operation as painless and automatic as @@ -48,7 +48,7 @@

-

Dispatcher scripts

+

Dispatcher scripts

NetworkManager will execute scripts in the /etc/NetworkManager/dispatcher.d directory or subdirectories in @@ -296,7 +296,7 @@

-

Options

+

Options

The following options are understood:

@@ -389,7 +389,7 @@
-

UDEV PROPERTIES

+

UDEV PROPERTIES

udev(7) device manager is used for the network device discovery. The following @@ -420,7 +420,7 @@

-

SIGNALS

+

SIGNALS

NetworkManager process handles the following signals:

@@ -458,7 +458,7 @@

-

DEBUGGING

+

DEBUGGING

The following environment variables are supported to help debugging. When used in conjunction with the @@ -475,11 +475,11 @@

-

See Also

+

See Also

NetworkManager.conf(5), nmcli(1), - nmcli-examples(5), + nmcli-examples(7), nm-online(1), nm-settings(5), nm-applet(1), diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.AccessPoint.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.AccessPoint.html index 555898aa..6156a6f4 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.AccessPoint.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.AccessPoint.html @@ -85,7 +85,10 @@ PropertiesChanged (a{sv} properties);

 Flags  readable   u
 
-

Flags describing the capabilities of the access point.

+

Flags describing the capabilities of the access point. +

+

Returns: NM80211ApFlags +


@@ -93,7 +96,11 @@ Flags readable u
 WpaFlags  readable   u
 
-

Flags describing the access point's capabilities according to WPA (Wifi Protected Access).

+

Flags describing the access point's capabilities according to WPA (Wifi + Protected Access). +

+

Returns: NM80211ApSecurityFlags +


@@ -101,7 +108,11 @@ WpaFlags readable u
 RsnFlags  readable   u
 
-

Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol.

+

Flags describing the access point's capabilities according to the RSN + (Robust Secure Network) protocol. +

+

Returns: NM80211ApSecurityFlags +


@@ -109,7 +120,8 @@ RsnFlags readable u
 Ssid  readable   ay
 
-

The Service Set Identifier identifying the access point.

+

The Service Set Identifier identifying the access point. +


@@ -117,7 +129,8 @@ Ssid readable ay
 Frequency  readable   u
 
-

The radio channel frequency in use by the access point, in MHz.

+

The radio channel frequency in use by the access point, in MHz. +


@@ -125,7 +138,8 @@ Frequency readable u
 HwAddress  readable   s
 
-

The hardware address (BSSID) of the access point.

+

The hardware address (BSSID) of the access point. +


@@ -133,7 +147,10 @@ HwAddress readable s
 Mode  readable   u
 
-

Describes the operating mode of the access point.

+

Describes the operating mode of the access point. +

+

Returns: NM80211Mode +


@@ -141,7 +158,9 @@ Mode readable u
 MaxBitrate  readable   u
 
-

The maximum bitrate this access point is capable of, in kilobits/second (Kb/s).

+

The maximum bitrate this access point is capable of, in kilobits/second + (Kb/s). +


@@ -149,7 +168,8 @@ MaxBitrate readable u
 Strength  readable   y
 
-

The current signal quality of the access point, in percent.

+

The current signal quality of the access point, in percent. +


@@ -157,7 +177,10 @@ Strength readable y
 LastSeen  readable   i
 
-

The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access point was found in scan results. A value of -1 means the access point has never been found in scan results.

+

The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access + point was found in scan results. A value of -1 means the access point has + never been found in scan results. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.AgentManager.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.AgentManager.html index b1602bcf..c11ce86b 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.AgentManager.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.AgentManager.html @@ -47,11 +47,13 @@

Method Details

-

The Register() method

+

The Register() method

 Register (IN  s identifier);
 
-

Called by secret Agents to register their ability to provide and save network secrets.

+

Called by secret Agents to register their ability to provide and save + network secrets. +

@@ -59,18 +61,19 @@ Register (IN s identifier); - +

IN s identifier:

Identifies this agent; only one agent in each user session may use the same identifier. Identifier formatting follows the same rules as D-Bus bus names with the exception that the ':' character is not allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the identifier is limited in length to 255 characters with a minimum of 3 characters. An example valid identifier is 'org.gnome.nm-applet' (without quotes).

Identifies this agent; only one agent in each user session may use the same identifier. Identifier formatting follows the same rules as D-Bus bus names with the exception that the ':' character is not allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the identifier is limited in length to 255 characters with a minimum of 3 characters. An example valid identifier is 'org.gnome.nm-applet' (without quotes).


-

The RegisterWithCapabilities() method

+

The RegisterWithCapabilities() method

 RegisterWithCapabilities (IN  s identifier,
                           IN  u capabilities);
 
-

Like Register() but indicates agent capabilities to NetworkManager.

+

Like Register() but indicates agent capabilities to NetworkManager. +

@@ -79,22 +82,25 @@ RegisterWithCapabilities (IN s identifier, - + - +

IN s identifier:

See the Register() method's identifier argument.

See the Register() method's identifier argument.

IN u capabilities:

Indicates various agent capabilities to NetworkManager.

(NMSecretAgentCapabilities) Indicates various agent capabilities to NetworkManager.


-

The Unregister() method

+

The Unregister() method

 Unregister ();
 
-

Called by secret Agents to notify NetworkManager that they will no longer handle requests for network secrets. Agents are automatically unregistered when they disconnect from D-Bus.

+

Called by secret Agents to notify NetworkManager that they will no longer + handle requests for network secrets. Agents are automatically unregistered + when they disconnect from D-Bus. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Connection.Active.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Connection.Active.html index 5d4db35f..cb21000b 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Connection.Active.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Connection.Active.html @@ -61,7 +61,21 @@

Description

-

Objects that implement the Connection.Active interface represent an attempt to connect to a network using the details provided by a Connection object. The Connection.Active object tracks the life-cycle of the connection attempt and if successful indicates whether the connected network is the "default" or preferred network for access. NetworkManager has the concept of connections, which can be thought of as settings, a profile or a configuration that can be applied on a networking device. Such settings-connections are exposed as D-Bus object and the active-connection expresses this relationship between device and settings-connection. At any time a settings-connection can only be activated on one device and vice versa. However, during activation and deactivation multiple active-connections can reference the same device or settings-connection as they are waiting to be activated or to be deactivated.

+

Objects that implement the Connection.Active interface represent an + attempt to connect to a network using the details provided by a Connection + object. The Connection.Active object tracks the life-cycle of the + connection attempt and if successful indicates whether the connected + network is the "default" or preferred network for access. NetworkManager + has the concept of connections, which can be thought of as settings, a + profile or a configuration that can be applied on a networking device. + Such settings-connections are exposed as D-Bus object and the + active-connection expresses this relationship between device and + settings-connection. At any time a settings-connection can only be + activated on one device and vice versa. However, during activation and + deactivation multiple active-connections can reference the same device or + settings-connection as they are waiting to be activated or to be + deactivated. +

Signal Details

@@ -90,7 +104,8 @@ PropertiesChanged (a{sv} properties);
 Connection  readable   o
 
-

The path of the connection.

+

The path of the connection. +


@@ -98,7 +113,10 @@ Connection readable o
 SpecificObject  readable   o
 
-

A specific object associated with the active connection. This property reflects the specific object used during connection activation, and will not change over the lifetime of the ActiveConnection once set.

+

A specific object associated with the active connection. This property + reflects the specific object used during connection activation, and will + not change over the lifetime of the ActiveConnection once set. +


@@ -106,7 +124,9 @@ SpecificObject readable o
 Id  readable   s
 
-

The ID of the connection, provided as a convenience so that clients do not have to retrieve all connection details.

+

The ID of the connection, provided as a convenience so that clients do not + have to retrieve all connection details. +


@@ -114,7 +134,9 @@ Id readable s
 Uuid  readable   s
 
-

The UUID of the connection, provided as a convenience so that clients do not have to retrieve all connection details.

+

The UUID of the connection, provided as a convenience so that clients do + not have to retrieve all connection details. +


@@ -122,7 +144,9 @@ Uuid readable s
 Type  readable   s
 
-

The type of the connection, provided as a convenience so that clients do not have to retrieve all connection details.

+

The type of the connection, provided as a convenience so that clients do + not have to retrieve all connection details. +


@@ -130,7 +154,9 @@ Type readable s
 Devices  readable   ao
 
-

Array of object paths representing devices which are part of this active connection.

+

Array of object paths representing devices which are part of this active + connection. +


@@ -138,7 +164,10 @@ Devices readable ao
 State  readable   u
 
-

The state of this active connection.

+

The state of this active connection. +

+

Returns: NMActiveConnectionState +


@@ -146,7 +175,9 @@ State readable u
 Default  readable   b
 
-

Whether this active connection is the default IPv4 connection, i.e. whether it currently owns the default IPv4 route.

+

Whether this active connection is the default IPv4 connection, i.e. + whether it currently owns the default IPv4 route. +


@@ -154,7 +185,10 @@ Default readable b
 Ip4Config  readable   o
 
-

Object path of the Ip4Config object describing the configuration of the connection. Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

+

Object path of the Ip4Config object describing the configuration of the + connection. Only valid when the connection is in the + NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. +


@@ -162,7 +196,10 @@ Ip4Config readable o
 Dhcp4Config  readable   o
 
-

Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server (assuming the connection used DHCP). Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

+

Object path of the Dhcp4Config object describing the DHCP options returned + by the DHCP server (assuming the connection used DHCP). Only valid when + the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. +


@@ -170,7 +207,9 @@ Dhcp4Config readable o
 Default6  readable   b
 
-

Whether this active connection is the default IPv6 connection, i.e. whether it currently owns the default IPv6 route.

+

Whether this active connection is the default IPv6 connection, i.e. + whether it currently owns the default IPv6 route. +


@@ -178,7 +217,10 @@ Default6 readable b
 Ip6Config  readable   o
 
-

Object path of the Ip6Config object describing the configuration of the connection. Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

+

Object path of the Ip6Config object describing the configuration of the + connection. Only valid when the connection is in the + NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. +


@@ -186,7 +228,10 @@ Ip6Config readable o
 Dhcp6Config  readable   o
 
-

Object path of the Dhcp6Config object describing the DHCP options returned by the DHCP server (assuming the connection used DHCP). Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.

+

Object path of the Dhcp6Config object describing the DHCP options returned + by the DHCP server (assuming the connection used DHCP). Only valid when + the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. +


@@ -194,7 +239,8 @@ Dhcp6Config readable o
 Vpn  readable   b
 
-

Whether this active connection is also a VPN connection.

+

Whether this active connection is also a VPN connection. +


@@ -202,7 +248,8 @@ Vpn readable b
 Master  readable   o
 
-

The path to the master device if the connection is a slave.

+

The path to the master device if the connection is a slave. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP4Config.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP4Config.html index 6f8fed9d..ea8eaa80 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP4Config.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP4Config.html @@ -47,7 +47,8 @@

Description

-

Options and configuration returned by the IPv4 DHCP server.

+

Options and configuration returned by the IPv4 DHCP server. +

Signal Details

@@ -76,7 +77,8 @@ PropertiesChanged (a{sv} properties);
 Options  readable   a{sv}
 
-

Configuration options returned by a DHCP server, if any.

+

Configuration options returned by a DHCP server, if any. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP6Config.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP6Config.html index e1cdb43e..8634c505 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP6Config.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.DHCP6Config.html @@ -47,7 +47,8 @@

Description

-

Options and configuration returned by the IPv6 DHCP server.

+

Options and configuration returned by the IPv6 DHCP server. +

Signal Details

@@ -76,7 +77,8 @@ PropertiesChanged (a{sv} properties);
 Options  readable   a{sv}
 
-

Configuration options returned by a DHCP server, if any.

+

Configuration options returned by a DHCP server, if any. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Adsl.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Adsl.html index 3c4c7c7e..85b8cca5 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Adsl.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Adsl.html @@ -76,7 +76,8 @@ PropertiesChanged (a{sv} properties);
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found.

+

Indicates whether the physical carrier is found. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bluetooth.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bluetooth.html index d9fc09cc..8aee9d96 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bluetooth.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bluetooth.html @@ -78,7 +78,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Bluetooth hardware address of the device.

+

Bluetooth hardware address of the device. +


@@ -86,7 +87,8 @@ HwAddress readable s
 Name  readable   s
 
-

Bluetooth name of the device.

+

Bluetooth name of the device. +


@@ -94,7 +96,10 @@ Name readable s
 BtCapabilities  readable   u
 
-

Bluetooth capabilities of the device (either DUN or NAP).

+

Bluetooth capabilities of the device (either DUN or NAP). +

+

Returns: NMBluetoothCapabilities +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bond.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bond.html index 27bfc6f8..bb8000a3 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bond.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bond.html @@ -78,7 +78,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -86,7 +87,9 @@ HwAddress readable s
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +


@@ -94,7 +97,9 @@ Carrier readable b
 Slaves  readable   ao
 
-

Array of object paths representing devices which are currently slaved to this device.

+

Array of object paths representing devices which are currently slaved to + this device. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bridge.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bridge.html index 83f25082..8c3c0df6 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bridge.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Bridge.html @@ -78,7 +78,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -86,7 +87,9 @@ HwAddress readable s
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +


@@ -94,7 +97,9 @@ Carrier readable b
 Slaves  readable   ao
 
-

Array of object paths representing devices which are currently slaved to this device.

+

Array of object paths representing devices which are currently slaved to + this device. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Generic.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Generic.html index 73fadb87..0ca0acc6 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Generic.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Generic.html @@ -77,7 +77,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -85,7 +86,8 @@ HwAddress readable s
 TypeDescription  readable   s
 
-

A (non-localized) description of the interface type, if known.

+

A (non-localized) description of the interface type, if known. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.IPTunnel.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.IPTunnel.html index ffc09320..8fc079b3 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.IPTunnel.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.IPTunnel.html @@ -86,7 +86,8 @@ PropertiesChanged (a{sv} properties);
 Mode  readable   u
 
-

The tunneling mode.

+

The tunneling mode. +


@@ -94,7 +95,8 @@ Mode readable u
 Parent  readable   o
 
-

The object path of the parent device.

+

The object path of the parent device. +


@@ -102,7 +104,8 @@ Parent readable o
 Local  readable   s
 
-

The local endpoint of the tunnel.

+

The local endpoint of the tunnel. +


@@ -110,7 +113,8 @@ Local readable s
 Remote  readable   s
 
-

The remote endpoint of the tunnel.

+

The remote endpoint of the tunnel. +


@@ -118,7 +122,9 @@ Remote readable s
 Ttl  readable   y
 
-

The TTL assigned to tunneled packets. 0 is a special value meaning that packets inherit the TTL value

+

The TTL assigned to tunneled packets. 0 is a special value meaning that + packets inherit the TTL value +


@@ -126,7 +132,9 @@ Ttl readable y
 Tos  readable   y
 
-

The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.

+

The type of service (IPv4) or traffic class (IPv6) assigned to tunneled + packets. +


@@ -134,7 +142,8 @@ Tos readable y
 PathMtuDiscovery  readable   b
 
-

Whether path MTU discovery is enabled on this tunnel.

+

Whether path MTU discovery is enabled on this tunnel. +


@@ -142,7 +151,8 @@ PathMtuDiscovery readable b
 InputKey  readable   s
 
-

The key used for incoming packets.

+

The key used for incoming packets. +


@@ -150,7 +160,8 @@ InputKey readable s
 OutputKey  readable   s
 
-

The key used for outgoing packets.

+

The key used for outgoing packets. +


@@ -158,7 +169,9 @@ OutputKey readable s
 EncapsulationLimit  readable   y
 
-

How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.

+

How many additional levels of encapsulation are permitted to be prepended + to packets. This property applies only to IPv6 tunnels. +


@@ -166,7 +179,9 @@ EncapsulationLimit readable y
 FlowLabel  readable   u
 
-

The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.

+

The flow label to assign to tunnel packets. This property applies only to + IPv6 tunnels. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Infiniband.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Infiniband.html index 6ba8403e..0be326c1 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Infiniband.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Infiniband.html @@ -77,7 +77,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -85,7 +86,9 @@ HwAddress readable s
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Macvlan.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Macvlan.html index ab240f49..1cd289ce 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Macvlan.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Macvlan.html @@ -79,7 +79,8 @@ PropertiesChanged (a{sv} properties);
 Parent  readable   o
 
-

The object path of the parent device.

+

The object path of the parent device. +


@@ -87,7 +88,8 @@ Parent readable o
 Mode  readable   s
 
-

The macvlan mode, one of "private", "vepa", "bridge", or "passthru".

+

The macvlan mode, one of "private", "vepa", "bridge", or "passthru". +


@@ -95,7 +97,8 @@ Mode readable s
 NoPromisc  readable   b
 
-

Whether the device is blocked from going into promiscuous mode.

+

Whether the device is blocked from going into promiscuous mode. +


@@ -103,7 +106,8 @@ NoPromisc readable b
 Tap  readable   b
 
-

Whether the device is a macvtap.

+

Whether the device is a macvtap. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Modem.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Modem.html index a587a928..554ac256 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Modem.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Modem.html @@ -77,7 +77,13 @@ PropertiesChanged (a{sv} properties);
 ModemCapabilities  readable   u
 
-

The generic family of access technologies the modem supports. Not all capabilities are available at the same time however; some modems require a firmware reload or other reinitialization to switch between eg CDMA/EVDO and GSM/UMTS.

+

The generic family of access technologies the modem supports. Not all + capabilities are available at the same time however; some modems require a + firmware reload or other reinitialization to switch between eg CDMA/EVDO + and GSM/UMTS. +

+

Returns: NMDeviceModemCapabilities +


@@ -85,7 +91,11 @@ ModemCapabilities readable u
 CurrentCapabilities  readable   u
 
-

The generic family of access technologies the modem currently supports without a firmware reload or reinitialization.

+

The generic family of access technologies the modem currently supports + without a firmware reload or reinitialization. +

+

Returns: NMDeviceModemCapabilities +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.OlpcMesh.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.OlpcMesh.html index 24d43344..24cd507e 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.OlpcMesh.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.OlpcMesh.html @@ -58,7 +58,8 @@
 PropertiesChanged (a{sv} properties);
 
-

Emitted when the wireless device's properties changed.

+

Emitted when the wireless device's properties changed. +

@@ -78,7 +79,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

The hardware address of the device.

+

The hardware address of the device. +


@@ -86,7 +88,8 @@ HwAddress readable s
 Companion  readable   o
 
-

The object path of the companion device.

+

The object path of the companion device. +


@@ -94,7 +97,8 @@ Companion readable o
 ActiveChannel  readable   u
 
-

The currently active channel.

+

The currently active channel. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Team.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Team.html index bda719d3..24f6d5c6 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Team.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Team.html @@ -78,7 +78,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -86,7 +87,9 @@ HwAddress readable s
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +


@@ -94,7 +97,9 @@ Carrier readable b
 Slaves  readable   ao
 
-

Array of object paths representing devices which are currently slaved to this device.

+

Array of object paths representing devices which are currently slaved to + this device. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Tun.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Tun.html index 4815cf6e..fedfca40 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Tun.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Tun.html @@ -82,7 +82,8 @@ PropertiesChanged (a{sv} properties);
 Owner  readable   x
 
-

The uid of the tunnel owner, or -1 if it has no owner.

+

The uid of the tunnel owner, or -1 if it has no owner. +


@@ -90,7 +91,8 @@ Owner readable x
 Group  readable   x
 
-

The gid of the tunnel group, or -1 if it has no owner.

+

The gid of the tunnel group, or -1 if it has no owner. +


@@ -98,7 +100,8 @@ Group readable x
 Mode  readable   s
 
-

The tunnel mode, either "tun" or "tap".

+

The tunnel mode, either "tun" or "tap". +


@@ -106,7 +109,9 @@ Mode readable s
 NoPi  readable   b
 
-

The tunnel's "TUN_NO_PI" flag; true if no protocol info is prepended to the tunnel packets.

+

The tunnel's "TUN_NO_PI" flag; true if no protocol info is prepended to + the tunnel packets. +


@@ -114,7 +119,9 @@ NoPi readable b
 VnetHdr  readable   b
 
-

The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets include a virtio network header.

+

The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets include a + virtio network header. +


@@ -122,7 +129,9 @@ VnetHdr readable b
 MultiQueue  readable   b
 
-

The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to the tap device multiple times, for multiple send/receive queues.

+

The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to the tap + device multiple times, for multiple send/receive queues. +


@@ -130,7 +139,8 @@ MultiQueue readable b
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Veth.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Veth.html index 6bdc741f..c045a5ff 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Veth.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Veth.html @@ -76,7 +76,8 @@ PropertiesChanged (a{sv} properties);
 Peer  readable   o
 
-

The object path of the device's peer.

+

The object path of the device's peer. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vlan.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vlan.html index 75d564bb..9b8fea75 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vlan.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vlan.html @@ -79,7 +79,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -87,7 +88,9 @@ HwAddress readable s
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +


@@ -95,7 +98,8 @@ Carrier readable b
 Parent  readable   o
 
-

Object path of the parent device of this VLAN device.

+

Object path of the parent device of this VLAN device. +


@@ -103,7 +107,8 @@ Parent readable o
 VlanId  readable   u
 
-

The VLAN ID of this VLAN interface.

+

The VLAN ID of this VLAN interface. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vxlan.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vxlan.html index ec4a48d4..4d227329 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vxlan.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Vxlan.html @@ -92,7 +92,9 @@ PropertiesChanged (a{sv} properties);
 Parent  readable   o
 
-

The object path of the parent device (if the VXLAN is not purely internal to this host).

+

The object path of the parent device (if the VXLAN is not purely internal + to this host). +


@@ -100,7 +102,8 @@ Parent readable o
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -108,7 +111,8 @@ HwAddress readable s
 Id  readable   u
 
-

The VXLAN Network Identifier (VNI).

+

The VXLAN Network Identifier (VNI). +


@@ -116,7 +120,9 @@ Id readable u
 Group  readable   s
 
-

The IP (v4 or v6) multicast group used to communicate with other physical hosts on this VXLAN.

+

The IP (v4 or v6) multicast group used to communicate with other physical + hosts on this VXLAN. +


@@ -124,7 +130,9 @@ Group readable s
 Local  readable   s
 
-

The local IPv4 or IPv6 address to use when sending VXLAN packets to other physical hosts.

+

The local IPv4 or IPv6 address to use when sending VXLAN packets to other + physical hosts. +


@@ -132,7 +140,9 @@ Local readable s
 Tos  readable   y
 
-

The value to use in the IP ToS field for VXLAN packets sent to other physical hosts.

+

The value to use in the IP ToS field for VXLAN packets sent to other + physical hosts. +


@@ -140,7 +150,9 @@ Tos readable y
 Ttl  readable   y
 
-

The value to use in the IP TTL field for VXLAN packets sent to other physical hosts.

+

The value to use in the IP TTL field for VXLAN packets sent to other + physical hosts. +


@@ -148,7 +160,8 @@ Ttl readable y
 Learning  readable   b
 
-

True if the VXLAN dynamically learns remote IP addresses.

+

True if the VXLAN dynamically learns remote IP addresses. +


@@ -156,7 +169,8 @@ Learning readable b
 Ageing  readable   u
 
-

The interval in seconds at which the kernel purges stale cached addresses.

+

The interval in seconds at which the kernel purges stale cached addresses. +


@@ -164,7 +178,9 @@ Ageing readable u
 Limit  readable   u
 
-

The maximum number of entries that can be added to the VXLAN's forwarding table.

+

The maximum number of entries that can be added to the VXLAN's forwarding + table. +


@@ -172,7 +188,8 @@ Limit readable u
 DstPort  readable   q
 
-

Destination port for outgoing VXLAN packets.

+

Destination port for outgoing VXLAN packets. +


@@ -180,7 +197,8 @@ DstPort readable q
 SrcPortMin  readable   q
 
-

The lowest source port number to use for outgoing VXLAN packets.

+

The lowest source port number to use for outgoing VXLAN packets. +


@@ -188,7 +206,8 @@ SrcPortMin readable q
 SrcPortMax  readable   q
 
-

The highest source port number to use for outgoing VXLAN packets.

+

The highest source port number to use for outgoing VXLAN packets. +


@@ -196,7 +215,8 @@ SrcPortMax readable q
 Proxy  readable   b
 
-

True if the VXLAN is implementing DOVE ARP proxying for remote clients.

+

True if the VXLAN is implementing DOVE ARP proxying for remote clients. +


@@ -204,7 +224,9 @@ Proxy readable b
 Rsc  readable   b
 
-

True if the VXLAN is implementing DOVE route short-circuiting of known remote IP addresses.

+

True if the VXLAN is implementing DOVE route short-circuiting of known + remote IP addresses. +


@@ -212,7 +234,8 @@ Rsc readable b
 L2miss  readable   b
 
-

True if the VXLAN will emit netlink notifications of L2 switch misses.

+

True if the VXLAN will emit netlink notifications of L2 switch misses. +


@@ -220,7 +243,8 @@ L2miss readable b
 L3miss  readable   b
 
-

True if the VXLAN will emit netlink notifications of L3 switch misses.

+

True if the VXLAN will emit netlink notifications of L3 switch misses. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.WiMax.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.WiMax.html index 3ef7947b..2bd82f0a 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.WiMax.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.WiMax.html @@ -67,11 +67,12 @@

Method Details

-

The GetNspList() method

+

The GetNspList() method

 GetNspList (OUT ao nsps);
 
-

Get the list of NSPs visible to this device.

+

Get the list of NSPs visible to this device. +

@@ -91,7 +92,8 @@ GetNspList (OUT ao nsps);
 PropertiesChanged (a{sv} properties);
 
-

Emitted when the WiMax device's properties changed.

+

Emitted when the WiMax device's properties changed. +

@@ -109,7 +111,8 @@ PropertiesChanged (a{sv} properties);
 NspAdded (o nsp);
 
-

Emitted when a new NSP is found by the device.

+

Emitted when a new NSP is found by the device. +

@@ -127,7 +130,8 @@ NspAdded (o nsp);
 NspRemoved (o nsp);
 
-

Emitted when an NSP disappears from view of the device.

+

Emitted when an NSP disappears from view of the device. +

@@ -147,7 +151,9 @@ NspRemoved (o nsp);
 Nsps  readable   ao
 
-

List of object paths of Network Service Providers (NSPs) visible to this WiMAX device.

+

List of object paths of Network Service Providers (NSPs) visible to this + WiMAX device. +


@@ -155,7 +161,8 @@ Nsps readable ao
 HwAddress  readable   s
 
-

Hardware address of the device.

+

Hardware address of the device. +


@@ -163,7 +170,10 @@ HwAddress readable s
 CenterFrequency  readable   u
 
-

Center frequency (in KHz) of the radio channel the device is using to communicate with the network when connected. Has no meaning when the device is not connected.

+

Center frequency (in KHz) of the radio channel the device is using to + communicate with the network when connected. Has no meaning when the + device is not connected. +


@@ -171,7 +181,11 @@ CenterFrequency readable u
 Rssi  readable   i
 
-

RSSI of the current radio link in dBm. This value indicates how strong the raw received RF signal from the base station is, but does not indicate the overall quality of the radio link. Has no meaning when the device is not connected.

+

RSSI of the current radio link in dBm. This value indicates how strong the + raw received RF signal from the base station is, but does not indicate the + overall quality of the radio link. Has no meaning when the device is not + connected. +


@@ -179,7 +193,10 @@ Rssi readable i
 Cinr  readable   i
 
-

CINR (Carrier to Interference + Noise Ratio) of the current radio link in dB. CINR is a more accurate measure of radio link quality. Has no meaning when the device is not connected.

+

CINR (Carrier to Interference + Noise Ratio) of the current radio link in + dB. CINR is a more accurate measure of radio link quality. Has no meaning + when the device is not connected. +


@@ -187,7 +204,10 @@ Cinr readable i
 TxPower  readable   i
 
-

Average power of the last burst transmitted by the device, in units of 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of -5.5 dBm. Has no meaning when the device is not connected.

+

Average power of the last burst transmitted by the device, in units of 0.5 + dBm. i.e. a TxPower of -11 represents an actual device TX power of -5.5 + dBm. Has no meaning when the device is not connected. +


@@ -195,7 +215,9 @@ TxPower readable i
 Bsid  readable   s
 
-

The ID of the serving base station as received from the network. Has no meaning when the device is not connected.

+

The ID of the serving base station as received from the network. Has no + meaning when the device is not connected. +


@@ -203,7 +225,8 @@ Bsid readable s
 ActiveNsp  readable   o
 
-

Object path of the NSP currently used by the WiMax device.

+

Object path of the NSP currently used by the WiMax device. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wired.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wired.html index 09de05da..498b1e9b 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wired.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wired.html @@ -80,7 +80,8 @@ PropertiesChanged (a{sv} properties);
 HwAddress  readable   s
 
-

Active hardware address of the device.

+

Active hardware address of the device. +


@@ -88,7 +89,8 @@ HwAddress readable s
 PermHwAddress  readable   s
 
-

Permanent hardware address of the device.

+

Permanent hardware address of the device. +


@@ -96,7 +98,8 @@ PermHwAddress readable s
 Speed  readable   u
 
-

Design speed of the device, in megabits/second (Mb/s).

+

Design speed of the device, in megabits/second (Mb/s). +


@@ -104,7 +107,8 @@ Speed readable u
 S390Subchannels  readable   as
 
-

Array of S/390 subchannels for S/390 or z/Architecture devices.

+

Array of S/390 subchannels for S/390 or z/Architecture devices. +


@@ -112,7 +116,9 @@ S390Subchannels readable as
 Carrier  readable   b
 
-

Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).

+

Indicates whether the physical carrier is found (e.g. whether a cable is + plugged in or not). +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html index 3230bac7..6992176a 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html @@ -68,11 +68,15 @@

Method Details

-

The GetAccessPoints() method

+

The GetAccessPoints() method

 GetAccessPoints (OUT ao access_points);
 
-

DEPRECATED. Get the list of access points visible to this device. Note that this list does not include access points which hide their SSID. To retrieve a list of all access points (including hidden ones) use the GetAllAccessPoints() method.

+

DEPRECATED. Get the list of access points visible to this device. Note + that this list does not include access points which hide their SSID. To + retrieve a list of all access points (including hidden ones) use the + GetAllAccessPoints() method. +

@@ -86,11 +90,13 @@ GetAccessPoints (OUT ao access_points);
-

The GetAllAccessPoints() method

+

The GetAllAccessPoints() method

 GetAllAccessPoints (OUT ao access_points);
 
-

Get the list of all access points visible to this device, including hidden ones for which the SSID is not yet known.

+

Get the list of all access points visible to this device, including hidden + ones for which the SSID is not yet known. +

@@ -104,11 +110,12 @@ GetAllAccessPoints (OUT ao access_points);
-

The RequestScan() method

+

The RequestScan() method

 RequestScan (IN  a{sv} options);
 
-

Request the device to scan

+

Request the device to scan +

@@ -116,7 +123,7 @@ RequestScan (IN a{sv} options); - +

IN a{sv} options:

Options of scan. Currently 'ssids' option with value of "aay" type is supported.

Options of scan. Currently 'ssids' option with value of "aay" type is supported.

@@ -128,7 +135,8 @@ RequestScan (IN a{sv} options);
 PropertiesChanged (a{sv} properties);
 
-

Emitted when the wireless device's properties changed.

+

Emitted when the wireless device's properties changed. +

@@ -146,7 +154,8 @@ PropertiesChanged (a{sv} properties);
 AccessPointAdded (o access_point);
 
-

Emitted when a new access point is found by the device.

+

Emitted when a new access point is found by the device. +

@@ -164,7 +173,8 @@ AccessPointAdded (o access_point);
 AccessPointRemoved (o access_point);
 
-

Emitted when an access point disappears from view of the device.

+

Emitted when an access point disappears from view of the device. +

@@ -184,7 +194,8 @@ AccessPointRemoved (o access_point);
 HwAddress  readable   s
 
-

The active hardware address of the device.

+

The active hardware address of the device. +


@@ -192,7 +203,8 @@ HwAddress readable s
 PermHwAddress  readable   s
 
-

The permanent hardware address of the device.

+

The permanent hardware address of the device. +


@@ -200,7 +212,10 @@ PermHwAddress readable s
 Mode  readable   u
 
-

The operating mode of the wireless device.

+

The operating mode of the wireless device. +

+

Returns: NM80211Mode +


@@ -208,7 +223,9 @@ Mode readable u
 Bitrate  readable   u
 
-

The bit rate currently used by the wireless device, in kilobits/second (Kb/s).

+

The bit rate currently used by the wireless device, in kilobits/second + (Kb/s). +


@@ -216,7 +233,8 @@ Bitrate readable u
 AccessPoints  readable   ao
 
-

List of object paths of access point visible to this wireless device.

+

List of object paths of access point visible to this wireless device. +


@@ -224,7 +242,8 @@ AccessPoints readable ao
 ActiveAccessPoint  readable   o
 
-

Object path of the access point currently used by the wireless device.

+

Object path of the access point currently used by the wireless device. +


@@ -232,7 +251,10 @@ ActiveAccessPoint readable o
 WirelessCapabilities  readable   u
 
-

The capabilities of the wireless device.

+

The capabilities of the wireless device. +

+

Returns: NMDeviceWifiCapabilities +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html index ee7203c5..03f74ce4 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Device.html @@ -92,13 +92,33 @@

Method Details

-

The Reapply() method

+

The Reapply() method

 Reapply (IN  a{sa{sv}} connection,
          IN  t         version_id,
          IN  u         flags);
 
-

Attempts to update the configuration of a device without deactivating it. NetworkManager has the concept of connections, which are profiles that contain the configuration for a networking device. Those connections are exposed via D-Bus as individual objects that can be created, modified and deleted. When activating such a settings-connection on a device, the settings-connection is cloned to become an applied-connection and used to configure the device (see GetAppliedConnection). Subsequent modification of the settings-connection don't propagate automatically to the device's applied-connection (with exception of the firewall-zone and the metered property). For the changes to take effect, you can either re-activate the settings-connection, or call Reapply. The Reapply call allows you to directly update the applied-connection and reconfigure the device. Reapply can also be useful if the currently applied-connection is equal to the connection that is about to be reapplied. This allows to reconfigure the device and revert external changes like removing or adding an IP address (which NetworkManager doesn't revert automatically because it is assumed that the user made these changes intentionally outside of NetworkManager). Reapply can make the applied-connection different from the settings-connection, just like updating the settings-connection can make them different.

+

Attempts to update the configuration of a device without deactivating it. + NetworkManager has the concept of connections, which are profiles that + contain the configuration for a networking device. Those connections are + exposed via D-Bus as individual objects that can be created, modified and + deleted. When activating such a settings-connection on a device, the + settings-connection is cloned to become an applied-connection and used to + configure the device (see GetAppliedConnection). Subsequent modification + of the settings-connection don't propagate automatically to the device's + applied-connection (with exception of the firewall-zone and the metered + property). For the changes to take effect, you can either re-activate the + settings-connection, or call Reapply. The Reapply call allows you to + directly update the applied-connection and reconfigure the device. Reapply + can also be useful if the currently applied-connection is equal to the + connection that is about to be reapplied. This allows to reconfigure the + device and revert external changes like removing or adding an IP address + (which NetworkManager doesn't revert automatically because it is assumed + that the user made these changes intentionally outside of NetworkManager). + Reapply can make the applied-connection different from the + settings-connection, just like updating the settings-connection can make + them different. +

@@ -107,28 +127,35 @@ Reapply (IN a{sa{sv}} connection, - + - + - +

IN a{sa{sv}} connection:

The optional connection settings that will be reapplied on the device. If empty, the currently active settings-connection will be used. The connection cannot arbitrarly differ from the current applied-connection otherwise the call will fail. Only certain changes are supported, like adding or removing IP addresses.

The optional connection settings that will be reapplied on the device. If empty, the currently active settings-connection will be used. The connection cannot arbitrarly differ from the current applied-connection otherwise the call will fail. Only certain changes are supported, like adding or removing IP addresses.

IN t version_id:

If non-zero, the current version id of the applied-connection must match. The current version id can be retrieved via GetAppliedConnection. This optional argument allows to catch concurrent modifications between the GetAppliedConnection call and Reapply.

If non-zero, the current version id of the applied-connection must match. The current version id can be retrieved via GetAppliedConnection. This optional argument allows to catch concurrent modifications between the GetAppliedConnection call and Reapply.

IN u flags:

Flags which would modify the behavior of the Reapply call. There are no flags defined currently and the users should use the value of 0.

Flags which would modify the behavior of the Reapply call. There are no flags defined currently and the users should use the value of 0.


-

The GetAppliedConnection() method

+

The GetAppliedConnection() method

 GetAppliedConnection (IN  u         flags,
                       OUT a{sa{sv}} connection,
                       OUT t         version_id);
 
-

Get the currently applied connection on the device. This is a snapshot of the last activated connection on the device, that is the configuration that is currently applied on the device. Usually this is the same as GetSettings of the referenced settings connection. However, it can differ if the settings connection was subsequently modified or the applied connection was modified by Reapply. The applied connection is set when activating a device or when calling Reapply.

+

Get the currently applied connection on the device. This is a snapshot of + the last activated connection on the device, that is the configuration + that is currently applied on the device. Usually this is the same as + GetSettings of the referenced settings connection. However, it can differ + if the settings connection was subsequently modified or the applied + connection was modified by Reapply. The applied connection is set when + activating a device or when calling Reapply. +

@@ -137,7 +164,7 @@ GetAppliedConnection (IN u flags, - + @@ -145,26 +172,31 @@ GetAppliedConnection (IN u flags, - +

IN u flags:

Flags which would modify the behavior of the GetAppliedConnection call. There are no flags defined currently and the users should use the value of 0.

Flags which would modify the behavior of the GetAppliedConnection call. There are no flags defined currently and the users should use the value of 0.

OUT a{sa{sv}} connection:

OUT t version_id:

The version-id of the currently applied connection. This can be specified during Reapply to avoid races where you first fetch the applied connection, modify it and try to reapply it. If the applied connection is modified in the meantime, the version_id gets incremented and Reapply will fail.

The version-id of the currently applied connection. This can be specified during Reapply to avoid races where you first fetch the applied connection, modify it and try to reapply it. If the applied connection is modified in the meantime, the version_id gets incremented and Reapply will fail.


-

The Disconnect() method

+

The Disconnect() method

 Disconnect ();
 
-

Disconnects a device and prevents the device from automatically activating further connections without user intervention.

+

Disconnects a device and prevents the device from automatically activating + further connections without user intervention. +


-

The Delete() method

+

The Delete() method

 Delete ();
 
-

Deletes a software device from NetworkManager and removes the interface from the system. The method returns an error when called for a hardware device.

+

Deletes a software device from NetworkManager and removes the interface + from the system. The method returns an error when called for a hardware + device. +

@@ -185,15 +217,15 @@ StateChanged (u new_state,

u new_state:

-

The new state of the device.

+

(NMDeviceState) The new state of the device.

u old_state:

-

The previous state of the device.

+

(NMDeviceState) The previous state of the device.

u reason:

-

A reason for the state transition.

+

(NMDeviceStateReason) A reason for the state transition.

@@ -206,7 +238,18 @@ StateChanged (u new_state,
 Udi  readable   s
 
-

Operating-system specific transient device hardware identifier. This is an opaque string representing the underlying hardware for the device, and shouldn't be used to keep track of individual devices. For some device types (Bluetooth, Modems) it is an identifier used by the hardware service (ie bluez or ModemManager) to refer to that device, and client programs use it get additional information from those services which NM does not provide. The Udi is not guaranteed to be consistent across reboots or hotplugs of the hardware. If you're looking for a way to uniquely track each device in your application, use the object path. If you're looking for a way to track a specific piece of hardware across reboot or hotplug, use a MAC address or USB serial number.

+

Operating-system specific transient device hardware identifier. This is an + opaque string representing the underlying hardware for the device, and + shouldn't be used to keep track of individual devices. For some device + types (Bluetooth, Modems) it is an identifier used by the hardware service + (ie bluez or ModemManager) to refer to that device, and client programs + use it get additional information from those services which NM does not + provide. The Udi is not guaranteed to be consistent across reboots or + hotplugs of the hardware. If you're looking for a way to uniquely track + each device in your application, use the object path. If you're looking + for a way to track a specific piece of hardware across reboot or hotplug, + use a MAC address or USB serial number. +


@@ -214,7 +257,8 @@ Udi readable s
 Interface  readable   s
 
-

The name of the device's control (and often data) interface.

+

The name of the device's control (and often data) interface. +


@@ -222,7 +266,11 @@ Interface readable s
 IpInterface  readable   s
 
-

The name of the device's data interface when available. This property may not refer to the actual data interface until the device has successfully established a data connection, indicated by the device's State becoming ACTIVATED.

+

The name of the device's data interface when available. This property may + not refer to the actual data interface until the device has successfully + established a data connection, indicated by the device's State becoming + ACTIVATED. +


@@ -230,7 +278,8 @@ IpInterface readable s
 Driver  readable   s
 
-

The driver handling the device.

+

The driver handling the device. +


@@ -238,7 +287,8 @@ Driver readable s
 DriverVersion  readable   s
 
-

The version of the driver handling the device.

+

The version of the driver handling the device. +


@@ -246,7 +296,8 @@ DriverVersion readable s
 FirmwareVersion  readable   s
 
-

The firmware version for the device.

+

The firmware version for the device. +


@@ -254,7 +305,10 @@ FirmwareVersion readable s
 Capabilities  readable   u
 
-

Flags describing the capabilities of the device.

+

Flags describing the capabilities of the device. +

+

Returns: NMDeviceCapabilities +


@@ -262,7 +316,9 @@ Capabilities readable u
 Ip4Address  readable   u
 
-

DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object instead.

+

DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object + instead. +


@@ -270,7 +326,10 @@ Ip4Address readable u
 State  readable   u
 
-

The current state of the device.

+

The current state of the device. +

+

Returns: NMDeviceState +


@@ -278,7 +337,10 @@ State readable u
 StateReason  readable   (uu)
 
-

The current state and reason for changing to that state.

+

The current state and reason for changing to that state. +

+

Returns: A tuple of NMDeviceState and NMDeviceStateReason. +


@@ -286,7 +348,11 @@ StateReason readable (uu)
 ActiveConnection  readable   o
 
-

Object path of an ActiveConnection object that "owns" this device during activation. The ActiveConnection object tracks the life-cycle of a connection to a specific network and implements the org.freedesktop.NetworkManager.Connection.Active D-Bus interface.

+

Object path of an ActiveConnection object that "owns" this device during + activation. The ActiveConnection object tracks the life-cycle of a + connection to a specific network and implements the + org.freedesktop.NetworkManager.Connection.Active D-Bus interface. +


@@ -294,7 +360,10 @@ ActiveConnection readable o
 Ip4Config  readable   o
 
-

Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.

+

Object path of the Ip4Config object describing the configuration of the + device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED + state. +


@@ -302,7 +371,10 @@ Ip4Config readable o
 Dhcp4Config  readable   o
 
-

Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.

+

Object path of the Dhcp4Config object describing the DHCP options returned + by the DHCP server. Only valid when the device is in the + NM_DEVICE_STATE_ACTIVATED state. +


@@ -310,7 +382,10 @@ Dhcp4Config readable o
 Ip6Config  readable   o
 
-

Object path of the Ip6Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.

+

Object path of the Ip6Config object describing the configuration of the + device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED + state. +


@@ -318,7 +393,10 @@ Ip6Config readable o
 Dhcp6Config  readable   o
 
-

Object path of the Dhcp6Config object describing the DHCP options returned by the DHCP server. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.

+

Object path of the Dhcp6Config object describing the DHCP options returned + by the DHCP server. Only valid when the device is in the + NM_DEVICE_STATE_ACTIVATED state. +


@@ -326,7 +404,11 @@ Dhcp6Config readable o
 Managed  readwrite  b
 
-

Whether or not this device is managed by NetworkManager. Setting this property has a similar effect to configuring the device as unmanaged via the keyfile.unmanaged-devices setting in NetworkManager.conf. Changes to this value are not persistent and lost after NetworkManager restart.

+

Whether or not this device is managed by NetworkManager. Setting this + property has a similar effect to configuring the device as unmanaged via + the keyfile.unmanaged-devices setting in NetworkManager.conf. Changes to + this value are not persistent and lost after NetworkManager restart. +


@@ -334,7 +416,12 @@ Managed readwrite b
 Autoconnect  readwrite  b
 
-

If TRUE, indicates the device is allowed to autoconnect. If FALSE, manual intervention is required before the device will automatically connect to a known network, such as activating a connection using the device, or setting this property to TRUE. This property cannot be set to TRUE for default-unmanaged devices, since they never autoconnect.

+

If TRUE, indicates the device is allowed to autoconnect. If FALSE, manual + intervention is required before the device will automatically connect to a + known network, such as activating a connection using the device, or + setting this property to TRUE. This property cannot be set to TRUE for + default-unmanaged devices, since they never autoconnect. +


@@ -342,7 +429,9 @@ Autoconnect readwrite b
 FirmwareMissing  readable   b
 
-

If TRUE, indicates the device is likely missing firmware necessary for its operation.

+

If TRUE, indicates the device is likely missing firmware necessary for its + operation. +


@@ -350,7 +439,9 @@ FirmwareMissing readable b
 NmPluginMissing  readable   b
 
-

If TRUE, indicates the NetworkManager plugin for the device is likely missing or misconfigured.

+

If TRUE, indicates the NetworkManager plugin for the device is likely + missing or misconfigured. +


@@ -358,7 +449,10 @@ NmPluginMissing readable b
 DeviceType  readable   u
 
-

The general type of the network device; ie Ethernet, WiFi, etc.

+

The general type of the network device; ie Ethernet, WiFi, etc. +

+

Returns: NMDeviceType +


@@ -366,7 +460,9 @@ DeviceType readable u
 AvailableConnections  readable   ao
 
-

An array of object paths of every configured connection that is currently 'available' through this device.

+

An array of object paths of every configured connection that is currently + 'available' through this device. +


@@ -374,7 +470,11 @@ AvailableConnections readable ao
 PhysicalPortId  readable   s
 
-

If non-empty, an (opaque) indicator of the physical network port associated with the device. This can be used to recognize when two seemingly-separate hardware devices are actually just different virtual interfaces to the same physical port.

+

If non-empty, an (opaque) indicator of the physical network port + associated with the device. This can be used to recognize when two + seemingly-separate hardware devices are actually just different virtual + interfaces to the same physical port. +


@@ -382,7 +482,8 @@ PhysicalPortId readable s
 Mtu  readable   u
 
-

The device MTU (maximum transmission unit).

+

The device MTU (maximum transmission unit). +


@@ -390,7 +491,11 @@ Mtu readable u
 Metered  readable   u
 
-

Whether the amount of traffic flowing through the device is subject to limitations, for example set by service providers.

+

Whether the amount of traffic flowing through the device is subject to + limitations, for example set by service providers. +

+

Returns: NMMetered +


@@ -398,7 +503,9 @@ Metered readable u
 LldpNeighbors  readable   aa{sv}
 
-

Array of LLDP neighbors; each element is a dictionary mapping LLDP TLV names to variant boxed values.

+

Array of LLDP neighbors; each element is a dictionary mapping LLDP TLV + names to variant boxed values. +


@@ -406,7 +513,10 @@ LldpNeighbors readable aa{sv}
 Real  readable   b
 
-

True if the device exists, or False for placeholder devices that do not yet exist but could be automatically created by NetworkManager if one of their AvailableConnections was activated.

+

True if the device exists, or False for placeholder devices that do not + yet exist but could be automatically created by NetworkManager if one of + their AvailableConnections was activated. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP4Config.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP4Config.html index 88aabf84..7405a23c 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP4Config.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP4Config.html @@ -85,7 +85,10 @@ PropertiesChanged (a{sv} properties);
 Addresses  readable   aau
 
-

Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each array are in network byte order. Essentially: [(addr, prefix, gateway), (addr, prefix, gateway), ...] Deprecated: use AddressData and Gateway

+

Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each + array are in network byte order. Essentially: [(addr, prefix, gateway), + (addr, prefix, gateway), ...] Deprecated: use AddressData and Gateway +


@@ -93,7 +96,10 @@ Addresses readable aau
 AddressData  readable   aa{sv}
 
-

Array of IP address data objects. All addresses will include "address" (an IP address string), and "prefix" (a uint). Some addresses may include additional attributes.

+

Array of IP address data objects. All addresses will include "address" (an + IP address string), and "prefix" (a uint). Some addresses may include + additional attributes. +


@@ -101,7 +107,8 @@ AddressData readable aa{sv}
 Gateway  readable   s
 
-

The gateway in use.

+

The gateway in use. +


@@ -109,7 +116,12 @@ Gateway readable s
 Routes  readable   aau
 
-

Arrays of IPv4 route/prefix/next-hop/metric. All 4 elements of each tuple are in network byte order. 'route' and 'next hop' are IPv4 addresses, while prefix and metric are simple unsigned integers. Essentially: [(route, prefix, next-hop, metric), (route, prefix, next-hop, metric), ...] Deprecated: use RouteData

+

Arrays of IPv4 route/prefix/next-hop/metric. All 4 elements of each tuple + are in network byte order. 'route' and 'next hop' are IPv4 addresses, + while prefix and metric are simple unsigned integers. Essentially: + [(route, prefix, next-hop, metric), (route, prefix, next-hop, metric), + ...] Deprecated: use RouteData +


@@ -117,7 +129,10 @@ Routes readable aau
 RouteData  readable   aa{sv}
 
-

Array of IP route data objects. All routes will include "dest" (an IP address string) and "prefix" (a uint). Some routes may include "next-hop" (an IP address string), "metric" (a uint), and additional attributes.

+

Array of IP route data objects. All routes will include "dest" (an IP + address string) and "prefix" (a uint). Some routes may include "next-hop" + (an IP address string), "metric" (a uint), and additional attributes. +


@@ -125,7 +140,8 @@ RouteData readable aa{sv}
 Nameservers  readable   au
 
-

The nameservers in use.

+

The nameservers in use. +


@@ -133,7 +149,8 @@ Nameservers readable au
 Domains  readable   as
 
-

A list of domains this address belongs to.

+

A list of domains this address belongs to. +


@@ -141,7 +158,8 @@ Domains readable as
 Searches  readable   as
 
-

A list of dns searches.

+

A list of dns searches. +


@@ -149,7 +167,9 @@ Searches readable as
 DnsOptions  readable   as
 
-

A list of DNS options that modify the behavior of the DNS resolver. See resolv.conf(5) manual page for the list of supported options.

+

A list of DNS options that modify the behavior of the DNS resolver. See + resolv.conf(5) manual page for the list of supported options. +


@@ -157,7 +177,9 @@ DnsOptions readable as
 WinsServers  readable   au
 
-

The Windows Internet Name Service servers associated with the connection. Each address is in network byte order.

+

The Windows Internet Name Service servers associated with the connection. + Each address is in network byte order. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP6Config.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP6Config.html index b369e2ab..fba5de80 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP6Config.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.IP6Config.html @@ -84,7 +84,9 @@ PropertiesChanged (a{sv} properties);
 Addresses  readable   a(ayuay)
 
-

Array of tuples of IPv6 address/prefix/gateway. Deprecated: use AddressData and Gateway.

+

Array of tuples of IPv6 address/prefix/gateway. Deprecated: use + AddressData and Gateway. +


@@ -92,7 +94,10 @@ Addresses readable a(ayuay)
 AddressData  readable   aa{sv}
 
-

Array of IP address data objects. All addresses will include "address" (an IP address string), and "prefix" (a uint). Some addresses may include additional attributes.

+

Array of IP address data objects. All addresses will include "address" (an + IP address string), and "prefix" (a uint). Some addresses may include + additional attributes. +


@@ -100,7 +105,8 @@ AddressData readable aa{sv}
 Gateway  readable   s
 
-

The gateway in use.

+

The gateway in use. +


@@ -108,7 +114,8 @@ Gateway readable s
 Routes  readable   a(ayuayu)
 
-

Tuples of IPv6 route/prefix/next-hop/metric. Deprecated: use RouteData

+

Tuples of IPv6 route/prefix/next-hop/metric. Deprecated: use RouteData +


@@ -116,7 +123,10 @@ Routes readable a(ayuayu)
 RouteData  readable   aa{sv}
 
-

Array of IP route data objects. All routes will include "dest" (an IP address string) and "prefix" (a uint). Some routes may include "next-hop" (an IP address string), "metric" (a uint), and additional attributes.

+

Array of IP route data objects. All routes will include "dest" (an IP + address string) and "prefix" (a uint). Some routes may include "next-hop" + (an IP address string), "metric" (a uint), and additional attributes. +


@@ -124,7 +134,8 @@ RouteData readable aa{sv}
 Nameservers  readable   aay
 
-

The nameservers in use.

+

The nameservers in use. +


@@ -132,7 +143,8 @@ Nameservers readable aay
 Domains  readable   as
 
-

A list of domains this address belongs to.

+

A list of domains this address belongs to. +


@@ -140,7 +152,8 @@ Domains readable as
 Searches  readable   as
 
-

A list of dns searches.

+

A list of dns searches. +


@@ -148,7 +161,9 @@ Searches readable as
 DnsOptions  readable   as
 
-

A list of DNS options that modify the behavior of the DNS resolver. See resolv.conf(5) manual page for the list of supported options.

+

A list of DNS options that modify the behavior of the DNS resolver. See + resolv.conf(5) manual page for the list of supported options. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.PPP.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.PPP.html index a8466a8e..40a183dc 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.PPP.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.PPP.html @@ -48,7 +48,7 @@

Method Details

-

The NeedSecrets() method

+

The NeedSecrets() method

 NeedSecrets (OUT s username,
              OUT s password);
@@ -73,7 +73,7 @@ NeedSecrets (OUT s username,
 

-

The SetIp4Config() method

+

The SetIp4Config() method

 SetIp4Config (IN  a{sv} config);
 
@@ -91,7 +91,7 @@ SetIp4Config (IN a{sv} config);

-

The SetIp6Config() method

+

The SetIp6Config() method

 SetIp6Config (IN  a{sv} config);
 
@@ -109,7 +109,7 @@ SetIp6Config (IN a{sv} config);

-

The SetState() method

+

The SetState() method

 SetState (IN  u state);
 
diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.SecretAgent.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.SecretAgent.html index d160c1a1..7899f99b 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.SecretAgent.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.SecretAgent.html @@ -50,12 +50,21 @@

Description

-

Private D-Bus interface used by secret agents that store and provide secrets to NetworkManager. If an agent provides secrets to NetworkManager as part of connection creation, and the some of those secrets are "agent owned" the agent should store those secrets itself and should not expect its SaveSecrets() method to be called. SaveSecrets() will be called eg if some program other than the agent itself (like a connection editor) changes the secrets out of band. The agent should implement this D-Bus interface on an object with the path /org/freedesktop/NetworkManager/SecretAgent.

+

Private D-Bus interface used by secret agents that store and provide + secrets to NetworkManager. If an agent provides secrets to NetworkManager + as part of connection creation, and the some of those secrets are "agent + owned" the agent should store those secrets itself and should not expect + its SaveSecrets() method to be called. SaveSecrets() will be called eg if + some program other than the agent itself (like a connection editor) + changes the secrets out of band. The agent should implement this D-Bus + interface on an object with the path + /org/freedesktop/NetworkManager/SecretAgent. +

Method Details

-

The GetSecrets() method

+

The GetSecrets() method

 GetSecrets (IN  a{sa{sv}} connection,
             IN  o         connection_path,
@@ -64,7 +73,14 @@ GetSecrets (IN  a{sa{sv}} connection,
             IN  u         flags,
             OUT a{sa{sv}} secrets);
 
-

Retrieve and return stored secrets, if any, or request new secrets from the agent's user. If user interaction is allowed and the user enters new secrets, the agent is expected to save the new secrets to persistent storage (if the secret's flags include AGENT_OWNED) as NetworkManager will not send these secrets back to the same agent via a SaveSecrets() call. If the user canceled any interaction, the agent should return the UserCanceled error (see below).

+

Retrieve and return stored secrets, if any, or request new secrets from + the agent's user. If user interaction is allowed and the user enters new + secrets, the agent is expected to save the new secrets to persistent + storage (if the secret's flags include AGENT_OWNED) as NetworkManager will + not send these secrets back to the same agent via a SaveSecrets() call. If + the user canceled any interaction, the agent should return the + UserCanceled error (see below). +

@@ -73,11 +89,11 @@ GetSecrets (IN a{sa{sv}} connection, - + - + @@ -85,27 +101,30 @@ GetSecrets (IN a{sa{sv}} connection, - + - + - +

IN a{sa{sv}} connection:

Nested settings maps containing the connection for which secrets are being requested. This may contain system-owned secrets if the agent has successfully authenticated to modify system network settings and the GetSecrets request flags allow user interaction.

Nested settings maps containing the connection for which secrets are being requested. This may contain system-owned secrets if the agent has successfully authenticated to modify system network settings and the GetSecrets request flags allow user interaction.

IN o connection_path:

Object path of the connection for which secrets are being requested.

Object path of the connection for which secrets are being requested.

IN s setting_name:

IN as hints:

Array of strings of key names in the requested setting for which NetworkManager thinks a secrets may be required, and/or well-known identifiers and data that may be useful to the client in processing the secrets request. Note that it's not always possible to determine which secret is required, so in some cases no hints may be given. The Agent should return any secrets it has, or that it thinks are required, regardless of what hints NetworkManager sends in this request. Some hints have special prefixes that provide information to the agent; for example, VPN requests may send server-specific messages prefixed with "x-vpn-message:".

Array of strings of key names in the requested setting for which NetworkManager thinks a secrets may be required, and/or well-known identifiers and data that may be useful to the client in processing the secrets request. Note that it's not always possible to determine which secret is required, so in some cases no hints may be given. The Agent should return any secrets it has, or that it thinks are required, regardless of what hints NetworkManager sends in this request. Some hints have special prefixes that provide information to the agent; for example, VPN requests may send server-specific messages prefixed with "x-vpn-message:".

IN u flags:

Flags which modify the behavior of the secrets request. If true, new secrets are assumed to be invalid or incorrect, and the agent should ask the user for new secrets. If false, existing secrets should be retrieved from storage and returned without interrupting the user.

(NMSecretAgentGetSecretsFlags) Flags which modify the behavior of the secrets request. If true, new secrets are assumed to be invalid or incorrect, and the agent should ask the user for new secrets. If false, existing secrets should be retrieved from storage and returned without interrupting the user.

OUT a{sa{sv}} secrets:

Nested settings maps containing secrets. Each setting MUST contain at least the 'name' field, containing the name of the setting, and one or more secrets.

Nested settings maps containing secrets. Each setting MUST contain at least the 'name' field, containing the name of the setting, and one or more secrets.


-

The CancelGetSecrets() method

+

The CancelGetSecrets() method

 CancelGetSecrets (IN  o connection_path,
                   IN  s setting_name);
 
-

Cancel a pending GetSecrets request for secrets of the given connection. Any GetSecrets request with the same 'connection_path' and 'setting_name' that are given in a CancelGetSecrets request should be canceled.

+

Cancel a pending GetSecrets request for secrets of the given connection. + Any GetSecrets request with the same 'connection_path' and 'setting_name' + that are given in a CancelGetSecrets request should be canceled. +

@@ -114,23 +133,24 @@ CancelGetSecrets (IN o connection_path, - + - +

IN o connection_path:

Object path of the connection for which, if secrets for the given 'setting_name' are being requested, the request should be canceled.

Object path of the connection for which, if secrets for the given 'setting_name' are being requested, the request should be canceled.

IN s setting_name:

Setting name for which secrets for this connection were originally being requested.

Setting name for which secrets for this connection were originally being requested.


-

The SaveSecrets() method

+

The SaveSecrets() method

 SaveSecrets (IN  a{sa{sv}} connection,
              IN  o         connection_path);
 
-

Save given secrets to backing storage.

+

Save given secrets to backing storage. +

@@ -139,23 +159,24 @@ SaveSecrets (IN a{sa{sv}} connection, - + - +

IN a{sa{sv}} connection:

Nested settings maps containing the entire connection (including secrets), for which the agent should save the secrets to backing storage. This method will not be called when the agent itself is the process creating or updating a connection; in that case the agent is assumed to have already saved those secrets since it had them already.

Nested settings maps containing the entire connection (including secrets), for which the agent should save the secrets to backing storage. This method will not be called when the agent itself is the process creating or updating a connection; in that case the agent is assumed to have already saved those secrets since it had them already.

IN o connection_path:

Object path of the connection for which the agent should save secrets to backing storage.

Object path of the connection for which the agent should save secrets to backing storage.


-

The DeleteSecrets() method

+

The DeleteSecrets() method

 DeleteSecrets (IN  a{sa{sv}} connection,
                IN  o         connection_path);
 
-

Delete secrets from backing storage.

+

Delete secrets from backing storage. +

@@ -164,11 +185,11 @@ DeleteSecrets (IN a{sa{sv}} connection, - + - +

IN a{sa{sv}} connection:

Nested settings maps containing the connection properties (sans secrets), for which the agent should delete the secrets from backing storage.

Nested settings maps containing the connection properties (sans secrets), for which the agent should delete the secrets from backing storage.

IN o connection_path:

Object path of the connection for which the agent should delete secrets from backing storage.

Object path of the connection for which the agent should delete secrets from backing storage.

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.Connection.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.Connection.html index db2a7d57..b985416f 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.Connection.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.Connection.html @@ -62,16 +62,22 @@

Description

-

Represents a single network connection configuration.

+

Represents a single network connection configuration. +

Method Details

-

The Update() method

+

The Update() method

 Update (IN  a{sa{sv}} properties);
 
-

Update the connection with new settings and properties (replacing all previous settings and properties) and save the connection to disk. Secrets may be part of the update request, and will be either stored in persistent storage or sent to a Secret Agent for storage, depending on the flags associated with each secret.

+

Update the connection with new settings and properties (replacing all + previous settings and properties) and save the connection to disk. Secrets + may be part of the update request, and will be either stored in persistent + storage or sent to a Secret Agent for storage, depending on the flags + associated with each secret. +

@@ -85,11 +91,19 @@ Update (IN a{sa{sv}} properties);
-

The UpdateUnsaved() method

+

The UpdateUnsaved() method

 UpdateUnsaved (IN  a{sa{sv}} properties);
 
-

Update the connection with new settings and properties (replacing all previous settings and properties) but do not immediately save the connection to disk. Secrets may be part of the update request and may sent to a Secret Agent for storage, depending on the flags associated with each secret. Use the 'Save' method to save these changes to disk. Note that unsaved changes will be lost if the connection is reloaded from disk (either automatically on file change or due to an explicit ReloadConnections call).

+

Update the connection with new settings and properties (replacing all + previous settings and properties) but do not immediately save the + connection to disk. Secrets may be part of the update request and may sent + to a Secret Agent for storage, depending on the flags associated with each + secret. Use the 'Save' method to save these changes to disk. Note that + unsaved changes will be lost if the connection is reloaded from disk + (either automatically on file change or due to an explicit + ReloadConnections call). +

@@ -103,19 +117,24 @@ UpdateUnsaved (IN a{sa{sv}} properties);
-

The Delete() method

+

The Delete() method

 Delete ();
 
-

Delete the connection.

+

Delete the connection. +


-

The GetSettings() method

+

The GetSettings() method

 GetSettings (OUT a{sa{sv}} settings);
 
-

Get the settings maps describing this network configuration. This will never include any secrets required for connection to the network, as those are often protected. Secrets must be requested separately using the GetSecrets() call.

+

Get the settings maps describing this network configuration. This will + never include any secrets required for connection to the network, as those + are often protected. Secrets must be requested separately using the + GetSecrets() call. +

@@ -129,12 +148,16 @@ GetSettings (OUT a{sa{sv}} settings);
-

The GetSecrets() method

+

The GetSecrets() method

 GetSecrets (IN  s         setting_name,
             OUT a{sa{sv}} secrets);
 
-

Get the secrets belonging to this network configuration. Only secrets from persistent storage or a Secret Agent running in the requestor's session will be returned. The user will never be prompted for secrets as a result of this request.

+

Get the secrets belonging to this network configuration. Only secrets from + persistent storage or a Secret Agent running in the requestor's session + will be returned. The user will never be prompted for secrets as a result + of this request. +

@@ -143,7 +166,7 @@ GetSecrets (IN s setting_name, - + @@ -154,19 +177,22 @@ GetSecrets (IN s setting_name,
-

The ClearSecrets() method

+

The ClearSecrets() method

 ClearSecrets ();
 
-

Clear the secrets belonging to this network connection profile.

+

Clear the secrets belonging to this network connection profile. +


-

The Save() method

+

The Save() method

 Save ();
 
-

Saves a "dirty" connection (that had previously been updated with UpdateUnsaved) to persistent storage.

+

Saves a "dirty" connection (that had previously been updated with + UpdateUnsaved) to persistent storage. +

@@ -176,7 +202,11 @@ Save ();
 Updated ();
 
-

Emitted when any settings or permissions change. When handling this signal, clients should re-read the connection using the GetSettings method to get the changes and to ensure the client still has permission to access the connection.

+

Emitted when any settings or permissions change. When handling this + signal, clients should re-read the connection using the GetSettings method + to get the changes and to ensure the client still has permission to access + the connection. +


@@ -184,7 +214,11 @@ Updated ();
 Removed ();
 
-

Emitted when this connection is no longer available. This happens when the connection is deleted or if it is no longer accessible by any of the system's logged-in users. After receipt of this signal, the object no longer exists. Also see the Settings.ConnectionRemoved signal.

+

Emitted when this connection is no longer available. This happens when the + connection is deleted or if it is no longer accessible by any of the + system's logged-in users. After receipt of this signal, the object no + longer exists. Also see the Settings.ConnectionRemoved signal. +


@@ -212,7 +246,11 @@ PropertiesChanged (a{sv} properties);
 Unsaved  readable   b
 
-

If set, indicates that the in-memory state of the connection does not match the on-disk state. This flag will be set when UpdateUnsaved() is called or when any connection details change, and cleared when the connection is saved to disk via Save() or from internal operations.

+

If set, indicates that the in-memory state of the connection does not + match the on-disk state. This flag will be set when UpdateUnsaved() is + called or when any connection details change, and cleared when the + connection is saved to disk via Save() or from internal operations. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html index d4b243dc..e2064236 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html @@ -68,16 +68,19 @@

Description

-

The Settings interface allows clients to view and administrate the connections stored and used by NetworkManager.

+

The Settings interface allows clients to view and administrate the + connections stored and used by NetworkManager. +

Method Details

-

The ListConnections() method

+

The ListConnections() method

 ListConnections (OUT ao connections);
 
-

List the saved network connections known to NetworkManager.

+

List the saved network connections known to NetworkManager. +

IN s setting_name:

Name of the setting to return secrets for. If empty, all all secrets will be returned.

Name of the setting to return secrets for. If empty, all all secrets will be returned.

OUT a{sa{sv}} secrets:

@@ -91,12 +94,13 @@ ListConnections (OUT ao connections);
-

The GetConnectionByUuid() method

+

The GetConnectionByUuid() method

 GetConnectionByUuid (IN  s uuid,
                      OUT o connection);
 
-

Retrieve the object path of a connection, given that connection's UUID.

+

Retrieve the object path of a connection, given that connection's UUID. +

@@ -116,12 +120,16 @@ GetConnectionByUuid (IN s uuid,
-

The AddConnection() method

+

The AddConnection() method

 AddConnection (IN  a{sa{sv}} connection,
                OUT o         path);
 
-

Add new connection and save it to disk. This operation does not start the network connection unless (1) device is idle and able to connect to the network described by the new connection, and (2) the connection is allowed to be started automatically.

+

Add new connection and save it to disk. This operation does not start the + network connection unless (1) device is idle and able to connect to the + network described by the new connection, and (2) the connection is allowed + to be started automatically. +

@@ -141,12 +149,19 @@ AddConnection (IN a{sa{sv}} connection,
-

The AddConnectionUnsaved() method

+

The AddConnectionUnsaved() method

 AddConnectionUnsaved (IN  a{sa{sv}} connection,
                       OUT o         path);
 
-

Add new connection but do not save it to disk immediately. This operation does not start the network connection unless (1) device is idle and able to connect to the network described by the new connection, and (2) the connection is allowed to be started automatically. Use the 'Save' method on the connection to save these changes to disk. Note that unsaved changes will be lost if the connection is reloaded from disk (either automatically on file change or due to an explicit ReloadConnections call).

+

Add new connection but do not save it to disk immediately. This operation + does not start the network connection unless (1) device is idle and able + to connect to the network described by the new connection, and (2) the + connection is allowed to be started automatically. Use the 'Save' method + on the connection to save these changes to disk. Note that unsaved changes + will be lost if the connection is reloaded from disk (either automatically + on file change or due to an explicit ReloadConnections call). +

@@ -166,13 +181,19 @@ AddConnectionUnsaved (IN a{sa{sv}} connection,
-

The LoadConnections() method

+

The LoadConnections() method

 LoadConnections (IN  as filenames,
                  OUT b  status,
                  OUT as failures);
 
-

Loads or reloads the indicated connections from disk. You should call this after making changes directly to an on-disk connection file to make sure that NetworkManager sees the changes. (If "monitor-connection-files" in NetworkManager.conf is "true", then this will have no real effect, but is harmless.) As with AddConnection(), this operation does not necessarily start the network connection.

+

Loads or reloads the indicated connections from disk. You should call this + after making changes directly to an on-disk connection file to make sure + that NetworkManager sees the changes. (If "monitor-connection-files" in + NetworkManager.conf is "true", then this will have no real effect, but is + harmless.) As with AddConnection(), this operation does not necessarily + start the network connection. +

@@ -181,11 +202,11 @@ LoadConnections (IN as filenames, - + - + @@ -196,11 +217,16 @@ LoadConnections (IN as filenames,
-

The ReloadConnections() method

+

The ReloadConnections() method

 ReloadConnections (OUT b status);
 
-

Tells NetworkManager to reload all connection files from disk, including noticing any added or deleted connection files. By default, connections are re-read automatically any time they change, so you only need to use this command if you have set "monitor-connection-files=false" in NetworkManager.conf.

+

Tells NetworkManager to reload all connection files from disk, including + noticing any added or deleted connection files. By default, connections + are re-read automatically any time they change, so you only need to use + this command if you have set "monitor-connection-files=false" in + NetworkManager.conf. +

IN as filenames:

Array of paths to on-disk connection profiles in directories monitored by NetworkManager.

Array of paths to on-disk connection profiles in directories monitored by NetworkManager.

OUT b status:

Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied).

Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied).

OUT as failures:

@@ -214,11 +240,12 @@ ReloadConnections (OUT b status);
-

The SaveHostname() method

+

The SaveHostname() method

 SaveHostname (IN  s hostname);
 
-

Save the hostname to persistent configuration.

+

Save the hostname to persistent configuration. +

@@ -226,7 +253,7 @@ SaveHostname (IN s hostname); - +

IN s hostname:

The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.

The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.

@@ -256,7 +283,15 @@ PropertiesChanged (a{sv} properties);
 NewConnection (o connection);
 
-

Emitted when a new connection has been added after NetworkManager has started up and initialized. This signal is not emitted for connections read while starting up, because NetworkManager's D-Bus service is only available after all connections have been read, and to prevent spamming listeners with too many signals at one time. To retrieve the initial connection list, call the ListConnections() method once, and then listen for individual Settings.NewConnection and Settings.Connection.Deleted signals for further updates.

+

Emitted when a new connection has been added after NetworkManager has + started up and initialized. This signal is not emitted for connections + read while starting up, because NetworkManager's D-Bus service is only + available after all connections have been read, and to prevent spamming + listeners with too many signals at one time. To retrieve the initial + connection list, call the ListConnections() method once, and then listen + for individual Settings.NewConnection and Settings.Connection.Deleted + signals for further updates. +

@@ -274,7 +309,12 @@ NewConnection (o connection);
 ConnectionRemoved (o connection);
 
-

Emitted when a connection is no longer available. This happens when the connection is deleted or if it is no longer accessible by any of the system's logged-in users. After receipt of this signal, the connection no longer exists and cannot be used. Also see the Settings.Connection.Removed signal.

+

Emitted when a connection is no longer available. This happens when the + connection is deleted or if it is no longer accessible by any of the + system's logged-in users. After receipt of this signal, the connection no + longer exists and cannot be used. Also see the Settings.Connection.Removed + signal. +

@@ -294,7 +334,8 @@ ConnectionRemoved (o connection);
 Connections  readable   ao
 
-

List of object paths of available network connection profiles.

+

List of object paths of available network connection profiles. +


@@ -302,7 +343,8 @@ Connections readable ao
 Hostname  readable   s
 
-

The machine hostname stored in persistent configuration.

+

The machine hostname stored in persistent configuration. +


@@ -310,7 +352,8 @@ Hostname readable s
 CanModify  readable   b
 
-

If true, adding and modifying connections is supported.

+

If true, adding and modifying connections is supported. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Connection.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Connection.html index ea6bd031..331d3a5e 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Connection.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Connection.html @@ -50,7 +50,8 @@

Description

-

Represents an active connection to a Virtual Private Network.

+

Represents an active connection to a Virtual Private Network. +

Signal Details

@@ -78,7 +79,8 @@ PropertiesChanged (a{sv} properties); VpnStateChanged (u state, u reason); -

Emitted when the state of the VPN connection has changed.

+

Emitted when the state of the VPN connection has changed. +

@@ -87,11 +89,11 @@ VpnStateChanged (u state, - + - +

u state:

The new state of the VPN connection.

(NMVpnConnectionState) The new state of the VPN connection.

u reason:

Reason code describing the change to the new state.

(NMVpnConnectionStateReason) Reason code describing the change to the new state.

@@ -104,7 +106,10 @@ VpnStateChanged (u state,
 VpnState  readable   u
 
-

The VPN-specific state of the connection.

+

The VPN-specific state of the connection. +

+

Returns: NMVpnConnectionState +


@@ -112,7 +117,8 @@ VpnState readable u
 Banner  readable   s
 
-

The banner string of the VPN connection.

+

The banner string of the VPN connection. +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Plugin.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Plugin.html index 64517b2c..bc21c67c 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Plugin.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.VPN.Plugin.html @@ -70,16 +70,20 @@

Description

-

This interface is provided by plugins providing VPN services to the NetworkManager daemon.

+

This interface is provided by plugins providing VPN services to the + NetworkManager daemon. +

Method Details

-

The Connect() method

+

The Connect() method

 Connect (IN  a{sa{sv}} connection);
 
-

Tells the plugin to connect. Interactive secrets requests (eg, emitting the SecretsRequired signal) are not allowed.

+

Tells the plugin to connect. Interactive secrets requests (eg, emitting + the SecretsRequired signal) are not allowed. +

@@ -93,12 +97,15 @@ Connect (IN a{sa{sv}} connection);
-

The ConnectInteractive() method

+

The ConnectInteractive() method

 ConnectInteractive (IN  a{sa{sv}} connection,
                     IN  a{sv}     details);
 
-

Tells the plugin to connect, allowing interactive secrets requests (eg the plugin is allowed to emit the SecretsRequired signal if the VPN service indicates that it needs additional secrets during the connect process).

+

Tells the plugin to connect, allowing interactive secrets requests (eg the + plugin is allowed to emit the SecretsRequired signal if the VPN service + indicates that it needs additional secrets during the connect process). +

@@ -118,12 +125,14 @@ ConnectInteractive (IN a{sa{sv}} connection,
-

The NeedSecrets() method

+

The NeedSecrets() method

 NeedSecrets (IN  a{sa{sv}} settings,
              OUT s         setting_name);
 
-

Asks the plugin whether the provided connection will require secrets to connect successfully.

+

Asks the plugin whether the provided connection will require secrets to + connect successfully. +

@@ -143,19 +152,21 @@ NeedSecrets (IN a{sa{sv}} settings,
-

The Disconnect() method

+

The Disconnect() method

 Disconnect ();
 
-

Disconnect the plugin.

+

Disconnect the plugin. +


-

The SetConfig() method

+

The SetConfig() method

 SetConfig (IN  a{sv} config);
 
-

Set generic connection details on the connection.

+

Set generic connection details on the connection. +

@@ -169,11 +180,12 @@ SetConfig (IN a{sv} config);
-

The SetIp4Config() method

+

The SetIp4Config() method

 SetIp4Config (IN  a{sv} config);
 
-

Set IPv4 details on the connection.

+

Set IPv4 details on the connection. +

@@ -181,17 +193,18 @@ SetIp4Config (IN a{sv} config); - +

IN a{sv} config:

Ip4Config details for the connection. You must call SetConfig() before calling this.

Ip4Config details for the connection. You must call SetConfig() before calling this.


-

The SetIp6Config() method

+

The SetIp6Config() method

 SetIp6Config (IN  a{sv} config);
 
-

Set IPv6 details on the connection.

+

Set IPv6 details on the connection. +

@@ -199,17 +212,18 @@ SetIp6Config (IN a{sv} config); - +

IN a{sv} config:

Ip6Config details for the connection. You must call SetConfig() before calling this.

Ip6Config details for the connection. You must call SetConfig() before calling this.


-

The SetFailure() method

+

The SetFailure() method

 SetFailure (IN  s reason);
 
-

Indicate a failure to the plugin.

+

Indicate a failure to the plugin. +

@@ -223,11 +237,13 @@ SetFailure (IN s reason);
-

The NewSecrets() method

+

The NewSecrets() method

 NewSecrets (IN  a{sa{sv}} connection);
 
-

Called in response to a SecretsRequired signal to deliver updated secrets or other information to the plugin.

+

Called in response to a SecretsRequired signal to deliver updated secrets + or other information to the plugin. +

@@ -247,7 +263,8 @@ NewSecrets (IN a{sa{sv}} connection);
 StateChanged (u state);
 
-

Emitted when the plugin state changes.

+

Emitted when the plugin state changes. +

@@ -255,7 +272,7 @@ StateChanged (u state); - +

u state:

The new state of the plugin.

(NMVpnServiceState) The new state of the plugin.

@@ -266,7 +283,10 @@ StateChanged (u state); SecretsRequired (s message, as secrets); -

Emitted during an ongoing ConnectInteractive() request when the plugin has determined that new secrets are required. NetworkManager will then call the NewSecrets() method with a connection hash including the new secrets.

+

Emitted during an ongoing ConnectInteractive() request when the plugin has + determined that new secrets are required. NetworkManager will then call + the NewSecrets() method with a connection hash including the new secrets. +

@@ -275,11 +295,11 @@ SecretsRequired (s message, - + - +

s message:

Informational message, if any, about the request. For example, if a second PIN is required, could indicate to the user to wait for the token code to change until entering the next PIN.

Informational message, if any, about the request. For example, if a second PIN is required, could indicate to the user to wait for the token code to change until entering the next PIN.

as secrets:

Array of strings of VPN secret names which the plugin thinks secrets may be required for, or other VPN-specific data to be processed by the VPN's front-end.

Array of strings of VPN secret names which the plugin thinks secrets may be required for, or other VPN-specific data to be processed by the VPN's front-end.

@@ -290,7 +310,8 @@ SecretsRequired (s message,
 Config (a{sv} config);
 
-

The plugin obtained generic configuration information.

+

The plugin obtained generic configuration information. +

@@ -308,7 +329,8 @@ Config (a{sv} config);
 Ip4Config (a{sv} ip4config);
 
-

The plugin obtained an IPv4 configuration.

+

The plugin obtained an IPv4 configuration. +

@@ -326,7 +348,8 @@ Ip4Config (a{sv} ip4config);
 Ip6Config (a{sv} ip6config);
 
-

The plugin obtained an IPv6 configuration.

+

The plugin obtained an IPv6 configuration. +

@@ -344,7 +367,8 @@ Ip6Config (a{sv} ip6config);
 LoginBanner (s banner);
 
-

Emitted when the plugin receives a login banner from the VPN service.

+

Emitted when the plugin receives a login banner from the VPN service. +

@@ -362,7 +386,8 @@ LoginBanner (s banner);
 Failure (u reason);
 
-

Emitted when a failure in the VPN plugin occurs.

+

Emitted when a failure in the VPN plugin occurs. +

@@ -370,7 +395,7 @@ Failure (u reason); - +

u reason:

Reason code for the failure.

(NMVpnPluginFailure) Reason code for the failure.

@@ -382,7 +407,10 @@ Failure (u reason);
 State  readable   u
 
-

The state of the plugin.

+

The state of the plugin. +

+

Returns: NMVpnServiceState +

diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.html index ec168881..d028c602 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.html @@ -102,11 +102,12 @@

Method Details

-

The GetDevices() method

+

The GetDevices() method

 GetDevices (OUT ao devices);
 
-

Get the list of realized network devices.

+

Get the list of realized network devices. +

@@ -114,17 +115,18 @@ GetDevices (OUT ao devices); - +

OUT ao devices:

List of object paths of network devices known to the system. This list does not include device placeholders (see GetAllDevices()).

List of object paths of network devices known to the system. This list does not include device placeholders (see GetAllDevices()).


-

The GetAllDevices() method

+

The GetAllDevices() method

 GetAllDevices (OUT ao devices);
 
-

Get the list of all network devices.

+

Get the list of all network devices. +

@@ -132,18 +134,21 @@ GetAllDevices (OUT ao devices); - +

OUT ao devices:

List of object paths of network devices and device placeholders (eg, devices that do not yet exist but which can be automatically created by NetworkManager if one of their AvailableConnections was activated).

List of object paths of network devices and device placeholders (eg, devices that do not yet exist but which can be automatically created by NetworkManager if one of their AvailableConnections was activated).


-

The GetDeviceByIpIface() method

+

The GetDeviceByIpIface() method

 GetDeviceByIpIface (IN  s iface,
                     OUT o device);
 
-

Return the object path of the network device referenced by its IP interface name. Note that some devices (usually modems) only have an IP interface name when they are connected.

+

Return the object path of the network device referenced by its IP + interface name. Note that some devices (usually modems) only have an IP + interface name when they are connected. +

@@ -163,14 +168,15 @@ GetDeviceByIpIface (IN s iface,
-

The ActivateConnection() method

+

The ActivateConnection() method

 ActivateConnection (IN  o connection,
                     IN  o device,
                     IN  o specific_object,
                     OUT o active_connection);
 
-

Activate a connection using the supplied device.

+

Activate a connection using the supplied device. +

@@ -179,15 +185,15 @@ ActivateConnection (IN o connection, - + - + - + @@ -198,7 +204,7 @@ ActivateConnection (IN o connection,
-

The AddAndActivateConnection() method

+

The AddAndActivateConnection() method

 AddAndActivateConnection (IN  a{sa{sv}} connection,
                           IN  o         device,
@@ -206,7 +212,11 @@ AddAndActivateConnection (IN  a{sa{sv}} connection,
                           OUT o         path,
                           OUT o         active_connection);
 
-

Adds a new connection using the given details (if any) as a template (automatically filling in missing settings with the capabilities of the given device and specific object), then activate the new connection. Cannot be used for VPN connections at this time.

+

Adds a new connection using the given details (if any) as a template + (automatically filling in missing settings with the capabilities of the + given device and specific object), then activate the new connection. + Cannot be used for VPN connections at this time. +

IN o connection:

The connection to activate. If "/" is given, a valid device path must be given, and NetworkManager picks the best connection to activate for the given device. VPN connections must always pass a valid connection path.

The connection to activate. If "/" is given, a valid device path must be given, and NetworkManager picks the best connection to activate for the given device. VPN connections must always pass a valid connection path.

IN o device:

The object path of device to be activated for physical connections. This parameter is ignored for VPN connections, because the specific_object (if provided) specifies the device to use.

The object path of device to be activated for physical connections. This parameter is ignored for VPN connections, because the specific_object (if provided) specifies the device to use.

IN o specific_object:

The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device.

The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device.

OUT o active_connection:

@@ -215,7 +225,7 @@ AddAndActivateConnection (IN a{sa{sv}} connection, - + @@ -223,7 +233,7 @@ AddAndActivateConnection (IN a{sa{sv}} connection, - + @@ -238,11 +248,12 @@ AddAndActivateConnection (IN a{sa{sv}} connection,
-

The DeactivateConnection() method

+

The DeactivateConnection() method

 DeactivateConnection (IN  o active_connection);
 
-

Deactivate an active connection.

+

Deactivate an active connection. +

IN a{sa{sv}} connection:

Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object.

Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object.

IN o device:

IN o specific_object:

The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection.

The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection.

OUT o path:

@@ -256,11 +267,15 @@ DeactivateConnection (IN o active_connection);
-

The Sleep() method

+

The Sleep() method

 Sleep (IN  b sleep);
 
-

Control the NetworkManager daemon's sleep state. When asleep, all interfaces that it manages are deactivated. When awake, devices are available to be activated. This command should not be called directly by users or clients; it is intended for system suspend/resume tracking.

+

Control the NetworkManager daemon's sleep state. When asleep, all + interfaces that it manages are deactivated. When awake, devices are + available to be activated. This command should not be called directly by + users or clients; it is intended for system suspend/resume tracking. +

@@ -274,11 +289,16 @@ Sleep (IN b sleep);
-

The Enable() method

+

The Enable() method

 Enable (IN  b enable);
 
-

Control whether overall networking is enabled or disabled. When disabled, all interfaces that NM manages are deactivated. When enabled, all managed interfaces are re-enabled and available to be activated. This command should be used by clients that provide to users the ability to enable/disable all networking.

+

Control whether overall networking is enabled or disabled. When disabled, + all interfaces that NM manages are deactivated. When enabled, all managed + interfaces are re-enabled and available to be activated. This command + should be used by clients that provide to users the ability to + enable/disable all networking. +

@@ -286,17 +306,20 @@ Enable (IN b enable); - +

IN b enable:

If FALSE, indicates that all networking should be disabled. If TRUE, indicates that NetworkManager should begin managing network devices.

If FALSE, indicates that all networking should be disabled. If TRUE, indicates that NetworkManager should begin managing network devices.


-

The GetPermissions() method

+

The GetPermissions() method

 GetPermissions (OUT a{ss} permissions);
 
-

Returns the permissions a caller has for various authenticated operations that NetworkManager provides, like Enable/Disable networking, changing WiFi, WWAN, and WiMAX state, etc.

+

Returns the permissions a caller has for various authenticated operations + that NetworkManager provides, like Enable/Disable networking, changing + WiFi, WWAN, and WiMAX state, etc. +

@@ -304,18 +327,19 @@ GetPermissions (OUT a{ss} permissions); - +

OUT a{ss} permissions:

Dictionary of available permissions and results. Each permission is represented by a name (ie "org.freedesktop.NetworkManager.Foobar") and each result is one of the following values: "yes" (the permission is available), "auth" (the permission is available after a successful authentication), or "no" (the permission is denied). Clients may use these values in the UI to indicate the ability to perform certain operations.

Dictionary of available permissions and results. Each permission is represented by a name (ie "org.freedesktop.NetworkManager.Foobar") and each result is one of the following values: "yes" (the permission is available), "auth" (the permission is available after a successful authentication), or "no" (the permission is denied). Clients may use these values in the UI to indicate the ability to perform certain operations.


-

The SetLogging() method

+

The SetLogging() method

 SetLogging (IN  s level,
             IN  s domains);
 
-

Set logging verbosity and which operations are logged.

+

Set logging verbosity and which operations are logged. +

@@ -324,23 +348,24 @@ SetLogging (IN s level, - + - +

IN s level:

One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP]. This level is applied to the domains as specified in the domains argument. Except for the special level "KEEP", all unmentioned domains are disabled entirely. "KEEP" is special and allows not to change the current setting except for the specified domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only touch the platform domain.

One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP]. This level is applied to the domains as specified in the domains argument. Except for the special level "KEEP", all unmentioned domains are disabled entirely. "KEEP" is special and allows not to change the current setting except for the specified domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only touch the platform domain.

IN s domains:

A combination of logging domains separated by commas (','), or "NONE" to disable logging. Each domain enables logging for operations related to that domain. Available domains are: [PLATFORM, RFKILL, ETHER, WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4, DNS, VPN, SHARING, SUPPLICANT, AGENTS, SETTINGS, SUSPEND, CORE, DEVICE, OLPC, WIMAX, INFINIBAND, FIREWALL, ADSL, BOND, VLAN, BRIDGE, DBUS_PROPS, TEAM, CONCHECK, DCB, DISPATCH, AUDIT]. In addition to these domains, the following special domains can be used: [NONE, ALL, DEFAULT, DHCP, IP]. You can also specify that some domains should log at a different level from the default by appending a colon (':') and a log level (eg, 'WIFI:DEBUG'). If an empty string is given, the log level is changed but the current set of log domains remains unchanged.

A combination of logging domains separated by commas (','), or "NONE" to disable logging. Each domain enables logging for operations related to that domain. Available domains are: [PLATFORM, RFKILL, ETHER, WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4, DNS, VPN, SHARING, SUPPLICANT, AGENTS, SETTINGS, SUSPEND, CORE, DEVICE, OLPC, WIMAX, INFINIBAND, FIREWALL, ADSL, BOND, VLAN, BRIDGE, DBUS_PROPS, TEAM, CONCHECK, DCB, DISPATCH, AUDIT]. In addition to these domains, the following special domains can be used: [NONE, ALL, DEFAULT, DHCP, IP]. You can also specify that some domains should log at a different level from the default by appending a colon (':') and a log level (eg, 'WIFI:DEBUG'). If an empty string is given, the log level is changed but the current set of log domains remains unchanged.


-

The GetLogging() method

+

The GetLogging() method

 GetLogging (OUT s level,
             OUT s domains);
 
-

Get current logging verbosity level and operations domains.

+

Get current logging verbosity level and operations domains. +

@@ -353,18 +378,19 @@ GetLogging (OUT s level, - +

OUT s domains:

For available domains see SetLogging() call.

For available domains see SetLogging() call.


-

The CheckConnectivity() method

+

The CheckConnectivity() method

 CheckConnectivity (OUT u connectivity);
 
-

Re-check the network connectivity state.

+

Re-check the network connectivity state. +

@@ -372,17 +398,19 @@ CheckConnectivity (OUT u connectivity); - +

OUT u connectivity:

The current connectivity state.

(NMConnectivityState) The current connectivity state.


-

The state() method

+

The state() method

 state (OUT u state);
 
-

The overall networking state as determined by the NetworkManager daemon, based on the state of network devices under it's management.

+

The overall networking state as determined by the NetworkManager daemon, + based on the state of network devices under it's management. +

@@ -390,7 +418,7 @@ state (OUT u state); - +

OUT u state:

NMState

@@ -402,7 +430,9 @@ state (OUT u state);
 CheckPermissions ();
 
-

Emitted when system authorization details change, indicating that clients may wish to recheck permissions with GetPermissions.

+

Emitted when system authorization details change, indicating that clients + may wish to recheck permissions with GetPermissions. +


@@ -410,7 +440,8 @@ CheckPermissions ();
 StateChanged (u state);
 
-

NetworkManager's state changed.

+

NetworkManager's state changed. +

@@ -418,7 +449,7 @@ StateChanged (u state); - +

u state:

The new state of NetworkManager.

(NMState) The new state of NetworkManager.

@@ -428,7 +459,8 @@ StateChanged (u state);
 PropertiesChanged (a{sv} properties);
 
-

NetworkManager's properties changed.

+

NetworkManager's properties changed. +

@@ -446,7 +478,8 @@ PropertiesChanged (a{sv} properties);
 DeviceAdded (o device_path);
 
-

A device was added to the system

+

A device was added to the system +

@@ -464,7 +497,8 @@ DeviceAdded (o device_path);
 DeviceRemoved (o device_path);
 
-

A device was removed from the system, and is no longer available.

+

A device was removed from the system, and is no longer available. +

@@ -484,7 +518,10 @@ DeviceRemoved (o device_path);
 Devices  readable   ao
 
-

The list of realized network devices. Realized devices are those which have backing resources (eg from the kernel or a management daemon like ModemManager, teamd, etc).

+

The list of realized network devices. Realized devices are those which + have backing resources (eg from the kernel or a management daemon like + ModemManager, teamd, etc). +


@@ -492,7 +529,10 @@ Devices readable ao
 AllDevices  readable   ao
 
-

The list of both realized and un-realized network devices. Un-realized devices are software devices which do not yet have backing resources, but for which backing resources can be created if the device is activated.

+

The list of both realized and un-realized network devices. Un-realized + devices are software devices which do not yet have backing resources, but + for which backing resources can be created if the device is activated. +


@@ -500,7 +540,9 @@ AllDevices readable ao
 NetworkingEnabled  readable   b
 
-

Indicates if overall networking is currently enabled or not. See the Enable() method.

+

Indicates if overall networking is currently enabled or not. See the + Enable() method. +


@@ -508,7 +550,8 @@ NetworkingEnabled readable b
 WirelessEnabled  readwrite  b
 
-

Indicates if wireless is currently enabled or not.

+

Indicates if wireless is currently enabled or not. +


@@ -516,7 +559,9 @@ WirelessEnabled readwrite b
 WirelessHardwareEnabled  readable   b
 
-

Indicates if the wireless hardware is currently enabled, i.e. the state of the RF kill switch.

+

Indicates if the wireless hardware is currently enabled, i.e. the state of + the RF kill switch. +


@@ -524,7 +569,8 @@ WirelessHardwareEnabled readable b
 WwanEnabled  readwrite  b
 
-

Indicates if mobile broadband devices are currently enabled or not.

+

Indicates if mobile broadband devices are currently enabled or not. +


@@ -532,7 +578,9 @@ WwanEnabled readwrite b
 WwanHardwareEnabled  readable   b
 
-

Indicates if the mobile broadband hardware is currently enabled, i.e. the state of the RF kill switch.

+

Indicates if the mobile broadband hardware is currently enabled, i.e. the + state of the RF kill switch. +


@@ -540,7 +588,8 @@ WwanHardwareEnabled readable b
 WimaxEnabled  readwrite  b
 
-

Indicates if WiMAX devices are currently enabled or not.

+

Indicates if WiMAX devices are currently enabled or not. +


@@ -548,7 +597,9 @@ WimaxEnabled readwrite b
 WimaxHardwareEnabled  readable   b
 
-

Indicates if the WiMAX hardware is currently enabled, i.e. the state of the RF kill switch.

+

Indicates if the WiMAX hardware is currently enabled, i.e. the state of + the RF kill switch. +


@@ -556,7 +607,8 @@ WimaxHardwareEnabled readable b
 ActiveConnections  readable   ao
 
-

List of active connection object paths.

+

List of active connection object paths. +


@@ -564,7 +616,12 @@ ActiveConnections readable ao
 PrimaryConnection  readable   o
 
-

The object path of the "primary" active connection being used to access the network. In particular, if there is no VPN active, or the VPN does not have the default route, then this indicates the connection that has the default route. If there is a VPN active with the default route, then this indicates the connection that contains the route to the VPN endpoint.

+

The object path of the "primary" active connection being used to access + the network. In particular, if there is no VPN active, or the VPN does not + have the default route, then this indicates the connection that has the + default route. If there is a VPN active with the default route, then this + indicates the connection that contains the route to the VPN endpoint. +


@@ -572,7 +629,10 @@ PrimaryConnection readable o
 PrimaryConnectionType  readable   s
 
-

The connection type of the "primary" active connection being used to access the network. This is the same as the Type property on the object indicated by PrimaryConnection.

+

The connection type of the "primary" active connection being used to + access the network. This is the same as the Type property on the object + indicated by PrimaryConnection. +


@@ -580,7 +640,11 @@ PrimaryConnectionType readable s
 Metered  readable   u
 
-

Indicates whether the connectivity is metered. This is equivalent to the metered property of the device associated with the primary connection.

+

Indicates whether the connectivity is metered. This is equivalent to the + metered property of the device associated with the primary connection. +

+

Returns: NMMetered +


@@ -588,7 +652,10 @@ Metered readable u
 ActivatingConnection  readable   o
 
-

The object path of an active connection that is currently being activated and which is expected to become the new PrimaryConnection when it finishes activating.

+

The object path of an active connection that is currently being activated + and which is expected to become the new PrimaryConnection when it finishes + activating. +


@@ -596,7 +663,10 @@ ActivatingConnection readable o
 Startup  readable   b
 
-

Indicates whether NM is still starting up; this becomes FALSE when NM has finished attempting to activate every connection that it might be able to activate at startup.

+

Indicates whether NM is still starting up; this becomes FALSE when NM has + finished attempting to activate every connection that it might be able to + activate at startup. +


@@ -604,7 +674,8 @@ Startup readable b
 Version  readable   s
 
-

NetworkManager version.

+

NetworkManager version. +


@@ -612,7 +683,10 @@ Version readable s
 State  readable   u
 
-

The overall state of the NetworkManager daemon.

+

The overall state of the NetworkManager daemon. +

+

Returns: NMState +


@@ -620,7 +694,10 @@ State readable u
 Connectivity  readable   u
 
-

The network connectivity state.

+

The network connectivity state. +

+

Returns: NMConnectivityState +


@@ -628,7 +705,15 @@ Connectivity readable u
 GlobalDnsConfiguration  readwrite  a{sv}
 
-

Dictionary of global DNS settings where the key is one of "searches", "options" and "domains". The values for the "searches" and "options" keys are string arrays describing the list of search domains and resolver options, respectively. The value of the "domains" key is a second-level dictionary, where each key is a domain name, and each key's value is a third-level dictionary with the keys "servers" and "options". "servers" is a string array of DNS servers, "options" is a string array of domain-specific options.

+

Dictionary of global DNS settings where the key is one of "searches", + "options" and "domains". The values for the "searches" and "options" keys + are string arrays describing the list of search domains and resolver + options, respectively. The value of the "domains" key is a second-level + dictionary, where each key is a domain name, and each key's value is a + third-level dictionary with the keys "servers" and "options". "servers" is + a string array of DNS servers, "options" is a string array of + domain-specific options. +

diff --git a/docs/api/html/index.html b/docs/api/html/index.html index dccef7c9..79677afb 100644 --- a/docs/api/html/index.html +++ b/docs/api/html/index.html @@ -14,7 +14,7 @@
-

Version 1.1.92 +

Version 1.1.93

@@ -156,6 +156,15 @@
UNIX Manual Pages
+nmcli — command-line tool for controlling NetworkManager +
+
+nmtui — Text User Interface for controlling NetworkManager +
+
+nm-online — ask NetworkManager whether the network is connected +
+
NetworkManager — network management daemon
diff --git a/docs/api/html/index.sgml b/docs/api/html/index.sgml index dc84d959..583682f2 100644 --- a/docs/api/html/index.sgml +++ b/docs/api/html/index.sgml @@ -422,13 +422,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/api/html/manpages.html b/docs/api/html/manpages.html index 27015a54..36b8e931 100644 --- a/docs/api/html/manpages.html +++ b/docs/api/html/manpages.html @@ -7,7 +7,7 @@ - + @@ -17,13 +17,22 @@ Home Prev -Next +Next

UNIX Manual Pages

+nmcli — command-line tool for controlling NetworkManager +
+
+nmtui — Text User Interface for controlling NetworkManager +
+
+nm-online — ask NetworkManager whether the network is connected +
+
NetworkManager — network management daemon
diff --git a/docs/api/html/nm-online.html b/docs/api/html/nm-online.html new file mode 100644 index 00000000..90d3ecb5 --- /dev/null +++ b/docs/api/html/nm-online.html @@ -0,0 +1,120 @@ + + + + +nm-online: NetworkManager D-Bus API Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-online

+

nm-online — ask NetworkManager whether the network is connected

+
+
+

Synopsis

+

nm-online [OPTIONS...]

+
+
+

Description

+

nm-online is a utility to find out whether we are + online. It is done by asking NetworkManager about its status. When run, + nm-online waits until NetworkManager reports an active + connection, or specified timeout expires. On exit, the returned status code + should be checked (see the return codes below).

+

By default NetworkManager waits for IPv4 dynamic addressing to complete + but does not wait for the auto IPv6 dynamic addressing. To + wait for IPv6 addressing to complete, either (1) change the network + connection's IPv6 may-fail setting to no, + and/or (2) change the IPv6 addressing method to manual or + dhcp, to indicate that IPv6 connectivity is expected.

+
+
+

Options

+
++++ + + + + + + + + + + + + + + + + + + +

+ -t | --timeout + seconds +

Time to wait for a connection, in seconds. If the option is not provided, + the default timeout is 30 seconds.

-x | --exit

Exit immediately if NetworkManager is not running or connecting.

-q | --quiet

Don't print anything.

-s | --wait-for-startup

Wait for NetworkManager startup to complete, rather than waiting for + network connectivity specifically. Startup is considered complete once + NetworkManager has activated (or attempted to activate) every auto-activate + connection which is available given the current network state. (This is + generally only useful at boot time; after startup has completed, + nm-online -s will just return immediately, regardless of the + current network state.)

+
+
+

Exit Status

+

nm-online exits with status 0 if it succeeds, a value + greater than 0 is returned if an error occurs.

+
++++ + + + + + + + + + + + + + + +

0

Success – already online or connection established within given timeout.

1

Offline or not online within given timeout.

2

Unknown or unspecified error.

+
+
+

See Also

+

nmcli(1), + NetworkManager(8).

+
+
+ + + \ No newline at end of file diff --git a/docs/api/html/nm-settings-ifcfg-rh.html b/docs/api/html/nm-settings-ifcfg-rh.html index 7a92c0f9..7323d808 100644 --- a/docs/api/html/nm-settings-ifcfg-rh.html +++ b/docs/api/html/nm-settings-ifcfg-rh.html @@ -29,7 +29,7 @@
-

DESCRIPTION

+

Description

NetworkManager is based on the concept of connection profiles that contain network configuration (see nm-settings(5) for details). The profiles can be @@ -53,7 +53,7 @@

-

File Format

+

File Format

The ifcfg-rh config format is a simple text file containing VARIABLE="value" lines. The format is described in sysconfig.txt @@ -178,7 +178,7 @@ DEVICETYPE=TeamPort

-

Differences against initscripts

+

Differences against initscripts

The main differences of NetworkManager ifcfg-rh plugin and traditional initscripts are: @@ -240,16 +240,16 @@ DEVICETYPE=TeamPort

See the next section for detailed mapping of NetworkManager properties and ifcfg-rh variables. Variable names, format and usage - differences in NetworkManager and initscripts are documented in the tables bellow. + differences in NetworkManager and initscripts are documented in the tables below.

-

DETAILS

+

Details

ifcfg-rh plugin variables marked with (+) are NetworkManager specific extensions not understood by traditional initscripts.

-

Table 69. 802-1x setting

+

Table 69. 802-1x setting

@@ -524,7 +524,7 @@ Example: IEEE_8021X_PRIVATE_KEY=/home/joe/mykey.p12

-

Table 70. bond setting

+

Table 70. bond setting

@@ -549,7 +549,7 @@ Example: BONDING_OPTS="miimon=100 mode=broadcast"

-

Table 71. bridge-port setting

+

Table 71. bridge-port setting

@@ -590,7 +590,7 @@ Allowed values: 1 - 65535

-

Table 72. bridge setting

+

Table 72. bridge setting

@@ -670,7 +670,7 @@ Allowed values: 0 or 1

-

Table 73. connection setting

+

Table 73. connection setting

@@ -809,7 +809,7 @@ Allowed values: boolean value or 'rx'

-

Table 74. dcb setting

+

Table 74. dcb setting

@@ -944,7 +944,7 @@ Example: DCB_PG_UP2TC=01623701 used explicitly to enable DCB so that the rest of the DCB_* variables can apply.

-

Table 75. infiniband setting

+

Table 75. infiniband setting

@@ -999,7 +999,7 @@ Example: PHYSDEV=ib0

-

Table 76. ip-tunnel setting

+

Table 76. ip-tunnel setting

@@ -1017,7 +1017,7 @@ Example: PHYSDEV=ib0

-

Table 77. ipv4 setting

+

Table 77. ipv4 setting

@@ -1160,7 +1160,7 @@ Example: DHCP_FQDN=foo.bar.com

-

Table 78. ipv6 setting

+

Table 78. ipv6 setting

@@ -1280,7 +1280,7 @@ Allowed values: IPV6_ADDR_GEN_MODE: eui64, stable-privacy

-

Table 79. macvlan setting

+

Table 79. macvlan setting

@@ -1298,7 +1298,7 @@ Allowed values: IPV6_ADDR_GEN_MODE: eui64, stable-privacy

-

Table 80. team-port setting

+

Table 80. team-port setting

@@ -1321,7 +1321,7 @@ Allowed values: IPV6_ADDR_GEN_MODE: eui64, stable-privacy

-

Table 81. team setting

+

Table 81. team setting

@@ -1344,7 +1344,7 @@ Allowed values: IPV6_ADDR_GEN_MODE: eui64, stable-privacy

-

Table 82. tun setting

+

Table 82. tun setting

@@ -1362,7 +1362,7 @@ Allowed values: IPV6_ADDR_GEN_MODE: eui64, stable-privacy

-

Table 83. vlan setting

+

Table 83. vlan setting

@@ -1425,7 +1425,7 @@ Example: PHYSDEV=eth0, VLAN_ID=12; or DEVICE=eth0.12

-

Table 84. vxlan setting

+

Table 84. vxlan setting

@@ -1443,7 +1443,7 @@ Example: PHYSDEV=eth0, VLAN_ID=12; or DEVICE=eth0.12

-

Table 85. 802-3-ethernet setting

+

Table 85. 802-3-ethernet setting

@@ -1537,7 +1537,7 @@ Allowed values: "qeth", "lcs" or "ctc"

-

Table 86. 802-11-wireless-security setting

+

Table 86. 802-11-wireless-security setting

@@ -1689,7 +1689,7 @@ Example: KEY1=s:ahoj, KEY1=0a1c45bc02, KEY_PASSPHRASE1=mysuperse

-

Table 87. 802-11-wireless setting

+

Table 87. 802-11-wireless setting

@@ -1853,11 +1853,7 @@ Allowed values: default, never, always
-

AUTHOR

-

NetworkManager developers

-
-
-

FILES

+

Files

/etc/sysconfig/network-scripts/ifcfg-*

/etc/sysconfig/network-scripts/keys-*

/etc/sysconfig/network-scripts/route-*

@@ -1865,9 +1861,13 @@ Allowed values: default, never, always

/usr/share/doc/initscripts/sysconfig.txt

-

SEE ALSO

-

https://developer.gnome.org/NetworkManager/unstable/ref-settings.html

-

nm-settings(5), nm-settings-keyfile(5), NetworkManager(8), NetworkManager.conf(5), nmcli(1), nmcli-examples(5)

+

See Also

+

nm-settings(5), + nm-settings-keyfile(5), + NetworkManager(8), + NetworkManager.conf(5), + nmcli(1), + nmcli-examples(7)

-

DESCRIPTION

+

Description

NetworkManager is based on the concept of connection profiles that contain network configuration (see nm-settings(5) for details). The profiles can be @@ -48,7 +48,7 @@

-

File Format

+

File Format

The keyfile config format is a simple .ini-style format. It consists of sections (groups) of key-value pairs. Each section @@ -58,7 +58,7 @@ specification. The majority of properties of the specification is written in the same format into the keyfile too. However some values are inconvenient for people to use. These are stored in the - files in more readable ways. These properties are described bellow. + files in more readable ways. These properties are described below. An example could be IP addresses that are not written as integer arrays, but more reasonably as "1.2.3.4/12 1.2.3.254". More information of the generic key file format can be found at @@ -167,13 +167,13 @@ id=4

-

DETAILS

+

Details

keyfile plugin variables for the majority of NetworkManager properties have one-to-one mapping. It means a NetworkManager property is stored in the keyfile as a variable of the same name and in the same format. There are several exceptions to this rule, mainly for making keyfile syntax easier for humans. The exceptions handled specially by keyfile - plugin are listed bellow. Refer to + plugin are listed below. Refer to nm-settings(5) for all available settings and properties and their description.

@@ -188,7 +188,7 @@ id=4 802-11-wireless-security = wifi-security
-

Table 61. bridge setting (section)

+

Table 61. bridge setting (section)

@@ -205,7 +205,7 @@ id=4 - + @@ -213,7 +213,7 @@ Example: mac-address=00:22:68:12:79:A2 mac-address=0;34;104;18;1
mac-address mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation MAC address in traditional hex-digits-and-colons notation, or semicolon separated list of 6 decimal bytes (obsolete) Example: mac-address=00:22:68:12:79:A2 mac-address=0;34;104;18;121;162;

-

Table 62. infiniband setting (section)

+

Table 62. infiniband setting (section)

@@ -230,7 +230,7 @@ Example: mac-address=00:22:68:12:79:A2 mac-address=0;34;104;18;1 - + @@ -238,7 +238,7 @@ Example: mac-address= 80:00:00:6d:fe:80:00:00:00:00:00:00:00:02:
mac-address mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation MAC address in traditional hex-digits-and-colons notation, or or semicolon separated list of 20 decimal bytes (obsolete) Example: mac-address= 80:00:00:6d:fe:80:00:00:00:00:00:00:00:02:55:00:70:33:cf:01

-

Table 63. ipv4 setting (section)

+

Table 63. ipv4 setting (section)

@@ -289,7 +289,7 @@ Example: route1=8.8.8.0/24,10.1.1.1,77 route2=7.7.0.0/16

-

Table 64. ipv6 setting (section)

+

Table 64. ipv6 setting (section)

@@ -340,7 +340,7 @@ Example: route1=2001:4860:4860::/64,2620:52:0:2219:222:68ff:fe11

-

Table 65. serial setting (section)

+

Table 65. serial setting (section)

@@ -365,7 +365,7 @@ Example: parity=n

-

Table 66. vpn setting (section)

+

Table 66. vpn setting (section)

@@ -400,7 +400,7 @@ Example: password=Popocatepetl

-

Table 67. 802-3-ethernet setting (section)

+

Table 67. 802-3-ethernet setting (section)

@@ -418,13 +418,13 @@ Example: password=Popocatepetl - + - + @@ -439,7 +439,7 @@ Example: mac-address-blacklist= 00:22:68:12:79:A6;00:22:68:12:79
mac-address mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation MAC address in traditional hex-digits-and-colons notation (e.g. 00:22:68:12:79:A2), or semicolon separated list of 6 bytes (obsolete) (e.g. 0;34;104;18;121;162)
cloned-mac-address cloned-mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation Cloned MAC address in traditional hex-digits-and-colons notation (e.g. 00:22:68:12:79:B2), or semicolon separated list of 6 bytes (obsolete) (e.g. 0;34;104;18;121;178).

-

Table 68. 802-11-wireless setting (section)

+

Table 68. 802-11-wireless setting (section)

@@ -465,13 +465,13 @@ Example: ssid=Quick Net - + - + @@ -506,17 +506,17 @@ Example: mac-address-blacklist= 00:22:68:12:79:A6;00:22:68:12:79
-

AUTHOR

-

NetworkManager developers

-
-
-

FILES

+

Files

/etc/NetworkManager/system-connections/*

-

SEE ALSO

-

https://developer.gnome.org/NetworkManager/unstable/ref-settings.html

-

nm-settings(5), nm-settings-ifcfg-rh(5), NetworkManager(8), NetworkManager.conf(5), nmcli(1), nmcli-examples(5)

+

See Also

+

nm-settings(5), + nm-settings-ifcfg-rh(5), + NetworkManager(8), + NetworkManager.conf(5), + nmcli(1), + nmcli-examples(7)

mac-address mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation MAC address in traditional hex-digits-and-colons notation (e.g. 00:22:68:12:79:A2), or semicolon separated list of 6 bytes (obsolete) (e.g. 0;34;104;18;121;162).
cloned-mac-address cloned-mac-addressususal hex-digits-and-colons notationusual hex-digits-and-colons notation Cloned MAC address in traditional hex-digits-and-colons notation (e.g. 00:22:68:12:79:B2), or semicolon separated list of 6 bytes (obsolete) (e.g. 0;34;104;18;121;178).
-

DESCRIPTION

+

Description

NetworkManager is based on a concept of connection profiles, sometimes referred to as connections only. These connection profiles contain a network configuration. When @@ -94,7 +94,7 @@

-

Table 31. 802-1x setting

+

Table 31. 802-1x setting

@@ -257,13 +257,13 @@ - + - + @@ -293,13 +293,13 @@ - + - + @@ -323,7 +323,7 @@
phase2-private-key byte array  Contains the "phase 2" inner private key when the "phase2-auth" or "phase2-autheap" property is set to "tls". Key data is specified using a "scheme"; two are currently supported: blob and path. When using the blob scheme and private keys, this property should be set to the key's encrypted PEM encoded data. When using private keys with the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and ending with a terminating NUL byte. When using PKCS12 format private keys and the blob scheme, this property should be set to the PKCS12 data and the "phase2-private-key-password" property must be set to password used to decrypt the PKCS12 certificate and key. When using PKCS12 files and the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and and ending with a terminating NUL byte, and as with the blob scheme the "phase2-private-key-password" property must be set to the password used to decode the PKCS12 private key and certificate.Contains the "phase 2" inner private key when the "phase2-auth" or "phase2-autheap" property is set to "tls". Key data is specified using a "scheme"; two are currently supported: blob and path. When using the blob scheme and private keys, this property should be set to the key's encrypted PEM encoded data. When using private keys with the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and ending with a terminating NUL byte. When using PKCS#12 format private keys and the blob scheme, this property should be set to the PKCS#12 data and the "phase2-private-key-password" property must be set to password used to decrypt the PKCS#12 certificate and key. When using PKCS#12 files and the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and and ending with a terminating NUL byte, and as with the blob scheme the "phase2-private-key-password" property must be set to the password used to decode the PKCS#12 private key and certificate.
phase2-private-key-password string  The password used to decrypt the "phase 2" private key specified in the "phase2-private-key" property when the private key either uses the path scheme, or is a PKCS12 format key.The password used to decrypt the "phase 2" private key specified in the "phase2-private-key" property when the private key either uses the path scheme, or is a PKCS#12 format key.
phase2-private-key-password-flagsprivate-key byte array  Contains the private key when the "eap" property is set to "tls". Key data is specified using a "scheme"; two are currently supported: blob and path. When using the blob scheme and private keys, this property should be set to the key's encrypted PEM encoded data. When using private keys with the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and ending with a terminating NUL byte. When using PKCS12 format private keys and the blob scheme, this property should be set to the PKCS12 data and the "private-key-password" property must be set to password used to decrypt the PKCS12 certificate and key. When using PKCS12 files and the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and and ending with a terminating NUL byte, and as with the blob scheme the "private-key-password" property must be set to the password used to decode the PKCS12 private key and certificate. WARNING: "private-key" is not a "secret" property, and thus unencrypted private key data using the BLOB scheme may be readable by unprivileged users. Private keys should always be encrypted with a private key password to prevent unauthorized access to unencrypted private key data.Contains the private key when the "eap" property is set to "tls". Key data is specified using a "scheme"; two are currently supported: blob and path. When using the blob scheme and private keys, this property should be set to the key's encrypted PEM encoded data. When using private keys with the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and ending with a terminating NUL byte. When using PKCS#12 format private keys and the blob scheme, this property should be set to the PKCS#12 data and the "private-key-password" property must be set to password used to decrypt the PKCS#12 certificate and key. When using PKCS#12 files and the path scheme, this property should be set to the full UTF-8 encoded path of the key, prefixed with the string "file://" and and ending with a terminating NUL byte, and as with the blob scheme the "private-key-password" property must be set to the password used to decode the PKCS#12 private key and certificate. WARNING: "private-key" is not a "secret" property, and thus unencrypted private key data using the BLOB scheme may be readable by unprivileged users. Private keys should always be encrypted with a private key password to prevent unauthorized access to unencrypted private key data.
private-key-password string  The password used to decrypt the private key specified in the "private-key" property when the private key either uses the path scheme, or if the private key is a PKCS12 format key.The password used to decrypt the private key specified in the "private-key" property when the private key either uses the path scheme, or if the private key is a PKCS#12 format key.
private-key-password-flags

-

Table 32. adsl setting

+

Table 32. adsl setting

@@ -390,7 +390,7 @@

-

Table 33. bluetooth setting

+

Table 33. bluetooth setting

@@ -427,7 +427,7 @@

-

Table 34. bond setting

+

Table 34. bond setting

@@ -464,7 +464,7 @@

-

Table 35. bridge setting

+

Table 35. bridge setting

@@ -543,7 +543,7 @@

-

Table 36. bridge-port setting

+

Table 36. bridge-port setting

@@ -586,7 +586,7 @@

-

Table 37. cdma setting

+

Table 37. cdma setting

@@ -611,7 +611,7 @@ - + @@ -635,7 +635,7 @@
number string  The number to dial to establish the connection to the CDMA-based mobile broadband network, if any. If not specified, the default number (777) is used when required.The number to dial to establish the connection to the CDMA-based mobile broadband network, if any. If not specified, the default number (#777) is used when required.
password

-

Table 38. connection setting

+

Table 38. connection setting

@@ -762,7 +762,7 @@

-

Table 39. dcb setting

+

Table 39. dcb setting

@@ -877,7 +877,7 @@

-

Table 40. generic setting

+

Table 40. generic setting

@@ -900,7 +900,7 @@

-

Table 41. gsm setting

+

Table 41. gsm setting

@@ -997,7 +997,7 @@

-

Table 42. infiniband setting

+

Table 42. infiniband setting

@@ -1052,7 +1052,7 @@

-

Table 43. ipv4 setting

+

Table 43. ipv4 setting

@@ -1197,7 +1197,7 @@

-

Table 44. ipv6 setting

+

Table 44. ipv6 setting

@@ -1342,7 +1342,7 @@

-

Table 45. ip-tunnel setting

+

Table 45. ip-tunnel setting

@@ -1439,7 +1439,7 @@

-

Table 46. macvlan setting

+

Table 46. macvlan setting

@@ -1488,7 +1488,7 @@

-

Table 47. 802-11-olpc-mesh setting

+

Table 47. 802-11-olpc-mesh setting

@@ -1531,7 +1531,7 @@

-

Table 48. ppp setting

+

Table 48. ppp setting

@@ -1664,7 +1664,7 @@

-

Table 49. pppoe setting

+

Table 49. pppoe setting

@@ -1713,7 +1713,7 @@

-

Table 50. serial setting

+

Table 50. serial setting

@@ -1768,7 +1768,7 @@

-

Table 51. team setting

+

Table 51. team setting

@@ -1805,7 +1805,7 @@

-

Table 52. team-port setting

+

Table 52. team-port setting

@@ -1836,7 +1836,7 @@

-

Table 53. tun setting

+

Table 53. tun setting

@@ -1897,7 +1897,7 @@

-

Table 54. vlan setting

+

Table 54. vlan setting

@@ -1958,7 +1958,7 @@

-

Table 55. vpn setting

+

Table 55. vpn setting

@@ -2019,7 +2019,7 @@

-

Table 56. vxlan setting

+

Table 56. vxlan setting

@@ -2140,7 +2140,7 @@

-

Table 57. wimax setting

+

Table 57. wimax setting

@@ -2177,7 +2177,7 @@

-

Table 58. 802-3-ethernet setting

+

Table 58. 802-3-ethernet setting

@@ -2280,7 +2280,7 @@

-

Table 59. 802-11-wireless setting

+

Table 59. 802-11-wireless setting

@@ -2401,7 +2401,7 @@

-

Table 60. 802-11-wireless-security setting

+

Table 60. 802-11-wireless-security setting

@@ -2547,18 +2547,15 @@
-

AUTHOR

-

NetworkManager developers

+

Files

+

/etc/NetworkManager/system-connections or distro plugin-specific location

-

FILES

-

/etc/NetworkManager/system-connections

-

or distro plugin-specific location

-
-
-

SEE ALSO

-

https://wiki.gnome.org/Projects/NetworkManager/ConfigurationSpecification

-

NetworkManager(8), nmcli(1), nmcli-examples(5), NetworkManager.conf(5)

+

See Also

+

NetworkManager(8), + nmcli(1), + nmcli-examples(7), + NetworkManager.conf(5)

-

Description

+

Description

nmcli is a command-line client for NetworkManager. It allows controlling NetworkManager and reporting its status. For more information @@ -47,14 +47,11 @@

Note: this page has "work-in-progress" status.

-

Examples

+

Examples

-

Example 1. Listing available Wi-Fi APs

+

Example 1. Listing available Wi-Fi APs

-

-$ nmcli device wifi list
-      
-
+
$ nmcli device wifi list
 *  SSID               MODE    CHAN  RATE       SIGNAL  BARS  SECURITY
    netdatacomm_local  Infra   6     54 Mbit/s  37      ▂▄__  WEP
 *  F1                 Infra   11    54 Mbit/s  98      ▂▄▆█  WPA1
@@ -66,67 +63,60 @@ $ nmcli device wifi list
    MARTINA            Infra   4     54 Mbit/s  32      ▂▄__  WPA2
    N24PU1             Infra   7     11 Mbit/s  22      ▂___  --
    alfa               Infra   1     54 Mbit/s  67      ▂▄▆_  WPA2
-   bertnet            Infra   5     54 Mbit/s  20      ▂___  WPA1 WPA2
-      
+ bertnet Infra 5 54 Mbit/s 20 ▂___ WPA1 WPA2
+

+ This command shows how to list available Wi-Fi networks (APs). You can also use + --fields option for displaying different columns. + nmcli -f all dev wifi list will show all of them. +

-

- This command shows how to list available Wi-Fi networks (APs). You can also use - --fields option for displaying different columns. - nmcli -f all dev wifi list will show all of them. -

-
-

Example 2. Showing general information and properties for a Wi-Fi interface

+
+

Example 2. Showing general information and properties for a Wi-Fi interface

-

-$ nmcli -p -f general,wifi-properties device show wlan0
-      
-
-===============================================================================
-                            Device details (wlan0)
-===============================================================================
-GENERAL.DEVICE:                         wlan0
-GENERAL.TYPE:                           wifi
-GENERAL.VENDOR:                         Intel Corporation
-GENERAL.PRODUCT:                        PRO/Wireless 5100 AGN [Shiloh] Network Connection
-GENERAL.DRIVER:                         iwlwifi
-GENERAL.DRIVER-VERSION:                 3.8.13-100.fc17.x86_64
-GENERAL.FIRMWARE-VERSION:               8.83.5.1 build 33692
-GENERAL.HWADDR:                         00:1E:65:37:A1:D3
-GENERAL.MTU:                            1500
-GENERAL.STATE:                          100 (connected)
-GENERAL.REASON:                         0 (No reason given)
-GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0
-GENERAL.IP-IFACE:                       wlan0
-GENERAL.IS-SOFTWARE:                    no
-GENERAL.NM-MANAGED:                     yes
-GENERAL.AUTOCONNECT:                    yes
-GENERAL.FIRMWARE-MISSING:               no
-GENERAL.CONNECTION:                     My Alfa WiFi
-GENERAL.CON-UUID:                       85194f4c-d496-4eec-bae0-d880b4cbcf26
-GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/10
--------------------------------------------------------------------------------
-WIFI-PROPERTIES.WEP:                    yes
-WIFI-PROPERTIES.WPA:                    yes
-WIFI-PROPERTIES.WPA2:                   yes
-WIFI-PROPERTIES.TKIP:                   yes
-WIFI-PROPERTIES.CCMP:                   yes
-WIFI-PROPERTIES.AP:                     no
-WIFI-PROPERTIES.ADHOC:                  yes
--------------------------------------------------------------------------------
-      
+
$ nmcli -p -f general,wifi-properties device show wlan0
+===========================================================================
+                        Device details (wlan0)
+===========================================================================
+GENERAL.DEVICE:           wlan0
+GENERAL.TYPE:             wifi
+GENERAL.VENDOR:           Intel Corporation
+GENERAL.PRODUCT:          PRO/Wireless 5100 AGN [Shiloh] Network Connection
+GENERAL.DRIVER:           iwlwifi
+GENERAL.DRIVER-VERSION:   3.8.13-100.fc17.x86_64
+GENERAL.FIRMWARE-VERSION: 8.83.5.1 build 33692
+GENERAL.HWADDR:           00:1E:65:37:A1:D3
+GENERAL.MTU:              1500
+GENERAL.STATE:            100 (connected)
+GENERAL.REASON:           0 (No reason given)
+GENERAL.UDI:              /sys/devices/pci0000:00/0000:00:1c.1/net/wlan0
+GENERAL.IP-IFACE:         wlan0
+GENERAL.IS-SOFTWARE:      no
+GENERAL.NM-MANAGED:       yes
+GENERAL.AUTOCONNECT:      yes
+GENERAL.FIRMWARE-MISSING: no
+GENERAL.CONNECTION:       My Alfa WiFi
+GENERAL.CON-UUID:         85194f4c-d496-4eec-bae0-d880b4cbcf26
+GENERAL.CON-PATH:         /org/freedesktop/NetworkManager/ActiveConnection/
+10
+---------------------------------------------------------------------------
+WIFI-PROPERTIES.WEP:      yes
+WIFI-PROPERTIES.WPA:      yes
+WIFI-PROPERTIES.WPA2:     yes
+WIFI-PROPERTIES.TKIP:     yes
+WIFI-PROPERTIES.CCMP:     yes
+WIFI-PROPERTIES.AP:       no
+WIFI-PROPERTIES.ADHOC:    yes
+---------------------------------------------------------------------------
+

+ This command shows information about a Wi-Fi device. +

-

- This command shows information about a Wi-Fi device. -

-
-

Example 3. Listing NetworkManager polkit permissions

+
+

Example 3. Listing NetworkManager polkit permissions

-

-$ nmcli general permissions
-      
-
+
$ nmcli general permissions
 PERMISSION                                                VALUE
 org.freedesktop.NetworkManager.enable-disable-network     yes
 org.freedesktop.NetworkManager.enable-disable-wifi        yes
@@ -138,229 +128,192 @@ org.freedesktop.NetworkManager.wifi.share.protected       yes
 org.freedesktop.NetworkManager.wifi.share.open            yes
 org.freedesktop.NetworkManager.settings.modify.system     yes
 org.freedesktop.NetworkManager.settings.modify.own        yes
-org.freedesktop.NetworkManager.settings.modify.hostname   auth
-      
-
-
-

- This command shows configured polkit permissions for various NetworkManager - operations. These permissions or actions (using polkit language) are configured - by a system administrator and are not meant to be changed by users. The usual - place for the polkit configuration is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy. - pkaction command can display description for polkit actions. -

+org.freedesktop.NetworkManager.settings.modify.hostname auth +

+ This command shows configured polkit permissions for various NetworkManager + operations. These permissions or actions (using polkit language) are configured + by a system administrator and are not meant to be changed by users. The usual + place for the polkit configuration is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy. + pkaction command can display description for polkit actions. +


-pkaction --action-id org.freedesktop.NetworkManager.network-control --verbose
-      
+ pkaction --action-id org.freedesktop.NetworkManager.network-control --verbose +

- More information about polkit can be found at http://www.freedesktop.org/wiki/Software/polkit. -

-
-

Example 4. Listing NetworkManager log level and domains

+ More information about polkit can be found at http://www.freedesktop.org/wiki/Software/polkit. +

+
+
+
+

Example 4. Listing NetworkManager log level and domains

-

-$ nmcli general logging
-      
-
+
$ nmcli general logging
 LEVEL  DOMAINS
-INFO   PLATFORM,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC,WIMAX,INFINIBAND,FIREWALL,ADSL,BOND,VLAN,BRIDGE,DBUS_PROPS,TEAM,CONCHECK,DCB,DISPATCH
-      
+INFO PLATFORM,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,A +UTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC, +WIMAX,INFINIBAND,FIREWALL,ADSL,BOND,VLAN,BRIDGE,DBUS_PROPS,TEAM,CONCHECK,DC +B,DISPATCH
+

+ This command shows current NetworkManager logging status. +

-

- This command shows current NetworkManager logging status. -

-
-

Example 5. Changing NetworkManager logging

-

-$ nmcli g log level DEBUG domains CORE,ETHER,IP
-$ nmcli g log level INFO domains DEFAULT
-      
+
+

Example 5. Changing NetworkManager logging

+
+
$ nmcli g log level DEBUG domains CORE,ETHER,IP
+$ nmcli g log level INFO domains DEFAULT
+

+ The first command makes NetworkManager log in DEBUG level, and only for CORE, ETHER and + IP domains. The second command restores the default logging state. Please refer to the + NetworkManager.conf(5) manual page + for available logging levels and domains. +

-

- The first command makes NetworkManager log in DEBUG level, and only for CORE, ETHER and - IP domains. The second command restores the default logging state. Please refer to the - NetworkManager.conf(5) manual page - for available logging levels and domains. -

-
-

Example 6. Adding a bonding master and two slave connection profiles

-

-$ nmcli con add type bond ifname mybond0 mode active-backup
-$ nmcli con add type ethernet ifname eth1 master mybond0
-$ nmcli con add type ethernet ifname eth2 master mybond0
-      
-

- This example demonstrates adding a bond master connection and two slaves. The - first command adds a master bond connection, naming the bonding interface - mybond0 and using active-backup mode. - The next two commands add slaves connections, both enslaved to mybond0. - The first slave will be bound to eth1 interface, the second to - eth2. -

-
-

Example 7. Adding a team master and two slave connection profiles

-

-$ nmcli con add type team con-name Team1 ifname Team1 config team1-master-json.conf
-$ nmcli con add type ethernet con-name Team1-slave1 ifname em1 master Team1
-$ nmcli con add type ethernet con-name Team1-slave2 ifname em2 master Team1
-      
+
+

Example 6. Adding a bonding master and two slave connection profiles

+
+
$ nmcli con add type bond ifname mybond0 mode active-backup
+$ nmcli con add type ethernet ifname eth1 master mybond0
+$ nmcli con add type ethernet ifname eth2 master mybond0
+

+ This example demonstrates adding a bond master connection and two slaves. The + first command adds a master bond connection, naming the bonding interface + mybond0 and using active-backup mode. + The next two commands add slaves connections, both enslaved to mybond0. + The first slave will be bound to eth1 interface, the second to + eth2. +

-

- This example demonstrates adding a team master connection profile and two slaves. It is - very similar to the bonding example. The first command adds a master team profile, naming - the team interface and the profile Team1. The team configuration - for the master is read from team1-master-json.conf file. Later, you can - change the configuration with modify command - (nmcli con modify Team1 team.config team1-master-another-json.conf). - The last two commands add slaves profiles, both enslaved to Team1. - The first slave will be bound to em1 interface, the second to - em2. The slaves don't specify config and thus - teamd will use its default configuration. You will activate the whole setup - by activating both slaves: +

+
+

Example 7. Adding a team master and two slave connection profiles

+
+
$ nmcli con add type team con-name Team1 ifname Team1 config team1-master-json.conf
+$ nmcli con add type ethernet con-name Team1-slave1 ifname em1 master Team1
+$ nmcli con add type ethernet con-name Team1-slave2 ifname em2 master Team1
+

+ This example demonstrates adding a team master connection profile and two slaves. It is + very similar to the bonding example. The first command adds a master team profile, naming + the team interface and the profile Team1. The team configuration + for the master is read from team1-master-json.conf file. Later, you can + change the configuration with modify command + (nmcli con modify Team1 team.config team1-master-another-json.conf). + The last two commands add slaves profiles, both enslaved to Team1. + The first slave will be bound to em1 interface, the second to + em2. The slaves don't specify config and thus + teamd will use its default configuration. You will activate the whole setup + by activating both slaves: +

+
  $ nmcli con up Team1-slave1
+  $ nmcli con up Team1-slave2
+

+ By default, the created profiles are marked for auto-activation. But if another + connection has been activated on the device, the new profile won't activate + automatically and you need to activate it manually.

-

-$ nmcli con up Team1-slave1
-$ nmcli con up Team1-slave2
-      
+
+
+
+

Example 8. Adding a bridge and two slave profiles

+
+
$ nmcli con add type bridge con-name TowerBridge ifname TowerBridge
+$ nmcli con add type ethernet con-name br-slave-1 ifname ens3 master TowerBridge
+$ nmcli con add type ethernet con-name br-slave-2 ifname ens4 master TowerBridge
+$ nmcli con modify TowerBridge bridge.stp no

- By default, the created profiles are marked for auto-activation. But if another - connection has been activated on the device, the new profile won't activate - automatically and you need to activate it manually. -

-
-

Example 8. Adding a bridge and two slave profiles

-

-$ nmcli con add type bridge con-name TowerBridge ifname TowerBridge
-$ nmcli con add type ethernet con-name br-slave-1 ifname ens3 master TowerBridge
-$ nmcli con add type ethernet con-name br-slave-2 ifname ens4 master TowerBridge
-$ nmcli con modify TowerBridge bridge.stp no
-      
+ This example demonstrates adding a bridge master connection and two slaves. The + first command adds a master bridge connection, naming the bridge interface and + the profile as TowerBridge. + The next two commands add slaves profiles, both will be enslaved to + TowerBridge. + The first slave will be tied to ens3 interface, the second to + ens4. + The last command will disable 802.1D STP for the TowerBridge profile. +

-

- This example demonstrates adding a bridge master connection and two slaves. The - first command adds a master bridge connection, naming the bridge interface and - the profile as TowerBridge. - The next two commands add slaves profiles, both will be enslaved to - TowerBridge. - The first slave will be tied to ens3 interface, the second to - ens4. - The last command will disable 802.1D STP for the TowerBridge profile. -

-
-

Example 9. Adding an ethernet connection profile with manual IP configuration

-
-        
-$ nmcli con add con-name my-con-em1 ifname em1 type ethernet ip4 192.168.100.100/24 gw4 192.168.100.1 ip4 1.2.3.4 ip6 abbe::cafe
-$ nmcli con mod my-con-em1 ipv4.dns "8.8.8.8 8.8.4.4"
-$ nmcli con mod my-con-em1 +ipv4.dns 1.2.3.4
-$ nmcli con mod my-con-em1 ipv6.dns "2001:4860:4860::8888 2001:4860:4860::8844"
-$ nmcli -p con show my-con-em1
-        
-      
-

- The first command adds an Ethernet connection profile named my-con-em1 - that is bound to interface name em1. The profile is configured - with static IP addresses. Three addresses are added, two IPv4 addresses and one IPv6. - The first IP 192.168.100.100 has a prefix of 24 (netmask equivalent of 255.255.255.0). - Gateway entry will become the default route if this profile is activated on em1 interface - (and there is no connection with higher priority). The next two addresses do not - specify a prefix, so a default prefix will be used, i.e. 32 for IPv4 and 128 for IPv6. - The second, third and fourth commands modify DNS parameters of the new connection profile. - The last con show command displays the profile so that all - parameters can be reviewed. -

-
-

Example 10. Escaping colon characters in tabular mode

+
+

Example 9. Adding an ethernet connection profile with manual IP configuration

-
-        
-$ nmcli -t -f general -e yes -m tab dev show eth0
-        
-      
-
-GENERAL:eth0:ethernet:Intel Corporation:82567LM Gigabit Network Connection:e1000e:2.1.4-k:1.8-3:00\:22\:68\:15\:29\:21:1500:100 (connected):0 (No reason given):/sys/devices/pci0000\:00/0000\:00\:19.0/net/eth0:eth0:yes:yes:no:ethernet-13:89cbcbc6-dc85-456c-9c8b-bd828fee3917:/org/freedesktop/NetworkManager/ActiveConnection/9
-      
+
$ nmcli con add con-name my-con-em1 ifname em1 type ethernet \
+  ip4 192.168.100.100/24 gw4 192.168.100.1 ip4 1.2.3.4 ip6 abbe::cafe
+$ nmcli con mod my-con-em1 ipv4.dns "8.8.8.8 8.8.4.4"
+$ nmcli con mod my-con-em1 +ipv4.dns 1.2.3.4
+$ nmcli con mod my-con-em1 ipv6.dns "2001:4860:4860::8888 2001:4860:4860::8844"
+$ nmcli -p con show my-con-em1
+

+ The first command adds an Ethernet connection profile named my-con-em1 + that is bound to interface name em1. The profile is configured + with static IP addresses. Three addresses are added, two IPv4 addresses and one IPv6. + The first IP 192.168.100.100 has a prefix of 24 (netmask equivalent of 255.255.255.0). + Gateway entry will become the default route if this profile is activated on em1 interface + (and there is no connection with higher priority). The next two addresses do not + specify a prefix, so a default prefix will be used, i.e. 32 for IPv4 and 128 for IPv6. + The second, third and fourth commands modify DNS parameters of the new connection profile. + The last con show command displays the profile so that all + parameters can be reviewed. +

-

- This example shows escaping colon characters in tabular mode. It may be - useful for script processing, because ':' is used as a field separator. -

-
-

Example 11. nmcli usage in a NetworkManager dispatcher script to make Ethernet and Wi-Fi mutually exclusive

+
+

Example 10. Escaping colon characters in tabular mode

-
- - - - - - -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
#!/bin/bash
-export LC_ALL=C
+
$ nmcli -t -f general -e yes -m tab dev show eth0
+GENERAL:eth0:ethernet:Intel Corporation:82567LM Gigabit Network Connection:
+e1000e:2.1.4-k:1.8-3:00\:22\:68\:15\:29\:21:1500:100 (connected):0 (No reas
+on given):/sys/devices/pci0000\:00/0000\:00\:19.0/net/eth0:eth0:yes:yes:no:
+ethernet-13:89cbcbc6-dc85-456c-9c8b-bd828fee3917:/org/freedesktop/NetworkMa
+nager/ActiveConnection/9
+

+ This example shows escaping colon characters in tabular mode. It may be + useful for script processing, because ':' is used as a field separator. +

+ + +
+

Example 11. nmcli usage in a NetworkManager dispatcher script to make Ethernet and Wi-Fi mutually exclusive

+
+
+#!/bin/bash
+export LC_ALL=C
 
-enable_disable_wifi ()
-{
-    result=$(nmcli dev | grep "ethernet" | grep -w "connected")
-    if [ -n "$result" ]; then
-        nmcli radio wifi off
-    else
-        nmcli radio wifi on
-    fi
-}
+enable_disable_wifi ()
+{
+    result=$(nmcli dev | grep "ethernet" | grep -w "connected")
+    if [ -n "$result" ]; then
+        nmcli radio wifi off
+    else
+        nmcli radio wifi on
+    fi
+}
 
-if [ "$2" = "up" ]; then
-    enable_disable_wifi
-fi
+if [ "$2" = "up" ]; then
+    enable_disable_wifi
+fi
 
-if [ "$2" = "down" ]; then
-    enable_disable_wifi
-fi
+if [ "$2" = "down" ]; then + enable_disable_wifi +fi + +

+ This dispatcher script makes Wi-Fi mutually exclusive with wired + networking. When a wired interface is connected, Wi-Fi will be set + to airplane mode (rfkilled). When the wired interface is disconnected, + Wi-Fi will be turned back on. + Name this script e.g. 70-wifi-wired-exclusive.sh and put it into /etc/NetworkManager/dispatcher.d/ + directory. + See NetworkManager(8) + manual page for more information about NetworkManager dispatcher scripts. +

-
-

- This dispatcher script makes Wi-Fi mutually exclusive with wired - networking. When a wired interface is connected, Wi-Fi will be set - to airplane mode (rfkilled). When the wired interface is disconnected, - Wi-Fi will be turned back on. - Name this script e.g. 70-wifi-wired-exclusive.sh and put it into /etc/NetworkManager/dispatcher.d/ - directory. - See NetworkManager(8) - manual page for more information about NetworkManager dispatcher scripts. -

-

Example sessions of interactive connection editor

+

Example sessions of interactive connection editor

-

Example 12. Adding an ethernet connection profile in interactive editor (a)

+

Example 12. Adding an ethernet connection profile in interactive editor (a)

-
-        
-$ nmcli connection edit type ethernet
-        
-      
-
+
$ nmcli connection edit type ethernet
 
 ===| nmcli interactive connection editor |===
 
@@ -369,72 +322,75 @@ Adding a new '802-3-ethernet' connection
 Type 'help' or '?' for available commands.
 Type 'describe [<setting>.<prop>]' for detailed property description.
 
-You may edit the following settings: connection, 802-3-ethernet (ethernet), 802-1x, ipv4, ipv6, dcb
-nmcli> print
-===============================================================================
-                              Connection details
-===============================================================================
-connection.id:                          ethernet-4
-connection.uuid:                        de89cdeb-a3e1-4d53-8fa0-c22546c775f4
-connection.interface-name:              --
-connection.type:                        802-3-ethernet
-connection.autoconnect:                 yes
-connection.autoconnect-priority:        0
-connection.timestamp:                   0
-connection.read-only:                   no
-connection.permissions:                 
-connection.zone:                        --
-connection.master:                      --
-connection.slave-type:                  --
-connection.secondaries:                 
-connection.gateway-ping-timeout:        0
--------------------------------------------------------------------------------
-802-3-ethernet.port:                    --
-802-3-ethernet.speed:                   0
-802-3-ethernet.duplex:                  --
-802-3-ethernet.auto-negotiate:          yes
-802-3-ethernet.mac-address:             --
-802-3-ethernet.cloned-mac-address:      --
-802-3-ethernet.mac-address-blacklist:   
-802-3-ethernet.mtu:                     auto
-802-3-ethernet.s390-subchannels:        
-802-3-ethernet.s390-nettype:            --
-802-3-ethernet.s390-options:            
--------------------------------------------------------------------------------
-ipv4.method:                            auto
-ipv4.dns:                               
-ipv4.dns-search:                        
-ipv4.addresses:                         
-ipv4.gateway:                           --
-ipv4.routes:                            
-ipv4.route-metric:                      -1
-ipv4.ignore-auto-routes:                no
-ipv4.ignore-auto-dns:                   no
-ipv4.dhcp-client-id:                    --
-ipv4.dhcp-send-hostname:                yes
-ipv4.dhcp-hostname:                     --
-ipv4.never-default:                     no
-ipv4.may-fail:                          yes
--------------------------------------------------------------------------------
-ipv6.method:                            auto
-ipv6.dns:                               
-ipv6.dns-search:                        
-ipv6.addresses:                         
-ipv6.gateway:                           --
-ipv6.routes:                            
-ipv6.route-metric:                      -1
-ipv6.ignore-auto-routes:                no
-ipv6.ignore-auto-dns:                   no
-ipv6.never-default:                     no
-ipv6.may-fail:                          yes
-ipv6.ip6-privacy:                       -1 (unknown)
-ipv6.dhcp-hostname:                     --
--------------------------------------------------------------------------------
-nmcli> goto ethernet
-You may edit the following properties: port, speed, duplex, auto-negotiate, mac-address, cloned-mac-address, mac-address-blacklist, mtu, s390-subchannels, s390-nettype, s390-options
+You may edit the following settings: connection, 802-3-ethernet (ethernet),
+802-1x, ipv4, ipv6, dcb
+nmcli> print
+===========================================================================
+                          Connection details
+===========================================================================
+connection.id:                      ethernet-4
+connection.uuid:                    de89cdeb-a3e1-4d53-8fa0-c22546c775f4
+connection.interface-name:          --
+connection.type:                    802-3-ethernet
+connection.autoconnect:             yes
+connection.autoconnect-priority:    0
+connection.timestamp:               0
+connection.read-only:               no
+connection.permissions:
+connection.zone:                    --
+connection.master:                  --
+connection.slave-type:              --
+connection.secondaries:
+connection.gateway-ping-timeout:    0
+---------------------------------------------------------------------------
+802-3-ethernet.port:                --
+802-3-ethernet.speed:               0
+802-3-ethernet.duplex:              --
+802-3-ethernet.auto-negotiate:      yes
+802-3-ethernet.mac-address:         --
+802-3-ethernet.cloned-mac-address:  --
+802-3-ethernet.mac-address-blacklist:
+802-3-ethernet.mtu:                 auto
+802-3-ethernet.s390-subchannels:
+802-3-ethernet.s390-nettype:        --
+802-3-ethernet.s390-options:
+---------------------------------------------------------------------------
+ipv4.method:                        auto
+ipv4.dns:
+ipv4.dns-search:
+ipv4.addresses:
+ipv4.gateway:                       --
+ipv4.routes:
+ipv4.route-metric:                  -1
+ipv4.ignore-auto-routes:            no
+ipv4.ignore-auto-dns:               no
+ipv4.dhcp-client-id:                --
+ipv4.dhcp-send-hostname:            yes
+ipv4.dhcp-hostname:                 --
+ipv4.never-default:                 no
+ipv4.may-fail:                      yes
+---------------------------------------------------------------------------
+ipv6.method:                        auto
+ipv6.dns:
+ipv6.dns-search:
+ipv6.addresses:
+ipv6.gateway:                       --
+ipv6.routes:
+ipv6.route-metric:                  -1
+ipv6.ignore-auto-routes:            no
+ipv6.ignore-auto-dns:               no
+ipv6.never-default:                 no
+ipv6.may-fail:                      yes
+ipv6.ip6-privacy:                   -1 (unknown)
+ipv6.dhcp-hostname:                 --
+---------------------------------------------------------------------------
+nmcli> goto ethernet
+You may edit the following properties: port, speed, duplex, auto-negotiate,
+ mac-address, cloned-mac-address, mac-address-blacklist, mtu, s390-subchann
+els, s390-nettype, s390-options
 nmcli 802-3-ethernet> set mtu 1492
 nmcli 802-3-ethernet> b
-nmcli> goto ipv4.addresses
+nmcli> goto ipv4.addresses
 nmcli ipv4.addresses> desc
 
 === [addresses] ===
@@ -455,144 +411,145 @@ nmcli ipv4.addresses> print
 addresses: 192.168.1.100/24
 nmcli ipv4.addresses> back
 nmcli ipv4> b
-nmcli> set ipv4.gateway 192.168.1.1
-nmcli> verify
+nmcli> set ipv4.gateway 192.168.1.1
+nmcli> verify
 Verify connection: OK
-nmcli> print
-===============================================================================
-                              Connection details
-===============================================================================
-connection.id:                          ethernet-4
-connection.uuid:                        de89cdeb-a3e1-4d53-8fa0-c22546c775f4
-connection.interface-name:              --
-connection.type:                        802-3-ethernet
-connection.autoconnect:                 yes
-connection.autoconnect-priority:        0
-connection.timestamp:                   0
-connection.read-only:                   no
-connection.permissions:                 
-connection.zone:                        --
-connection.master:                      --
-connection.slave-type:                  --
-connection.secondaries:                 
-connection.gateway-ping-timeout:        0
--------------------------------------------------------------------------------
-802-3-ethernet.port:                    --
-802-3-ethernet.speed:                   0
-802-3-ethernet.duplex:                  --
-802-3-ethernet.auto-negotiate:          yes
-802-3-ethernet.mac-address:             --
-802-3-ethernet.cloned-mac-address:      --
-802-3-ethernet.mac-address-blacklist:   
-802-3-ethernet.mtu:                     1492
-802-3-ethernet.s390-subchannels:        
-802-3-ethernet.s390-nettype:            --
-802-3-ethernet.s390-options:            
--------------------------------------------------------------------------------
-ipv4.method:                            manual
-ipv4.dns:                               
-ipv4.dns-search:                        
-ipv4.addresses:                         192.168.1.100/24
-ipv4.gateway:                           192.168.1.1
-ipv4.routes:                            
-ipv4.route-metric:                      -1
-ipv4.ignore-auto-routes:                no
-ipv4.ignore-auto-dns:                   no
-ipv4.dhcp-client-id:                    --
-ipv4.dhcp-send-hostname:                yes
-ipv4.dhcp-hostname:                     --
-ipv4.never-default:                     no
-ipv4.may-fail:                          yes
--------------------------------------------------------------------------------
-ipv6.method:                            auto
-ipv6.dns:                               
-ipv6.dns-search:                        
-ipv6.addresses:                         
-ipv6.routes:                            
-ipv6.route-metric:                      -1
-ipv6.ignore-auto-routes:                no
-ipv6.ignore-auto-dns:                   no
-ipv6.never-default:                     no
-ipv6.may-fail:                          yes
-ipv6.ip6-privacy:                       -1 (unknown)
-ipv6.dhcp-hostname:                     --
--------------------------------------------------------------------------------
-nmcli> set ipv4.dns 8.8.8.8 8.8.4.4
-nmcli> print
-===============================================================================
-                              Connection details
-===============================================================================
-connection.id:                          ethernet-4
-connection.uuid:                        de89cdeb-a3e1-4d53-8fa0-c22546c775f4
-connection.interface-name:              --
-connection.type:                        802-3-ethernet
-connection.autoconnect:                 yes
-connection.autoconnect-priority:        0
-connection.timestamp:                   0
-connection.read-only:                   no
-connection.permissions:                 
-connection.zone:                        --
-connection.master:                      --
-connection.slave-type:                  --
-connection.secondaries:                 
-connection.gateway-ping-timeout:        0
--------------------------------------------------------------------------------
-802-3-ethernet.port:                    --
-802-3-ethernet.speed:                   0
-802-3-ethernet.duplex:                  --
-802-3-ethernet.auto-negotiate:          yes
-802-3-ethernet.mac-address:             --
-802-3-ethernet.cloned-mac-address:      --
-802-3-ethernet.mac-address-blacklist:   
-802-3-ethernet.mtu:                     1492
-802-3-ethernet.s390-subchannels:        
-802-3-ethernet.s390-nettype:            --
-802-3-ethernet.s390-options:            
--------------------------------------------------------------------------------
-ipv4.method:                            manual
-ipv4.dns:                               8.8.8.8,8.8.4.4
-ipv4.dns-search:                        
-ipv4.addresses:                         192.168.1.100/24
-ipv4.gateway:                           192.168.1.1
-ipv4.routes:                            
-ipv4.route-metric:                      -1
-ipv4.ignore-auto-routes:                no
-ipv4.ignore-auto-dns:                   no
-ipv4.dhcp-client-id:                    --
-ipv4.dhcp-send-hostname:                yes
-ipv4.dhcp-hostname:                     --
-ipv4.never-default:                     no
-ipv4.may-fail:                          yes
--------------------------------------------------------------------------------
-ipv6.method:                            auto
-ipv6.dns:                               
-ipv6.dns-search:                        
-ipv6.addresses:                         
-ipv6.gateway:                           --
-ipv6.routes:                            
-ipv6.route-metric:                      -1
-ipv6.ignore-auto-routes:                no
-ipv6.ignore-auto-dns:                   no
-ipv6.never-default:                     no
-ipv6.may-fail:                          yes
-ipv6.ip6-privacy:                       -1 (unknown)
-ipv6.dhcp-hostname:                     --
--------------------------------------------------------------------------------
-nmcli> verify
+nmcli> print
+===========================================================================
+                          Connection details
+===========================================================================
+connection.id:                      ethernet-4
+connection.uuid:                    de89cdeb-a3e1-4d53-8fa0-c22546c775f4
+connection.interface-name:          --
+connection.type:                    802-3-ethernet
+connection.autoconnect:             yes
+connection.autoconnect-priority:    0
+connection.timestamp:               0
+connection.read-only:               no
+connection.permissions:
+connection.zone:                    --
+connection.master:                  --
+connection.slave-type:              --
+connection.secondaries:
+connection.gateway-ping-timeout:    0
+---------------------------------------------------------------------------
+802-3-ethernet.port:                --
+802-3-ethernet.speed:               0
+802-3-ethernet.duplex:              --
+802-3-ethernet.auto-negotiate:      yes
+802-3-ethernet.mac-address:         --
+802-3-ethernet.cloned-mac-address:  --
+802-3-ethernet.mac-address-blacklist:
+802-3-ethernet.mtu:                 1492
+802-3-ethernet.s390-subchannels:
+802-3-ethernet.s390-nettype:        --
+802-3-ethernet.s390-options:
+---------------------------------------------------------------------------
+ipv4.method:                        manual
+ipv4.dns:
+ipv4.dns-search:
+ipv4.addresses:                     192.168.1.100/24
+ipv4.gateway:                       192.168.1.1
+ipv4.routes:
+ipv4.route-metric:                  -1
+ipv4.ignore-auto-routes:            no
+ipv4.ignore-auto-dns:               no
+ipv4.dhcp-client-id:                --
+ipv4.dhcp-send-hostname:            yes
+ipv4.dhcp-hostname:                 --
+ipv4.never-default:                 no
+ipv4.may-fail:                      yes
+---------------------------------------------------------------------------
+ipv6.method:                        auto
+ipv6.dns:
+ipv6.dns-search:
+ipv6.addresses:
+ipv6.routes:
+ipv6.route-metric:                  -1
+ipv6.ignore-auto-routes:            no
+ipv6.ignore-auto-dns:               no
+ipv6.never-default:                 no
+ipv6.may-fail:                      yes
+ipv6.ip6-privacy:                   -1 (unknown)
+ipv6.dhcp-hostname:                 --
+---------------------------------------------------------------------------
+nmcli> set ipv4.dns 8.8.8.8 8.8.4.4
+nmcli> print
+===========================================================================
+                          Connection details
+===========================================================================
+connection.id:                      ethernet-4
+connection.uuid:                    de89cdeb-a3e1-4d53-8fa0-c22546c775f4
+connection.interface-name:          --
+connection.type:                    802-3-ethernet
+connection.autoconnect:             yes
+connection.autoconnect-priority:    0
+connection.timestamp:               0
+connection.read-only:               no
+connection.permissions:
+connection.zone:                    --
+connection.master:                  --
+connection.slave-type:              --
+connection.secondaries:
+connection.gateway-ping-timeout:    0
+---------------------------------------------------------------------------
+802-3-ethernet.port:                --
+802-3-ethernet.speed:               0
+802-3-ethernet.duplex:              --
+802-3-ethernet.auto-negotiate:      yes
+802-3-ethernet.mac-address:         --
+802-3-ethernet.cloned-mac-address:  --
+802-3-ethernet.mac-address-blacklist:
+802-3-ethernet.mtu:                 1492
+802-3-ethernet.s390-subchannels:
+802-3-ethernet.s390-nettype:        --
+802-3-ethernet.s390-options:
+---------------------------------------------------------------------------
+ipv4.method:                        manual
+ipv4.dns:                           8.8.8.8,8.8.4.4
+ipv4.dns-search:
+ipv4.addresses:                     192.168.1.100/24
+ipv4.gateway:                       192.168.1.1
+ipv4.routes:
+ipv4.route-metric:                  -1
+ipv4.ignore-auto-routes:            no
+ipv4.ignore-auto-dns:               no
+ipv4.dhcp-client-id:                --
+ipv4.dhcp-send-hostname:            yes
+ipv4.dhcp-hostname:                 --
+ipv4.never-default:                 no
+ipv4.may-fail:                      yes
+---------------------------------------------------------------------------
+ipv6.method:                        auto
+ipv6.dns:
+ipv6.dns-search:
+ipv6.addresses:
+ipv6.gateway:                       --
+ipv6.routes:
+ipv6.route-metric:                  -1
+ipv6.ignore-auto-routes:            no
+ipv6.ignore-auto-dns:               no
+ipv6.never-default:                 no
+ipv6.may-fail:                      yes
+ipv6.ip6-privacy:                   -1 (unknown)
+ipv6.dhcp-hostname:                 --
+---------------------------------------------------------------------------
+nmcli> verify
 Verify connection: OK
-nmcli> save
-Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully saved.
-nmcli> quit
-      
+nmcli> save +Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully + saved. +nmcli> quit
+

+ Example session in the nmcli interactive connection editor. + The scenario creates an Ethernet connection profile with static addressing (IPs and DNS). +

-

- Example session in the nmcli interactive connection editor. - The scenario creates an Ethernet connection profile with static addressing (IPs and DNS). -

+
-

See Also

+

See Also

nmcli(1), NetworkManager(8), diff --git a/docs/api/html/nmcli.html b/docs/api/html/nmcli.html new file mode 100644 index 00000000..ef756f49 --- /dev/null +++ b/docs/api/html/nmcli.html @@ -0,0 +1,2282 @@ + + + + +nmcli: NetworkManager D-Bus API Reference Manual + + + + + + + + + + + + + + + + +

+
+
+ + +
+

nmcli

+

nmcli — command-line tool for controlling NetworkManager

+
+
+

Synopsis

+

nmcli [OPTIONS...] { help | general | networking | radio | connection | device | agent | monitor } [COMMAND] [ARGUMENTS...]

+
+
+

Description

+

nmcli is a command-line tool for controlling + NetworkManager and reporting network status. It can be utilized as a + replacement for nm-applet or other graphical clients. + nmcli is used to create, display, edit, delete, activate, + and deactivate network connections, as well as control and display network + device status.

+

Typical uses include:

+
    +
  • Scripts: Utilize NetworkManager via nmcli instead of + managing network connections manually. nmcli supports a + terse output format which is better suited for script processing. Note that + NetworkManager can also execute scripts, called "dispatcher scripts", in + response to network events. See + NetworkManager(8) + for details about these dispatcher scripts.

  • +
  • Servers, headless machines, and terminals: nmcli can + be used to control NetworkManager without a GUI, including creating, editing, + starting and stopping network connections and viewing network status.

  • +
+
+
+

Options

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

-t | --terse

Output is terse. This mode is designed and suitable for computer (script) + processing.

-p | --pretty

Output is pretty. This causes nmcli to produce easily + readable outputs for humans, i.e. values are aligned, headers are printed, + etc.

-m | --mode { tabular | multiline }

+

Switch between tabular and multiline output:

+
++++ + + + + + + + + + + +

tabular

Output is a table where each line describes a single entry. + Columns define particular properties of the entry.

multiline

Each entry comprises multiple lines, each property on its + own line. The values are prefixed with the property name.

+

If omitted, default is tabular for most commands. + For the commands producing more structured information, that cannot be + displayed on a single line, default is multiline. + Currently, they are:

+
    +
  • nmcli connection show ID

  • +
  • nmcli device show

  • +
+

-c | --colors { yes | no | auto }

This option controls color output (using terminal escape sequences). + yes enables colors, no disables them, + auto only produces colors when standard output is directed + to a terminal. The default value is auto.

-f | --fields {[field...] | all | common }

+

This option is used to specify what fields (column names) should be + printed. Valid field names differ for specific commands. List available fields + by providing an invalid value to the --fields option. + all is used to print all valid field values of the + command. common is used to print common field values of + the command.

+

If omitted, default is common. The option is + mandatory when --terse is used. In this case, generic values + all and common cannot be used. This + is to maintain compatibility when new fields are added in the future.

+

-e | --escape { yes | no }

+

Whether to escape : and \ characters in terse tabular mode. The + escape character is \.

+

If omitted, default is yes.

+

-n | --nocheck

This option can be used to force nmcli to skip + checking nmcli and NetworkManager + version compatibility. Use it with care, because using incompatible versions + may produce incorrect results.

-a | --ask

When using this option nmcli will stop and ask for any + missing required arguments, so do not use this option for non-interactive + purposes like scripts. This option controls, for example, whether you will be + prompted for a password if it is required for connecting to a network.

-s | --show-secrets

When using this option nmcli will display passwords + and secrets that might be present in an output of an operation. This option + also influences echoing passwords typed by user as an input.

[ + -w | --wait + seconds... + ]

+

This option sets a timeout period for which nmcli will + wait for NetworkManager to finish operations. It is + especially useful for commands that may take a longer time to complete, e.g. + connection activation.

+

Specifying a value of 0 instructs + nmcli not to wait but to exit immediately with a status of + success. The default value depends on the executed command.

+

-v | --version

Show nmcli version.

-h | --help

Print help information.

+
+
+

General Commands

+

nmcli general { status | hostname | permissions | logging } [ARGUMENTS...]

+

Use this command to show NetworkManager status and permissions. You can also get + and change system hostname, as well as NetworkManager logging level and domains.

+
++++ + + + + + + + + + + + + + + + + + + +

status

Show overall status of NetworkManager. This is the default action, when + no additional command is provided for nmcli general.

+ hostname + [hostname] +

+

Get and change system hostname. With no arguments, this prints currently + configured hostname. When you pass a hostname, it will be handed over to + NetworkManager to be set as a new system hostname.

+

Note that the term "system" hostname may also be referred to as + "persistent" or "static" by other programs or tools. The hostname is stored + in /etc/hostname file in most distributions. For example, + systemd-hostnamed service uses the term "static" hostname and it only reads + the /etc/hostname file when it starts.

+

permissions

Show the permissions a caller has for various authenticated operations + that NetworkManager provides, like enable and disable networking, changing + Wi-Fi and WWAN state, modifying connections, etc.

+ logging + [level level] + [domain domains...] +

Get and change NetworkManager logging level and + domains. Without any argument current logging level and domains are shown. In + order to change logging state, provide level and, or, + domain parameters. See + NetworkManager.conf(5) + for available level and domain values.

+
+
+

Networking Control Commands

+

nmcli networking { on | off | connectivity } [ARGUMENTS...]

+

Query NetworkManager networking status, enable and disable networking. +

+
++++ + + + + + + + + + + +

on, off

Enable enable or disable networking control by NetworkManager. + All interfaces managed by NetworkManager are deactivated when networking + is disabled.

+ connectivity + [check] +

+

Get network connectivity state. The optional check + argument tells NetworkManager to re-check the connectivity, else the most + recent known connectivity state is displayed without re-checking.

+

Possible states are:

+
++++ + + + + + + + + + + + + + + + + + + + + + + +

none

the host is not connected to any network.

portal

the host is behind a captive portal and cannot reach the full Internet.

limited

the host is connected to a network, but it has no access to the Internet.

full

the host is connected to a network and has full access to the Internet.

unknown

the connectivity status cannot be found out.

+
+
+
+

Radio Transmission Control Commands

+

nmcli radio { all | wifi | wwan } [ARGUMENTS...]

+

Show radio switches status, or enable and disable the switches.

+
++++ + + + + + + + + + + + + + + +

+ wifi + [ on | off ] +

Show or set status of Wi-Fi in NetworkManager. If no arguments are + supplied, Wi-Fi status is printed; on enables Wi-Fi; + off disables Wi-Fi.

+ wwan + [ on | off ] +

Show or set status of WWAN (mobile broadband) in NetworkManager. If no + arguments are supplied, mobile broadband status is printed; + on enables mobile broadband, off + disables it.

+ all + [ on | off ] +

Show or set all previously mentioned radio switches at the same time.

+
+
+

Activity Monitor

+

nmcli monitor

+

Observe NetworkManager activity. Watches for changes + in connectivity state, devices or connection profiles.

+

See also nmcli connection monitor + and nmcli device monitor to watch + for changes in certain devices or connections.

+
+
+

Connection Management Commands

+

nmcli connection { show | up | down | add | edit | modify | delete | monitor | reload | load } [ARGUMENTS...]

+

NetworkManager stores all network configuration as "connections", + which are collections of data (Layer2 details, IP addressing, etc.) that + describe how to create or connect to a network. A connection is "active" + when a device uses that connection's configuration to create or connect to + a network. There may be multiple connections that apply to a device, but only + one of them can be active on that device at any given time. The additional + connections can be used to allow quick switching between different networks + and configurations.

+

Consider a machine which is usually connected to a DHCP-enabled network, + but sometimes connected to a testing network which uses static IP addressing. + Instead of manually reconfiguring eth0 each time the network is changed, the + settings can be saved as two connections which both apply to eth0, one for DHCP + (called default) and one with the static addressing details (called + testing). When connected to the DHCP-enabled network the user would run + nmcli con up default , and when connected to the static network the user + would run nmcli con up testing.

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ show + [--active] + [ + --order + [+-]category:... + ] +

+

List in-memory and on-disk connection profiles, some of which may also be + active if a device is using that connection profile. Without a parameter, all + profiles are listed. When --active option is specified, only + the active profiles are shown.

+

The --order option can be used to get custom + ordering of connections. The connections can be ordered by active status + (active), name (name), type + (type) or D-Bus path (path). If + connections are equal according to a sort order category, an additional + category can be specified. The default sorting order is equivalent to + --order active:name:path. + or no + prefix means sorting in ascending order (alphabetically or in numbers), + - means reverse (descending) order. The category names + can be abbreviated (e.g. --order -a:na).

+

+ show + [--active] + [ id | uuid | path | apath ] + ID... +

+

Show details for specified connections. By default, both static + configuration and active connection data are displayed. When + --active option is specified, only the active profiles are + taken into account. Use global --show-secrets option to + display secrets associated with the profile.

+

id, uuid, + path and apath keywords can be used + if ID is ambiguous. Optional + ID-specifying keywords are:

+
++++ + + + + + + + + + + + + + + + + + + +

id

the ID denotes a connection name.

uuid

the ID denotes a connection UUID.

path

the ID denotes a D-Bus + static connection path in the format of + /org/freedesktop/NetworkManager/Settings/num + or just num.

apath

the ID denotes a D-Bus active connection path in the format of + /org/freedesktop/NetworkManager/ActiveConnection/num or just + num.

+

It is possible to filter the output using the global + --fields option. Use the following values:

+
++++ + + + + + + + + + + +

profile

only shows static profile configuration.

active

only shows active connection data (when the profile is active).

+

You can also specify particular fields. For static configuration, use + setting and property names as described in + nm-settings(5) manual page. For active data use GENERAL, IP4, DHCP4, IP6, + DHCP6, VPN.

+

When no command is given to the nmcli connection, + the default action is nmcli connection show.

+

+ up + [ id | uuid | path ] + ID... + [ifname ifname] + [ap BSSID] + [passwd-file file] +

+

Activate a connection. The connection is identified by its name, UUID or + D-Bus path. If ID is ambiguous, a keyword id, + uuid or path can be used. When + requiring a particular device to activate the connection on, the + ifname option with interface name should be given. If the + ID is not given an ifname is required, and + NetworkManager will activate the best available connection for the given + ifname. In case of a VPN connection, the + ifname option specifies the device of the base connection. + The ap option specify what particular AP should be used in + case of a Wi-Fi connection.

+

If --wait option is not specified, the default timeout will be 90 + seconds.

+

See connection show above for the description of the + ID-specifying keywords.

+

Available options are:

+
++++ + + + + + + + + + + + + + + +

ifname

interface that will be used for activation.

ap

BSSID of the AP which the command should connect to (for Wi-Fi connections).

passwd-file

+

some networks may require credentials during activation. You can give + these credentials using this option. Each line of the file should contain one + password in the form: + +

+
setting_name.property_name:the password
+

+ + For example, for WPA Wi-Fi with PSK, the line would be + +

+
802-11-wireless-security.psk:secret12345
+

+ + For 802.1X password, the line would be + +

+
802-1x.password:my 1X password
+

+ + nmcli also accepts wifi-sec and wifi strings instead of + 802-11-wireless-security. When NetworkManager requires a password and it is + not given, nmcli will ask for it when run with --ask. + If --ask was not passed, NetworkManager can ask another secret + agent that may be running (typically a GUI secret agent, such as nm-applet or + gnome-shell).

+
+

+ down + [ id | uuid | path | apath ] + ID... +

+

Deactivate a connection from a device without preventing the device from + further auto-activation. Multiple connections can be passed to the + command.

+

Be aware that this command deactivates the specified active connection, + but the device on which the connection was active, is still ready to connect + and will perform auto-activation by looking for a suitable connection that has + the 'autoconnect' flag set. This includes the just deactivated connection. So + if the connection is set to auto-connect, it will be automatically started on + the disconnected device again.

+

In most cases you may want to use device disconnect + command instead.

+

The connection is identified by its name, UUID or D-Bus path. If + ID is ambiguous, a keyword id, + uuid, path or + apath can be used.

+

See connection show above for the description of + the ID-specifying keywords.

+

If --wait option is not specified, the default timeout + will be 10 seconds.

+

+ add + ifname ifname + [con-name name] + [ + autoconnect + { yes | no } + ] + [ + save + { yes | no } + ] + [master master] + [slave-type type] + [type type] + [ARGUMENTS...] + [ip4 addr] + [gw4 addr] + [ip6 addr] + [gw6 addr] + [ + -- + + [+|-]setting.property + value + ... + ] +

+

Add a connection for NetworkManager. Arguments differ according to connection types, see below.

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

ifname

interface to bind the connection to. The connection will only be + applicable to this interface name. A special value of * + can be used for interface-independent connections. The + ifname argument is mandatory for all connection types + except bond, team, bridge and vlan. Note: use quotes around + * to suppress shell expansion.

con-name

connection name (when not provided a default name is generated: + <type>[-<ifname>][-<num>]).

autoconnect

whether the connection profile can be automatically activated (default: + yes).

save

whether the connection should be persistent, i.e. NetworkManager should + store it on disk (default: yes).

master

master interface name, or connection UUID or ID of master connection + profile. The value can be prefixed with ifname/, + uuid/ or id/ to disambiguate it.

slave-type

type of master connection. Only required when it can not be inferred + (i.e. the master connection does + not exist yet).

type

connection type; see below for allowed values. Note that types + bond-slave, team-slave and + bridge-slave create ethernet connection + profiles. Their use is discouraged in favor of using a specific type with + master option.

+ type ethernet + [mac addr] + [cloned-mac addr] + [mtu mtu] +

++++ + + + + + + + + + + + + + + +

mac

MAC address of the device this connection is locked to.

cloned-mac

cloned MAC.

mtu

MTU.

+ type wifi + ssid SSID + [mac addr] + [cloned-mac addr] + [ + mode + { infrastructure | ap | adhoc } + ] + [mtu mtu] +

++++ + + + + + + + + + + + + + + + + + + + + + + +

ssid

SSID.

mac

MAC address of the device this connection is locked to.

cloned-mac

cloned MAC.

mode

Wi-Fi network mode. If blank, infrastructure + is assumed.

mtu

MTU.

+ type wimax + [mac addr] + [nsp nsp] +

++++ + + + + + + + + + + +

mac

MAC address of the device this connection is locked to.

nsp

Network Service Provider name.

+ type pppoe + username user + [password passwd] + [service name] + [mtu mtu] + [mac addr] +

++++ + + + + + + + + + + + + + + + + + + + + + + +

username

PPPoE username.

password

Password for the PPPoE username.

service

PPPoE service name (if required by concentrator).

mtu

MTU.

mac

MAC address of the device this connection is locked to.

+ type gsm + [apn APN] + [username user] + [password passwd] +

++++ + + + + + + + + + + + + + + +

apn

APN - GSM Access Point Name.

user

user name.

password

password.

+ type cdma + [username user] + [password passwd] +

++++ + + + + + + + + + + +

user

user name.

password

password.

+ type infiniband + [mac addr] + [mtu mtu] + [ + transport-mode + { datagram | connected } + ] + [parent device] + [p-key key] +

++++ + + + + + + + + + + + + + + + + + + + + + + +

mac

MAC address of the device this connection is locked to + (InfiniBand MAC is 20 bytes).

mtu

MTU.

transport-mode

InfiniBand transport mode.

parent

the interface name of the parent device (if any).

p-key

the InfiniBand P_Key (16-bit unsigned integer).

+ type bluetooth + [addr addr] + [ + bt-type + { panu | dun-gsm | dun-cdma } + ] +

++++ + + + + + + + + + + +

addr

Bluetooth device address (MAC).

bt-type

Bluetooth connection type.

+ type vlan + dev device + id id + [flags flags] + [ingress mapping] + [egress mapping] + [mtu mtu] +

++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

dev

parent device this VLAN is on.

id

VLAN ID in range 0-4095.

flags

flags.

ingress

VLAN ingress priority mapping.

egress

VLAN egress priority mapping.

mtu

MTU.

+ type bond + [ + mode + { active-backup | balance-xor | broadcast | 802.3ad | balance-tlb | balance-alb | num } + ] + [primary ifname] + [miimon num] + [downdelay num] + [updelay num] + [arp-interval num] + [arp-ip-target num] +

++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

mode

bonding mode (default: balance-rr).

primary

primary interface name (for active-backup mode).

miimon

miimon (default: 100).

downdelay

downdelay (default: 0).

updelay

updelay (default: 0).

arp-interval

ARP interval (default: 0).

arp-ip-target

ARP IP target.

+ type bond-slave + [master master] +

++++ + + + + +

master

master bond interface name, or connection UUID or + ID of bond master connection profile. The value can be + prefixed with ifname/, + uuid/ or id/ to + disambiguate it.

+ type team + [ + config + { file | JSON } + ] +

++++ + + + + +

config

JSON configuration for team.

+ type team-slave + [ + config + JSON + ] +

++++ + + + + + + + + + + +

master

master team interface name, or connection UUID or + ID of team master connection profile. The value can be + prefixed with ifname/, + uuid/ or id/to + disambiguate it.

config

JSON configuration for team.

+ type bridge + [ + stp + { yes | no } + ] + [priority num] + [forward-delay 2-30] + [hello-time 1-10] + [max-age 6-42] + [ageing-time 0-1000000] + [ + multicast-snooping + { yes | no } + ] + [mac addr] +

++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

stp

controls whether Spanning Tree Protocol (STP) is enabled for this bridge + (default: yes).

priority

sets STP priority (default: 128).

forward-delay

STP forwarding delay, in seconds (default: 15).

hello-time

STP hello time, in seconds (default: 2).

max-age

STP maximum message age, in seconds (default: 20).

ageing-time

the Ethernet MAC address aging time, in seconds (default: 300).

multicast-snooping

controls whether IGMP snooping is enabled (default: yes).

mac

MAC address of the bridge (note: this requires a recent kernel feature, + originally introduced in 3.15 upstream kernel).

+ type bridge-slave + [master master] + [priority num] + [path-cost 1-65535] + [ + hairpin + { yes | no } + ] +

++++ + + + + + + + + + + + + + + + + + + +

master

master bridge interface name, or connection UUID + or ID of bridge master connection profile. The value + can be prefixed with ifname/, + uuid/ or id/ + to disambiguate it.

priority

STP priority of this slave (default: 32).

path-cost

STP port cost for destinations via this slave (default: 100).

hairpin

'hairpin mode' for the slave, which allows frames to be sent back out + through the slave the frame was received on (default: yes).

+ type vpn + [type type] + [user username] +

++++ + + + + + + + + + + +

vpn-type

VPN type.

user

VPN username.

+ type olpc-mesh + ssid SSID + [channel 1-13] + [dhcp-anycast MAC] +

++++ + + + + + + + + + + + + + + +

ssid

SSID.

channel

channel to use for the network.

dhcp-anycast

anycast DHCP MAC address used when requesting an IP address via DHCP.

+ type adsl + username username + + protocol + { pppoa | pppoe | ipoatm } + + [password passwd] + [ + encapsulation + { vcmux | llc } + ] +

++++ + + + + + + + + + + + + + + + + + + +

username

ADSL user name.

protocol

ADSL protocol.

password

ADSL password.

encapsulation

ADSL encapsulation.

+ type tun + + mode + { tun | tap } + + [owner UID] + [group GID] + [ + pi + { yes | no } + ] + [ + vnet-hdr + { yes | no } + ] + [ + multi-queue + { yes | no } + ] +

++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

mode

Mode for the device.

owner

UID of the owner.

group

GID of the group.

pi

include packet information (~IFF_NO_PI flag).

vnet-hdr

send and receive large (i.e. GSO) packets and packets with partial + checksums (IFF_VNET_HDR flag).

multi-queue

multi-queue support for tun/tap device (IFF_MULTI_QUEUE flag).

+ type ip-tunnel + + mode + { ipip | gre | sit | isatap | vti | ip6ip6 | ipip6 | ip6gre | vti6 | tun } + + remote addr + [local addr] + [dev device] +

++++ + + + + + + + + + + + + + + + + + + +

mode

tunnel mode.

remote

IPv4 or IPv6 address of the remote tunnel endpoint.

local

IPv4 or IPv6 address of the local tunnel endpoint.

dev

device to use for tunnel endpoint communication.

+ type macvlan + dev device + + mode + { vepa | bridge | private | passthru | source } + + [ + tap + { yes | no } + ] +

++++ + + + + + + + + + + + + + + +

dev

parent device this MACVLAN is on.

mode

MACVLAN mode, which specifies the communication mechanism between + multiple MACVLANs on the same lower device.

tap

controls the device type. If set to 'yes' a MACVTAP will be created + (default: no).

+ type vxlan + id id + remote addr + [dev parent device (ifname or connection UUID)] + [local addr] + [source-port-min 0-65535] + [source-port-max 0-65535] + [destination-port 0-65535] +

++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

id

VXLAN Network Identifer to use.

remote

unicast destination IP address or multicast IP address to join.

dev

device to use for tunnel endpoint communication.

local

source IP address.

source-port-min

minimum UDP source port to communicate to the remote VXLAN tunnel endpoint.

source-port-max

maximum UDP source port to communicate to the remote VXLAN tunnel endpoint.

destination-port

UDP destination port to communicate to the remote VXLAN tunnel endpoint.

ip4, gw4

IPv4 addresses.

ip6, gw6

IPv6 addresses.

--

If a -- argument is encountered, the rest of command + line is interpreted as property list in the same format as connection + modify command accepts. This makes it possible to adjust the + connection properties before it's added.

+

+ edit + { + [ id | uuid | path ] + ID... + | + [type type] + [con-name name] + } +

+

Edit an existing connection or add a new one, using an interactive editor.

+

The existing connection is identified by its name, UUID or D-Bus path. If + ID is ambiguous, a keyword id, + uuid, or path can be used. See + connection show above for the description of the + ID-specifying keywords. Not providing an + ID means that a new connection will be added.

+

The interactive editor will guide you through the connection editing and + allow you to change connection parameters according to your needs by means of + a simple menu-driven interface. The editor indicates what settings and + properties can be modified and provides in-line help.

+

Available options:

+
++++ + + + + + + + + + + +

type

type of the new connection; valid types are the same as for + connection add command.

con-name

name for the new connection. It can be changed later in the editor.

+

See also + nm-settings(5) for all NetworkManager settings and property names, and their + descriptions; and + nmcli-examples(7) + for sample editor sessions.

+

+ modify + [--temporary] + [ id | uuid | path ] + ID + + [+|-]setting.property + value + ... +

+

Modify one or more properties in the connection profile.

+

The connection is identified by its name, UUID or D-Bus path. If + ID is ambiguous, a keyword id, + uuid or path can be used. See + nm-settings(5) for setting and property names, their descriptions and default + values. This command supports abbreviations for setting + and property provided they are unique. Empty + value ("") removes the property value (sets + the property to the default value). The provided value overwrites the existing + property value.

+

If you want to append an item to the existing value, use + + prefix for the property name. If you want to remove just + one item from container-type property, use - prefix for + the property name and specify a value or an zero-based index of the item to + remove (or option name for properties with named options) as + value. Of course, + and + - only have a real effect for multi-value (container) + properties like ipv4.dns, ipv4.addresses, + bond.options, etc.

+

+ clone + [--temporary] + [ id | uuid | path ] + ID... + new name +

+

Clone a connection. The connection to be cloned is identified by its + name, UUID or D-Bus path. If ID is ambiguous, a keyword + id, uuid or path + can be used. See connection show above for the description + of the ID-specifying keywords. name is + the name of the new cloned connection. The new connection will be the exact + copy except the connection.id (name) and + connection.uuid (generated) properties.

+

The new connection profile will be saved as persistent unless + --temporary option is specified, in which case the new profile + won't exist after NetworkManager restart.

+

+ delete + [ id | uuid | path ] + ID... +

+

Delete a configured connection. The connection to be deleted is + identified by its name, UUID or D-Bus path. If ID is ambiguous, a + keyword id, uuid or path can be used. + See connection show above for the description of + the ID-specifying keywords.

+

If --wait option is not specified, the default timeout will be 10 + seconds.

+

+ monitor + [ id | uuid | path ] + ID... +

+

Monitor connection profile activity. This command prints a line whenever + the specified connection changes. The connection to be monitored is identified + by its name, UUID or D-Bus path. If ID is ambiguous, a keyword + id, uuid or path + can be used. See connection show above for the description of the + ID-specifying keywords.

+

Monitors all connection profiles in case none is specified. The command + terminates when all monitored connections disappear. If you want to monitor + connection creation consider using the global monitor with nmcli + monitor command.

+

+ reload +

Reload all connection files from disk. + NetworkManager does not monitor changes to connection + files by default. So you need to use this command in order to tell + NetworkManager to re-read the connection profiles from + disk when a change was made to them. However, the auto-loading feature can be + enabled and then NetworkManager will reload connection + files any time they change (monitor-connection-files=true in + NetworkManager.conf(5)). +

+ load + filename... +

Load/reload one or more connection files from disk. Use this after + manually editing a connection file to ensure that + NetworkManager is aware of its latest state.

+ import + [--temporary] + [type type] + [file file] +

+

Import an external/foreign configuration as a NetworkManager connection + profile. The type of the input file is specified by type + option.

+

Only VPN configurations are supported at the moment. The configuration is + imported by NetworkManager VPN plugins. type values are + the same as for vpn-type option in nmcli + connection add. VPN configurations are imported by VPN plugins. + Therefore the proper VPN plugin has to be installed so that nmcli could import + the data.

+

The imported connection profile will be saved as persistent unless + --temporary option is specified, in which case the new profile + won't exist after NetworkManager restart.

+

+ export + [ id | uuid | path ] + ID + [file] +

+

Export a connection.

+

Only VPN connections are supported at the moment. A proper VPN plugin has + to be installed so that nmcli could export a connection. If no + file is provided, the VPN configuration + data will be printed to standard output.

+
+
+
+

Device Management Commands

+

nmcli device { status | show | set | connect | reapply | disconnect | delete | monitor | wifi | lldp } [ARGUMENTS...]

+

Show and manage network interfaces.

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

status

+

Print status of devices.

+

This is the default action if no command is specified to + nmcli device.

+

+ show + [ifname] +

Show detailed information about devices. Without an argument, all + devices are examined. To get information for a specific device, the interface + name has to be provided.

+ set + [ifname] + ifname + [ + autoconnect + { yes | no } + ] + [ + managed + { yes | no } + ] +

Set device properties.

+ connect + [ifname] +

+

Connect the device. NetworkManager will try to find a suitable connection + that will be activated. It will also consider connections that are not set to + auto connect.

+

If --wait option is not specified, the default timeout will be 90 + seconds.

+

+ reapply + [ifname] +

Attempt to update device with changes to the currently active connection + made since it was last applied.

+ disconnect + [ifname...] +

+

Disconnect a device and prevent the device from automatically activating + further connections without user/manual intervention. Note that disconnecting + software devices may mean that the devices will disappear.

+

If --wait option is not specified, the default timeout + will be 10 seconds.

+

+ delete + [ifname...] +

+

Delete a device. The command removes the interface from the system. Note + that this only works for software devices like bonds, bridges, teams, etc. + Hardware devices (like Ethernet) cannot be deleted by the command.

+

If --wait option is not specified, the default timeout will be 10 + seconds.

+

+ monitor + [ifname...] +

+

Monitor device activity. This command prints a line whenever the + specified devices change state.

+

Monitors all devices in case no interface is specified. The monitor + terminates when all specified devices disappear. If you want to monitor device + addition consider using the global monitor with nmcli + monitor command.

+

+ wifi + [ + list + [ifname ifname] + [bssid BSSID] + ] +

List available Wi-Fi access points. The ifname and + bssid options can be used to list APs for a particular + interface or with a specific BSSID, respectively.

+ wifi + connect + (B)SSID + [password password] + [ + wep-key-type + { key | phrase } + ] + [ifname ifname] + [bssid BSSID] + [name name] + [ + private + { yes | no } + ] + [ + hidden + { yes | no } + ] +

+

Connect to a Wi-Fi network specified by SSID or BSSID. The command + creates a new connection and then activates it on a device. This is a + command-line counterpart of clicking an SSID in a GUI client. The command + always creates a new connection and thus it is mainly useful for connecting to + new Wi-Fi networks. If a connection for the network already exists, it is + better to bring up (activate) the existing connection as follows: + nmcli con up id name. Note that + only open, WEP and WPA-PSK networks are supported at the moment. It is also + supposed that IP configuration is obtained via DHCP.

+

If --wait option is not specified, the default timeout will be 90 + seconds.

+

Available options are:

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

password

password for secured networks (WEP or WPA).

wep-key-type

type of WEP secret, either key for ASCII/HEX key or + phrase for passphrase.

ifname

interface that will be used for activation.

bssid

if specified, the created connection will be restricted just for the + BSSID.

name

if specified, the connection will use the name (else NM creates a name + itself).

private

if set to yes, the connection will only be visible + to the user who created it. Otherwise the connection is system-wide, which is + the default.

hidden

set to yes when connecting for the first time to an + AP not broadcasting its SSID. Otherwise the SSID would not be found and the + connection attempt would fail.

+

+ wifi + hotspot + [ifname ifname] + [con-name name] + [ssid SSID] + [ + band + { a | bg } + ] + [channel channel] + [password password] +

+

Create a Wi-Fi hotspot. The command creates a hotspot connection profile + according to Wi-Fi device capabilities and activates it on the device. The + hotspot is secured with WPA if device/driver supports that, otherwise WEP is + used. Use connection down or device + disconnect to stop the hotspot.

+

Parameters of the hotspot can be influenced by the optional + parameters:

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + +

ifname

what Wi-Fi device is used.

con-name

name of the created hotspot connection profile.

ssid

SSID of the hotspot.

band

Wi-Fi band to use.

channel

Wi-Fi channel to use.

password

+

password to use for the created hotspot. If not provided, nmcli will + generate a password. The password is either WPA pre-shared key or WEP + key.

+

Note that --show-secrets global option can be used to + print the hotspot password. It is useful especially when the password was + generated.

+
+

+ wifi + rescan + [ifname ifname] + [ssid SSID...] +

+

Request that NetworkManager immediately re-scan for + available access points. NetworkManager scans Wi-Fi networks periodically, but + in some cases it can be useful to start scanning manually (e.g. after resuming + the computer). By using ssid, it is possible to scan for a + specific SSID, which is useful for APs with hidden SSIDs. You can provide + multiple ssid parameters in order to scan more + SSIDs.

+

This command does not show the APs, use nmcli device wifi list + for that.

+

+ lldp + [ + list + [ifname ifname] + ] +

Display information about neighboring devices learned through the Link + Layer Discovery Protocol (LLDP). The ifname option can be + used to list neighbors only for a given interface. The protocol must be enabled + in the connection settings.

+
+
+

Secret Agent

+

nmcli agent { secret | polkit | all }

+

Run nmcli as a NetworkManager secret agent, or polkit agent.

+
++++ + + + + + + + + + + + + + + +

secret

Register nmcli as a NetworkManager secret agent and listen for secret + requests. You do usually not need this command, because nmcli can handle + secrets when connecting to networks. However, you may find the command useful + when you use another tool for activating connections and you do not have a + secret agent available (like nm-applet).

+ polkit +

Register nmcli as a polkit agent for the user session and listen for + authorization requests. You do not usually need this command, because nmcli can + handle polkit actions related to NetworkManager operations (when run with + --ask). However, you may find the command useful when you want + to run a simple text based polkit agent and you do not have an agent of a desktop + environment. Note that running this command makes nmcli handle all polkit requests, + not only NetworkManager related ones, because only one polkit agent can run for the + session.

+ all +

Runs nmcli as both NetworkManager secret and a polkit agent.

+
+
+

Environment Variables

+

nmcli's behavior is affected by the following + environment variables.

+
++++ + + + + + + + + + + + + + + +

LC_ALL

If set to a non-empty string value, it overrides the values of all the + other internationalization variables.

LC_MESSAGES

Determines the locale to be used for internationalized messages.

LANG

Provides a default value for the internationalization variables that are + unset or null.

+
+
+

Internationalization notes

+

Be aware that nmcli is localized and that is why the + output depends on your environment. This is important to realize especially + when you parse the output.

+

Call nmcli as LC_ALL=C nmcli to + be sure the locale is set to C while executing in a script.

+

LC_ALL, LC_MESSAGES, LANG + variables specify the LC_MESSAGES locale category (in that + order), which determines the language that nmcli uses for + messages. The C locale is used if none of these variables are set, and this + locale uses English messages.

+
+
+

Exit Status

+

nmcli exits with status 0 if it succeeds, a value + greater than 0 is returned if an error occurs.

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

0

Success – indicates the operation succeeded.

1

Unknown or unspecified error.

2

Invalid user input, wrong nmcli + invocation.

3

Timeout expired (see --wait option).

4

Connection activation failed.

5

Connection deactivation failed.

6

Disconnecting device failed.

7

Connection deletion failed.

8

NetworkManager is not running.

9

nmcli and NetworkManager + versions mismatch.

10

Connection, device, or access point does not exist.

+
+
+

Examples

+

This section presents various examples of nmcli usage. If you want even + more, please refer to + nmcli-examples(7) + manual page.

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

nmcli -t -f RUNNING general

tells you whether NetworkManager is running or not.

nmcli -t -f STATE general

shows the overall status of NetworkManager.

nmcli radio wifi off

switches Wi-Fi off.

nmcli connection show

lists all connections NetworkManager has.

nmcli -p -m multiline -f all con show

shows all configured connections in multi-line mode.

nmcli connection show --active

lists all currently active connections.

nmcli -f name,autoconnect c s

shows all connection profile names and their auto-connect property.

nmcli -p connection show "My default em1"

shows details for "My default em1" connection profile.

nmcli --show-secrets connection show "My Home WiFi"

shows details for "My Home WiFi" connection profile with all passwords. + Without --show-secrets option, secrets would not be + displayed.

nmcli -f active connection show "My default em1"

shows details for "My default em1" active connection, like IP, DHCP + information, etc.

nmcli -f profile con s "My wired connection"

shows static configuration details of the connection profile with "My + wired connection" name.

nmcli -p con up "My wired connection" ifname eth0

activates the connection profile with name "My wired connection" on + interface eth0. The -p option makes nmcli show progress of the + activation.

nmcli con up 6b028a27-6dc9-4411-9886-e9ad1dd43761 ap 00:3A:98:7C:42:D3

connects the Wi-Fi connection with UUID + 6b028a27-6dc9-4411-9886-e9ad1dd43761 to the AP with BSSID + 00:3A:98:7C:42:D3.

nmcli device status

shows the status for all devices.

nmcli dev disconnect em2

disconnects a connection on interface em2 and marks the device as + unavailable for auto-connecting. As a result, no connection will automatically + be activated on the device until the device's 'autoconnect' is set to TRUE or + the user manually activates a connection.

nmcli -f GENERAL,WIFI-PROPERTIES dev show wlan0

shows details for wlan0 interface; only GENERAL and WIFI-PROPERTIES + sections will be shown.

nmcli -f CONNECTIONS device show wlp3s0

shows all available connection profiles for your Wi-Fi interface + wlp3s0.

nmcli dev wifi

lists available Wi-Fi access points known to NetworkManager.

nmcli dev wifi con "Cafe Hotspot 1" password caffeine name "My cafe"

creates a new connection named "My cafe" and then connects it to "Cafe + Hotspot 1" SSID using password "caffeine". This is mainly useful when + connecting to "Cafe Hotspot 1" for the first time. Next time, it is better to + use nmcli con up id "My cafe" so that the + existing connection profile can be used and no additional is created.

nmcli -s dev wifi hotspot con-name QuickHotspot

creates a hotspot profile and connects it. Prints the hotspot password + the user should use to connect to the hotspot from other devices.

nmcli connection add type ethernet autoconnect no ifname eth0

non-interactively adds an Ethernet connection tied to eth0 interface with + automatic IP configuration (DHCP), and disables the connection's autoconnect + flag.

nmcli c a ifname Maxipes-fik type vlan dev eth0 id 55

non-interactively adds a VLAN connection with ID 55. The connection will + use eth0 and the VLAN interface will be named Maxipes-fik.

nmcli c a ifname eth0 type ethernet -- ipv4.method disabled ipv6.method link-local

non-interactively adds a connection that will use eth0 Ethernet interface + and only have an IPv6 link-local address configured.

nmcli connection edit ethernet-em1-2

edits existing "ethernet-em1-2" connection in the interactive + editor.

nmcli connection edit type ethernet con-name "yet another Ethernet connection"

adds a new Ethernet connection in the interactive editor.

nmcli con mod ethernet-2 connection.autoconnect no

modifies 'autoconnect' property in the 'connection' setting of + 'ethernet-2' connection.

nmcli con mod "Home Wi-Fi" wifi.mtu 1350

modifies 'mtu' property in the 'wifi' setting of 'Home Wi-Fi' + connection.

nmcli con mod em1-1 ipv4.method manual ipv4.addr "192.168.1.23/24 192.168.1.1, 10.10.1.5/8, 10.0.0.11"

sets manual addressing and the addresses in em1-1 profile.

nmcli con modify ABC +ipv4.dns 8.8.8.8

appends a Google public DNS server to DNS servers in ABC profile.

nmcli con modify ABC -ipv4.addresses "192.168.100.25/24 192.168.1.1"

removes the specified IP address from (static) profile ABC.

nmcli con import type openvpn file ~/Downloads/frootvpn.ovpn

imports an OpenVPN configuration to NetworkManager.

nmcli con export corp-vpnc /home/joe/corpvpn.conf

exports NetworkManager VPN profile corp-vpnc as standard Cisco (vpnc) + configuration.

+
+
+

Notes

+

nmcli accepts abbreviations, as long as they are a unique prefix in the set + of possible options. As new options get added, these abbreviations are not guaranteed + to stay unique. For scripting and long term compatibility it is therefore strongly + advised to spell out the full option names.

+
+
+

Bugs

+

There are probably some bugs. If you find a bug, please report it to + https://bugzilla.gnome.org/ — product NetworkManager.

+
+
+

See Also

+

nmcli-examples(7), + nm-online(1), + NetworkManager(8), + NetworkManager.conf(5), + nm-settings(5), + nm-applet(1), + nm-connection-editor(1).

+
+
+ + + \ No newline at end of file diff --git a/docs/api/html/nmtui.html b/docs/api/html/nmtui.html new file mode 100644 index 00000000..ca11c834 --- /dev/null +++ b/docs/api/html/nmtui.html @@ -0,0 +1,88 @@ + + + + +nmtui: NetworkManager D-Bus API Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nmtui

+

nmtui — Text User Interface for controlling NetworkManager

+
+
+

Synopsis

+

nmtui-edit | nmtui edit + { name | id } +

+

nmtui-connect | nmtui connect + { name | uuid | device | SSID } +

+

nmtui-hostname | nmtui hostname

+
+
+

Description

+

nmtui is a curses‐based TUI application for + interacting with NetworkManager. When starting nmtui, the + user is prompted to choose the activity to perform unless it was specified as + the first argument.

+

The supported activities are:

+
++++ + + + + + + + + + + + + + + +

edit

Show a connection editor that supports adding, modifying, viewing and + deleting connections. It provides similar functionality as + nm-connection-editor.

connect

Show a list of available connections, with the option to activate or + deactivate them. It provides similar functionality as + nm-applet.

hostname

Set the system hostname.

+

Corresponding to above activities, nmtui also comes + with binaries named nmtui-edit, + nmtui-connect, and nmtui-hostname to skip + the selection of the activities.

+
+
+

See Also

+

nmcli(1), + nm-applet(1), + nm-connection-editor(1), + NetworkManager(8).

+
+
+ + + \ No newline at end of file diff --git a/docs/api/network-manager-docs.xml b/docs/api/network-manager-docs.xml index 48f59265..3cf2c9ed 100644 --- a/docs/api/network-manager-docs.xml +++ b/docs/api/network-manager-docs.xml @@ -49,39 +49,39 @@ Interfaces - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -144,12 +144,15 @@ UNIX Manual Pages - - - - - - + + + + + + + + + diff --git a/docs/api/version.xml b/docs/api/version.xml index 99f6a00b..9a03ea63 100644 --- a/docs/api/version.xml +++ b/docs/api/version.xml @@ -1 +1 @@ -1.1.92 +1.1.93 diff --git a/docs/libnm-glib/Makefile.am b/docs/libnm-glib/Makefile.am index c38e6e34..b975f1b2 100644 --- a/docs/libnm-glib/Makefile.am +++ b/docs/libnm-glib/Makefile.am @@ -60,6 +60,7 @@ GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm-glib \ -I$(top_builddir)/libnm-glib \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) diff --git a/docs/libnm-glib/Makefile.in b/docs/libnm-glib/Makefile.in index 3f1a7c24..89ce2b2c 100644 --- a/docs/libnm-glib/Makefile.in +++ b/docs/libnm-glib/Makefile.in @@ -462,6 +462,7 @@ GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm-glib \ -I$(top_builddir)/libnm-glib \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) diff --git a/docs/libnm-glib/html/index.html b/docs/libnm-glib/html/index.html index 980a66c1..5cc5b13c 100644 --- a/docs/libnm-glib/html/index.html +++ b/docs/libnm-glib/html/index.html @@ -15,7 +15,7 @@

- for libnm-glib 1.1.92 + for libnm-glib 1.1.93 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm-glib/0.9/. diff --git a/docs/libnm-glib/version.xml b/docs/libnm-glib/version.xml index 99f6a00b..9a03ea63 100644 --- a/docs/libnm-glib/version.xml +++ b/docs/libnm-glib/version.xml @@ -1 +1 @@ -1.1.92 +1.1.93 diff --git a/docs/libnm-util/Makefile.am b/docs/libnm-util/Makefile.am index 17022310..b1386e60 100644 --- a/docs/libnm-util/Makefile.am +++ b/docs/libnm-util/Makefile.am @@ -55,6 +55,7 @@ extra_files = GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm-util \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) diff --git a/docs/libnm-util/Makefile.in b/docs/libnm-util/Makefile.in index ec84cbd3..a4d85d86 100644 --- a/docs/libnm-util/Makefile.in +++ b/docs/libnm-util/Makefile.in @@ -458,6 +458,7 @@ extra_files = GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm-util \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) diff --git a/docs/libnm-util/html/index.html b/docs/libnm-util/html/index.html index e0772888..b8dfdf90 100644 --- a/docs/libnm-util/html/index.html +++ b/docs/libnm-util/html/index.html @@ -15,7 +15,7 @@

- for libnm-util 1.1.92 + for libnm-util 1.1.93 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm-util/0.9/. diff --git a/docs/libnm-util/html/libnm-util-NetworkManager.html b/docs/libnm-util/html/libnm-util-NetworkManager.html index 57851572..b525e187 100644 --- a/docs/libnm-util/html/libnm-util-NetworkManager.html +++ b/docs/libnm-util/html/libnm-util-NetworkManager.html @@ -510,9 +510,8 @@

enum NMState

NMState values indicate the current overall networking state.

-

(Corresponds to the NM_STATE type in nm-manager.xml.)

-

Members

+

Members

@@ -589,9 +588,8 @@

enum NMConnectivityState

-

(Corresponds to the NM_CONNECTIVITY type in nm-manager.xml.)

-

Members

+

Members

@@ -647,9 +645,8 @@

enum NMDeviceType

NMDeviceType values indicate the type of hardware represented by an NMDevice.

-

(Corresponds to the NM_DEVICE_TYPE type in nm-device.xml.)

-

Members

+

Members

@@ -813,9 +810,8 @@ GSM/UMTS, or LTE network access protocols

enum NMDeviceCapabilities

General device capability flags.

-

(Corresponds to the NM_DEVICE_CAP type in nm-device-wifi.xml.)

-

Members

+

Members

@@ -859,9 +855,8 @@ GSM/UMTS, or LTE network access protocols

enum NMDeviceWifiCapabilities

802.11 specific device encryption and authentication capabilities.

-

(Corresponds to the NM_802_11_DEVICE_CAP type in nm-device-wifi.xml.)

-

Members

+

Members

@@ -961,9 +956,8 @@ GSM/UMTS, or LTE network access protocols

enum NM80211ApFlags

802.11 access point flags.

-

(Corresponds to the NM_802_11_AP_FLAGS type in nm-access-point.xml.)

-

Members

+

Members

@@ -996,9 +990,8 @@ encryption (usually means WEP)

802.11 access point security and authentication flags. These flags describe the current security requirements of an access point as determined from the access point's beacon.

-

(Corresponds to the NM_802_11_AP_SEC type in nm-access-point.xml.)

-

Members

+

Members

@@ -1098,9 +1091,8 @@ is supported

enum NM80211Mode

Indicates the 802.11 mode an access point or device is currently in.

-

(Corresponds to the NM_802_11_MODE type in generic-types.xml.)

-

Members

+

Members

@@ -1151,9 +1143,8 @@ is supported

enum NMBluetoothCapabilities

NMBluetoothCapabilities values indicate the usable capabilities of a Bluetooth device.

-

(Corresponds to the NM_BT_CAPABILITY type in nm-device-bt.xml.)

-

Members

+

Members

@@ -1193,9 +1184,8 @@ Bluetooth device.

technology families a modem device supports. For more information on the specific access technologies the device supports use the ModemManager D-Bus API.

-

(Corresponds to the NM_DEVICE_MODEM_CAPABILITY type in nm-device-modem.xml.)

-

Members

+

Members

@@ -1248,9 +1238,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability


enum NMDeviceState

-

(Corresponds to the NM_DEVICE_STATE type in nm-device.xml.)

-

Members

+

Members

@@ -1379,9 +1368,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

enum NMDeviceStateReason

Device state change reason codes

-

(Corresponds to the NM_DEVICE_STATE_REASON type in nm-device.xml.)

-

Members

+

Members

@@ -1845,9 +1833,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

NMActiveConnectionState values indicate the state of a connection to a specific network while it is starting, connected, or disconnecting from that network.

-

(Corresponds to the NM_ACTIVE_CONNECTION_STATE type in nm-active-connection.xml.)

-

Members

+

Members

diff --git a/docs/libnm-util/html/libnm-util-NetworkManagerVPN.html b/docs/libnm-util/html/libnm-util-NetworkManagerVPN.html index cee007fc..6860917d 100644 --- a/docs/libnm-util/html/libnm-util-NetworkManagerVPN.html +++ b/docs/libnm-util/html/libnm-util-NetworkManagerVPN.html @@ -452,9 +452,8 @@

enum NMVPNServiceState

VPN daemon states

-

(Corresponds to the NM_VPN_SERVICE_STATE type in nm-vpn-connection.xml.)

-

Members

+

Members

@@ -519,9 +518,8 @@

enum NMVPNConnectionState

VPN connection states

-

(Corresponds to the NM_VPN_CONNECTION_STATE type in nm-vpn-connection.xml.)

-

Members

+

Members

@@ -597,9 +595,8 @@

enum NMVPNConnectionStateReason

VPN connection state reasons

-

(Corresponds to the NM_VPN_CONNECTION_STATE_REASON type in nm-vpn-connection.xml.)

-

Members

+

Members

@@ -711,9 +708,8 @@

enum NMVPNPluginFailure

VPN plugin failure reasons

-

(Corresponds to the NM_VPN_PLUGIN_FAILURE type in nm-vpn-plugin.xml.)

-

Members

+

Members

diff --git a/docs/libnm-util/version.xml b/docs/libnm-util/version.xml index 99f6a00b..9a03ea63 100644 --- a/docs/libnm-util/version.xml +++ b/docs/libnm-util/version.xml @@ -1 +1 @@ -1.1.92 +1.1.93 diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am index 8efea77c..13175232 100644 --- a/docs/libnm/Makefile.am +++ b/docs/libnm/Makefile.am @@ -77,6 +77,7 @@ GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm \ -I$(top_builddir)/libnm \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) GTKDOC_LIBS = \ diff --git a/docs/libnm/Makefile.in b/docs/libnm/Makefile.in index 2eed23bb..8006dc17 100644 --- a/docs/libnm/Makefile.in +++ b/docs/libnm/Makefile.in @@ -480,6 +480,7 @@ GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm \ -I$(top_builddir)/libnm \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) GTKDOC_LIBS = \ diff --git a/docs/libnm/html/NMSettingBond.html b/docs/libnm/html/NMSettingBond.html index edf00c34..94a98924 100644 --- a/docs/libnm/html/NMSettingBond.html +++ b/docs/libnm/html/NMSettingBond.html @@ -205,6 +205,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define NM_SETTING_BOND_OPTION_LACP_RATE
#defineNM_SETTING_BOND_OPTION_ACTIVE_SLAVE
#defineNM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO
#defineNM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM
#defineNM_SETTING_BOND_OPTION_AD_USER_PORT_KEY
#defineNM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE
#defineNM_SETTING_BOND_OPTION_ARP_ALL_TARGETS
#defineNM_SETTING_BOND_OPTION_MIN_LINKS
#defineNM_SETTING_BOND_OPTION_NUM_GRAT_ARP
#defineNM_SETTING_BOND_OPTION_NUM_UNSOL_NA
#defineNM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE
#defineNM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB
#defineNM_SETTING_BOND_OPTION_LP_INTERVAL
@@ -557,91 +605,163 @@ the

NM_SETTING_BOND_OPTION_MODE

-
#define NM_SETTING_BOND_OPTION_MODE             "mode"
+
#define NM_SETTING_BOND_OPTION_MODE              "mode"
 

NM_SETTING_BOND_OPTION_MIIMON

-
#define NM_SETTING_BOND_OPTION_MIIMON           "miimon"
+
#define NM_SETTING_BOND_OPTION_MIIMON            "miimon"
 

NM_SETTING_BOND_OPTION_DOWNDELAY

-
#define NM_SETTING_BOND_OPTION_DOWNDELAY        "downdelay"
+
#define NM_SETTING_BOND_OPTION_DOWNDELAY         "downdelay"
 

NM_SETTING_BOND_OPTION_UPDELAY

-
#define NM_SETTING_BOND_OPTION_UPDELAY          "updelay"
+
#define NM_SETTING_BOND_OPTION_UPDELAY           "updelay"
 

NM_SETTING_BOND_OPTION_ARP_INTERVAL

-
#define NM_SETTING_BOND_OPTION_ARP_INTERVAL     "arp_interval"
+
#define NM_SETTING_BOND_OPTION_ARP_INTERVAL      "arp_interval"
 

NM_SETTING_BOND_OPTION_ARP_IP_TARGET

-
#define NM_SETTING_BOND_OPTION_ARP_IP_TARGET    "arp_ip_target"
+
#define NM_SETTING_BOND_OPTION_ARP_IP_TARGET     "arp_ip_target"
 

NM_SETTING_BOND_OPTION_ARP_VALIDATE

-
#define NM_SETTING_BOND_OPTION_ARP_VALIDATE     "arp_validate"
+
#define NM_SETTING_BOND_OPTION_ARP_VALIDATE      "arp_validate"
 

NM_SETTING_BOND_OPTION_PRIMARY

-
#define NM_SETTING_BOND_OPTION_PRIMARY          "primary"
+
#define NM_SETTING_BOND_OPTION_PRIMARY           "primary"
 

NM_SETTING_BOND_OPTION_PRIMARY_RESELECT

-
#define NM_SETTING_BOND_OPTION_PRIMARY_RESELECT "primary_reselect"
+
#define NM_SETTING_BOND_OPTION_PRIMARY_RESELECT  "primary_reselect"
 

NM_SETTING_BOND_OPTION_FAIL_OVER_MAC

-
#define NM_SETTING_BOND_OPTION_FAIL_OVER_MAC    "fail_over_mac"
+
#define NM_SETTING_BOND_OPTION_FAIL_OVER_MAC     "fail_over_mac"
 

NM_SETTING_BOND_OPTION_USE_CARRIER

-
#define NM_SETTING_BOND_OPTION_USE_CARRIER      "use_carrier"
+
#define NM_SETTING_BOND_OPTION_USE_CARRIER       "use_carrier"
 

NM_SETTING_BOND_OPTION_AD_SELECT

-
#define NM_SETTING_BOND_OPTION_AD_SELECT        "ad_select"
+
#define NM_SETTING_BOND_OPTION_AD_SELECT         "ad_select"
 

NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY

-
#define NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY "xmit_hash_policy"
+
#define NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY  "xmit_hash_policy"
 

NM_SETTING_BOND_OPTION_RESEND_IGMP

-
#define NM_SETTING_BOND_OPTION_RESEND_IGMP      "resend_igmp"
+
#define NM_SETTING_BOND_OPTION_RESEND_IGMP       "resend_igmp"
 

NM_SETTING_BOND_OPTION_LACP_RATE

-
#define NM_SETTING_BOND_OPTION_LACP_RATE        "lacp_rate"
+
#define NM_SETTING_BOND_OPTION_LACP_RATE         "lacp_rate"
+
+
+
+
+

NM_SETTING_BOND_OPTION_ACTIVE_SLAVE

+
#define NM_SETTING_BOND_OPTION_ACTIVE_SLAVE      "active_slave"
+
+
+
+
+

NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO

+
#define NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO "ad_actor_sys_prio"
+
+
+
+
+

NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM

+
#define NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM   "ad_actor_system"
+
+
+
+
+

NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY

+
#define NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY  "ad_user_port_key"
+
+
+
+
+

NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE

+
#define NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE "all_slaves_active"
+
+
+
+
+

NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS

+
#define NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS   "arp_all_targets"
+
+
+
+
+

NM_SETTING_BOND_OPTION_MIN_LINKS

+
#define NM_SETTING_BOND_OPTION_MIN_LINKS         "min_links"
+
+
+
+
+

NM_SETTING_BOND_OPTION_NUM_GRAT_ARP

+
#define NM_SETTING_BOND_OPTION_NUM_GRAT_ARP      "num_grat_arp"
+
+
+
+
+

NM_SETTING_BOND_OPTION_NUM_UNSOL_NA

+
#define NM_SETTING_BOND_OPTION_NUM_UNSOL_NA      "num_unsol_na"
+
+
+
+
+

NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE

+
#define NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE "packets_per_slave"
+
+
+
+
+

NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB

+
#define NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB    "tlb_dynamic_lb"
+
+
+
+
+

NM_SETTING_BOND_OPTION_LP_INTERVAL

+
#define NM_SETTING_BOND_OPTION_LP_INTERVAL       "lp_interval"
 
diff --git a/docs/libnm/html/NMSettingIPConfig.html b/docs/libnm/html/NMSettingIPConfig.html index cfa53456..f2a9fafc 100644 --- a/docs/libnm/html/NMSettingIPConfig.html +++ b/docs/libnm/html/NMSettingIPConfig.html @@ -913,6 +913,10 @@ #define NM_SETTING_DNS_OPTION_NO_TLD_QUERY + +#define +NM_SETTING_DNS_OPTION_USE_VC +
@@ -3718,6 +3722,12 @@ the particular kind of device.

#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY              "no-tld-query"
 
+
+
+

NM_SETTING_DNS_OPTION_USE_VC

+
#define NM_SETTING_DNS_OPTION_USE_VC                    "use-vc"
+
+

Property Details

diff --git a/docs/libnm/html/NMWimaxNsp.html b/docs/libnm/html/NMWimaxNsp.html index 8a73c9b9..ecaae0aa 100644 --- a/docs/libnm/html/NMWimaxNsp.html +++ b/docs/libnm/html/NMWimaxNsp.html @@ -58,7 +58,7 @@ -NMWimaxNspNetworkType +NMWimaxNspNetworkType nm_wimax_nsp_get_network_type () @@ -99,7 +99,7 @@ Read -NMWimaxNspNetworkType +NMWimaxNspNetworkType network-type Read @@ -131,18 +131,12 @@ #define NM_WIMAX_NSP_NETWORK_TYPE - -enum -NMWimaxNspNetworkType -

Object Hierarchy

-
    GEnum
-    ╰── NMWimaxNspNetworkType
-    GObject
+
    GObject
     ╰── NMObject
         ╰── NMWimaxNsp
 
@@ -206,7 +200,7 @@ nm_wimax_nsp_get_signal_quality (

nm_wimax_nsp_get_network_type ()

-
NMWimaxNspNetworkType
+
NMWimaxNspNetworkType
 nm_wimax_nsp_get_network_type (NMWimaxNsp *nsp);

Gets the network type of the wimax NSP.

@@ -331,51 +325,6 @@ against

#define NM_WIMAX_NSP_NETWORK_TYPE   "network-type"
 
-
-
-

enum NMWimaxNspNetworkType

-

WiMAX network type.

-
-

Members

-
----- - - - - - - - - - - - - - - - - - - - - - - -

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

-

unknown network type

-
 

NM_WIMAX_NSP_NETWORK_TYPE_HOME

-

home network

-
 

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

-

partner network

-
 

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

-

roaming partner network

-
 
-
-

Property Details

@@ -389,7 +338,7 @@ against


The “network-type” property

-
  “network-type”             NMWimaxNspNetworkType
+
  “network-type”             NMWimaxNspNetworkType

The network type of the WiMAX NSP.

Flags: Read

Default value: NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

diff --git a/docs/libnm/html/api-index-full.html b/docs/libnm/html/api-index-full.html index e4606198..fe6ccbeb 100644 --- a/docs/libnm/html/api-index-full.html +++ b/docs/libnm/html/api-index-full.html @@ -406,6 +406,10 @@ NM_AVAILABLE_IN_1_2, macro in nm-version
+
+NM_AVAILABLE_IN_1_4, macro in nm-version +
+

B

NMBluetoothCapabilities, enum in nm-dbus-interface @@ -1438,6 +1442,14 @@
+NM_DEPRECATED_IN_1_4, macro in nm-version +
+
+
+NM_DEPRECATED_IN_1_4_FOR, macro in nm-version +
+
+
NMDevice::state-changed, object signal in NMDevice
@@ -5280,10 +5292,34 @@
+NM_SETTING_BOND_OPTION_ACTIVE_SLAVE, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_AD_ACTOR_SYSTEM, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_AD_SELECT, macro in NMSettingBond
+NM_SETTING_BOND_OPTION_AD_USER_PORT_KEY, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_ARP_ALL_TARGETS, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_ARP_INTERVAL, macro in NMSettingBond
@@ -5308,14 +5344,34 @@
+NM_SETTING_BOND_OPTION_LP_INTERVAL, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_MIIMON, macro in NMSettingBond
+NM_SETTING_BOND_OPTION_MIN_LINKS, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_MODE, macro in NMSettingBond
+NM_SETTING_BOND_OPTION_NUM_GRAT_ARP, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_NUM_UNSOL_NA, macro in NMSettingBond +
+
+
+NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_PRIMARY, macro in NMSettingBond
@@ -5328,6 +5384,10 @@
+NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB, macro in NMSettingBond +
+
+
NM_SETTING_BOND_OPTION_UPDELAY, macro in NMSettingBond
@@ -5916,6 +5976,10 @@
+NM_SETTING_DNS_OPTION_USE_VC, macro in NMSettingIPConfig +
+
+
nm_setting_duplicate, function in NMSetting
@@ -8467,7 +8531,7 @@ NM_VPN_SERVICE_PLUGIN_STATE, macro in nm-vpn-service-plugin
-NMWimaxNspNetworkType, enum in NMWimaxNsp +NMWimaxNspNetworkType, enum in nm-dbus-interface
diff --git a/docs/libnm/html/index.html b/docs/libnm/html/index.html index 891025a0..e004f345 100644 --- a/docs/libnm/html/index.html +++ b/docs/libnm/html/index.html @@ -15,7 +15,7 @@

- for libnm 1.1.92 + for libnm 1.1.93 The latest version of this documentation can be found on-line at https://developer.gnome.org/libnm/1.0/. diff --git a/docs/libnm/html/index.sgml b/docs/libnm/html/index.sgml index b817d5b5..f0c50d66 100644 --- a/docs/libnm/html/index.sgml +++ b/docs/libnm/html/index.sgml @@ -418,6 +418,11 @@ + + + + + @@ -1018,6 +1023,18 @@ + + + + + + + + + + + + @@ -1426,6 +1443,7 @@ + @@ -2818,11 +2836,6 @@ - - - - - @@ -2967,6 +2980,7 @@ + @@ -2974,6 +2988,8 @@ + + diff --git a/docs/libnm/html/libnm-nm-dbus-interface.html b/docs/libnm/html/libnm-nm-dbus-interface.html index 4322caee..0dae564f 100644 --- a/docs/libnm/html/libnm-nm-dbus-interface.html +++ b/docs/libnm/html/libnm-nm-dbus-interface.html @@ -250,6 +250,10 @@ enum +NMWimaxNspNetworkType + + +enum NMDeviceState @@ -358,7 +362,8 @@ ├── NMDeviceType ├── NMIPTunnelMode ├── NMMetered - ╰── NMState + ├── NMState + ╰── NMWimaxNspNetworkType GFlags ├── NM80211ApFlags ├── NM80211ApSecurityFlags @@ -633,9 +638,8 @@

enum NMState

NMState values indicate the current overall networking state.

-

(Corresponds to the NM_STATE type in nm-manager.xml.)

-

Members

+

Members

@@ -706,9 +710,8 @@

enum NMConnectivityState

-

(Corresponds to the NM_CONNECTIVITY type in nm-manager.xml.)

-

Members

+

Members

@@ -763,9 +766,8 @@

enum NMDeviceType

NMDeviceType values indicate the type of hardware represented by an NMDevice.

-

(Corresponds to the NM_DEVICE_TYPE type in nm-device.xml.)

-

Members

+

Members

@@ -929,9 +931,8 @@ GSM/UMTS, or LTE network access protocols

enum NMDeviceCapabilities

General device capability flags.

-

(Corresponds to the NM_DEVICE_CAP type in nm-device-wifi.xml.)

-

Members

+

Members

@@ -975,9 +976,8 @@ GSM/UMTS, or LTE network access protocols

enum NMDeviceWifiCapabilities

802.11 specific device encryption and authentication capabilities.

-

(Corresponds to the NM_802_11_DEVICE_CAP type in nm-device-wifi.xml.)

-

Members

+

Members

@@ -1077,9 +1077,8 @@ GSM/UMTS, or LTE network access protocols

enum NM80211ApFlags

802.11 access point flags.

-

(Corresponds to the NM_802_11_AP_FLAGS type in nm-access-point.xml.)

-

Members

+

Members

@@ -1112,9 +1111,8 @@ encryption (usually means WEP)

802.11 access point security and authentication flags. These flags describe the current security requirements of an access point as determined from the access point's beacon.

-

(Corresponds to the NM_802_11_AP_SEC type in nm-access-point.xml.)

-

Members

+

Members

@@ -1214,9 +1212,8 @@ is supported

enum NM80211Mode

Indicates the 802.11 mode an access point or device is currently in.

-

(Corresponds to the NM_802_11_MODE type in generic-types.xml.)

-

Members

+

Members

@@ -1267,9 +1264,8 @@ is supported

enum NMBluetoothCapabilities

NMBluetoothCapabilities values indicate the usable capabilities of a Bluetooth device.

-

(Corresponds to the NM_BT_CAPABILITY type in nm-device-bt.xml.)

-

Members

+

Members

@@ -1309,9 +1305,8 @@ Bluetooth device.

technology families a modem device supports. For more information on the specific access technologies the device supports use the ModemManager D-Bus API.

-

(Corresponds to the NM_DEVICE_MODEM_CAPABILITY type in nm-device-modem.xml.)

-

Members

+

Members

@@ -1363,8 +1358,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability


-

enum NMDeviceState

-

(Corresponds to the NM_DEVICE_STATE type in nm-device.xml.)

+

enum NMWimaxNspNetworkType

+

WiMAX network type.

Members

@@ -1375,6 +1370,50 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

+ + + + + + + + + + + + + + + + + + + + +

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

+

unknown network type

+
 

NM_WIMAX_NSP_NETWORK_TYPE_HOME

+

home network

+
 

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

+

partner network

+
 

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

+

roaming partner network

+
 
+
+
+
+
+

enum NMDeviceState

+
+

Members

+
+++++ + + + + + + + + + +

NM_DEVICE_STATE_UNKNOWN

the device's state is unknown

@@ -1495,9 +1534,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

enum NMDeviceStateReason

Device state change reason codes

-

(Corresponds to the NM_DEVICE_STATE_REASON type in nm-device.xml.)

-

Members

+

Members

@@ -1953,9 +1991,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability


enum NMMetered

-

(Corresponds to the NM_METERED type in nm-device.xml.)

-

Members

+

Members

@@ -2009,9 +2046,8 @@ GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability

NMActiveConnectionState values indicate the state of a connection to a specific network while it is starting, connected, or disconnecting from that network.

-

(Corresponds to the NM_ACTIVE_CONNECTION_STATE type in nm-active-connection.xml.)

-

Members

+

Members

@@ -2064,9 +2100,8 @@ network.

enum NMSecretAgentGetSecretsFlags

NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.

-

(Corresponds to the NM_SECRET_AGENT_GET_SECRETS_FLAGS type in nm-secret-agent.xml.)

-

Members

+

Members

@@ -2136,9 +2171,8 @@ network.

enum NMSecretAgentCapabilities

NMSecretAgentCapabilities indicate various capabilities of the agent.

-

(Corresponds to the NM_SECRET_AGENT_CAPABILITIES type in nm-secret-agent.xml.)

-

Members

+

Members

@@ -2279,7 +2313,7 @@ VPN plugin authentication dialogs.

enum NMIPTunnelMode

The tunneling mode.

-

Members

+

Members

diff --git a/docs/libnm/html/libnm-nm-version.html b/docs/libnm/html/libnm-nm-version.html index 2cf12f47..5e1c3977 100644 --- a/docs/libnm/html/libnm-nm-version.html +++ b/docs/libnm/html/libnm-nm-version.html @@ -65,6 +65,12 @@ NM_DEPRECATED_IN_1_2_FOR() + + + +
#define +NM_DEPRECATED_IN_1_4_FOR() +
@@ -100,6 +106,14 @@
#define NM_AVAILABLE_IN_1_2
#defineNM_DEPRECATED_IN_1_4
#defineNM_AVAILABLE_IN_1_4
@@ -137,6 +151,12 @@
# define NM_DEPRECATED_IN_1_2_FOR(f)    G_DEPRECATED_FOR(f)
 
+
+
+

NM_DEPRECATED_IN_1_4_FOR()

+
# define NM_DEPRECATED_IN_1_4_FOR(f)    G_DEPRECATED_FOR(f)
+
+

Types and Values

@@ -174,6 +194,18 @@

NM_AVAILABLE_IN_1_2

#define             NM_AVAILABLE_IN_1_2
+
+
+

NM_DEPRECATED_IN_1_4

+
# define NM_DEPRECATED_IN_1_4           G_DEPRECATED
+
+
+
+
+

NM_AVAILABLE_IN_1_4

+
# define NM_AVAILABLE_IN_1_4            G_UNAVAILABLE(1,4)
+
+