| 1 |
<?xml version="1.0"?> |
| 2 |
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
| 4 |
<!ENTITY version SYSTEM "version.xml"> |
| 5 |
]> |
| 6 |
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> |
| 7 |
<bookinfo> |
| 8 |
<title>NetworkManager Reference Manual</title> |
| 9 |
<releaseinfo> |
| 10 |
for NetworkManager &version; |
| 11 |
The latest version of this documentation can be found on-line at |
| 12 |
<ulink url="https://networkmanager.dev/docs/api/latest/">https://networkmanager.dev/docs/api/latest/</ulink>. |
| 13 |
</releaseinfo> |
| 14 |
|
| 15 |
<copyright> |
| 16 |
<year>2012</year> |
| 17 |
<year>2013</year> |
| 18 |
<year>2014</year> |
| 19 |
<year>2015</year> |
| 20 |
<year>2016</year> |
| 21 |
<year>2017</year> |
| 22 |
<year>2018</year> |
| 23 |
<holder>The NetworkManager Authors</holder> |
| 24 |
</copyright> |
| 25 |
|
| 26 |
<legalnotice> |
| 27 |
<para> |
| 28 |
Permission is granted to copy, distribute and/or modify this |
| 29 |
document under the terms of the <citetitle>GNU Free |
| 30 |
Documentation License</citetitle>, Version 1.1 or any later |
| 31 |
version published by the Free Software Foundation with no |
| 32 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover |
| 33 |
Texts. You may obtain a copy of the <citetitle>GNU Free |
| 34 |
Documentation License</citetitle> from the Free Software |
| 35 |
Foundation by visiting <ulink type="http" |
| 36 |
url="http://www.fsf.org">their Web site</ulink>. |
| 37 |
</para> |
| 38 |
</legalnotice> |
| 39 |
|
| 40 |
<abstract> |
| 41 |
<para> |
| 42 |
This manual is the reference documentation for NetworkManager, the standard |
| 43 |
Linux network management service. It is intended for system administrators and |
| 44 |
integrators who need to understand the capabilities of NetworkManager, its |
| 45 |
configuration options, command line tools and the D-Bus API for programmatic |
| 46 |
control of the service. |
| 47 |
</para> |
| 48 |
<para> |
| 49 |
The end users NetworkManager should instead refer to respective documentation |
| 50 |
of their desktop environment of choice. |
| 51 |
</para> |
| 52 |
<para> |
| 53 |
The application developers who prefer not to use the D-Bus API directly can use the |
| 54 |
<ulink url="https://developer.gnome.org/libnm/stable/">libnm</ulink> library |
| 55 |
shipped with NetworkManager or its bindings to a higher level language such as |
| 56 |
Python, Ruby or Vala via GObject introspection. |
| 57 |
</para> |
| 58 |
</abstract> |
| 59 |
</bookinfo> |
| 60 |
|
| 61 |
<part id="manpages"> |
| 62 |
<title>Manual Pages</title> |
| 63 |
<xi:include href="../../man/NetworkManager.xml"/> |
| 64 |
<xi:include href="../../man/NetworkManager.conf.xml"/> |
| 65 |
<xi:include href="../../man/NetworkManager-dispatcher.xml"/> |
| 66 |
<xi:include href="../../man/NetworkManager-wait-online.service.xml"/> |
| 67 |
<xi:include href="../../man/nmcli.xml"/> |
| 68 |
<xi:include href="../../man/nmcli-examples.xml"/> |
| 69 |
<xi:include href="../../man/nmtui.xml"/> |
| 70 |
<xi:include href="../../man/nm-settings-dbus.xml"><xi:fallback /></xi:include> |
| 71 |
<xi:include href="../../man/nm-settings-nmcli.xml"><xi:fallback /></xi:include> |
| 72 |
<xi:include href="../../man/nm-settings-keyfile.xml"><xi:fallback /></xi:include> |
| 73 |
<xi:include href="../../man/nm-settings-ifcfg-rh.xml"><xi:fallback /></xi:include> |
| 74 |
<xi:include href="../../man/nm-online.xml"/> |
| 75 |
<xi:include href="../../man/nm-initrd-generator.xml"/> |
| 76 |
<xi:include href="../../man/nm-cloud-setup.xml"><xi:fallback /></xi:include> |
| 77 |
<xi:include href="../../man/nm-openvswitch.xml"><xi:fallback /></xi:include> |
| 78 |
</part> |
| 79 |
|
| 80 |
<part id="ref-settings"> |
| 81 |
<title>Network Configuration Setting Specification</title> |
| 82 |
<para> |
| 83 |
This part documents the properties and value types of each "Setting" |
| 84 |
object that composes the basic unit of NetworkManager configuration, |
| 85 |
the "Connection". Each Connection object is simply a dictionary mapping |
| 86 |
setting names (like "802-3-ethernet" or "bluetooth") to a dictionary of |
| 87 |
key/value pairs that represents each itself. |
| 88 |
</para> |
| 89 |
<xi:include href="settings-spec.xml"> |
| 90 |
<xi:fallback> |
| 91 |
<chapter> |
| 92 |
<title>Configuration Settings</title> |
| 93 |
<note><para> |
| 94 |
(NetworkManager was built without full introspection support. Setting |
| 95 |
documentation is not available.) |
| 96 |
</para></note> |
| 97 |
</chapter> |
| 98 |
</xi:fallback> |
| 99 |
</xi:include> |
| 100 |
<chapter id="secrets-flags"> |
| 101 |
<title>Secret flag types</title> |
| 102 |
<para> |
| 103 |
Each secret property in a setting has an associated "flags" property |
| 104 |
that describes how to handle that secret. The "flags" property is a |
| 105 |
bitfield that contains zero or more of the following values logically |
| 106 |
OR-ed together. |
| 107 |
</para> |
| 108 |
<para> |
| 109 |
<itemizedlist> |
| 110 |
<listitem> |
| 111 |
<literal>0x0 (none)</literal> - the system is responsible for providing |
| 112 |
and storing this secret. |
| 113 |
</listitem> |
| 114 |
<listitem> |
| 115 |
<literal>0x1 (agent-owned)</literal> - a user-session secret agent |
| 116 |
is responsible for providing and storing this secret; when it is |
| 117 |
required, agents will be asked to provide it. |
| 118 |
</listitem> |
| 119 |
<listitem> |
| 120 |
<literal>0x2 (not-saved)</literal> - this secret should not be saved |
| 121 |
but should be requested from the user each time it is required. This |
| 122 |
flag should be used for One-Time-Pad secrets, PIN codes from |
| 123 |
hardware tokens, or if the user simply does not want to save the |
| 124 |
secret. |
| 125 |
</listitem> |
| 126 |
<listitem> |
| 127 |
<literal>0x4 (not-required)</literal> - in some situations it cannot |
| 128 |
be automatically determined that a secret is required or not. This |
| 129 |
flag hints that the secret is not required and should not be |
| 130 |
requested from the user. |
| 131 |
</listitem> |
| 132 |
</itemizedlist> |
| 133 |
</para> |
| 134 |
</chapter> |
| 135 |
</part> |
| 136 |
|
| 137 |
<part id="spec"> |
| 138 |
<title id="dbus-interfaces">D-Bus API Reference</title> |
| 139 |
|
| 140 |
<para> |
| 141 |
This part documents the D-Bus interface used to access the |
| 142 |
NetworkManager daemon. |
| 143 |
</para> |
| 144 |
|
| 145 |
<chapter id="ref-dbus-manager"> |
| 146 |
<title>The <literal>/org/freedesktop/NetworkManager</literal> object</title> |
| 147 |
<!-- TODO: Describe the object here --> |
| 148 |
<xi:include href="dbus-org.freedesktop.NetworkManager.xml"/> |
| 149 |
</chapter> |
| 150 |
|
| 151 |
<chapter id="ref-dbus-agent-manager"> |
| 152 |
<title>The <literal>/org/freedesktop/NetworkManager/AgentManager</literal> object</title> |
| 153 |
<!-- TODO: Describe the object here --> |
| 154 |
<xi:include href="dbus-org.freedesktop.NetworkManager.AgentManager.xml"/> |
| 155 |
</chapter> |
| 156 |
|
| 157 |
<chapter id="ref-dbus-dns-manager"> |
| 158 |
<title>The <literal>/org/freedesktop/NetworkManager/DnsManager</literal> object</title> |
| 159 |
<!-- TODO: Describe the object here --> |
| 160 |
<xi:include href="dbus-org.freedesktop.NetworkManager.DnsManager.xml"/> |
| 161 |
</chapter> |
| 162 |
|
| 163 |
<chapter id="ref-dbus-settings-manager"> |
| 164 |
<title>The <literal>/org/freedesktop/NetworkManager/Settings</literal> object</title> |
| 165 |
<!-- TODO: Describe the object here --> |
| 166 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Settings.xml"/> |
| 167 |
</chapter> |
| 168 |
|
| 169 |
<chapter id="ref-dbus-settings"> |
| 170 |
<title>The <literal>/org/freedesktop/NetworkManager/Settings/*</literal> objects</title> |
| 171 |
<!-- TODO: Describe the objects here --> |
| 172 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Settings.Connection.xml"/> |
| 173 |
</chapter> |
| 174 |
|
| 175 |
<chapter id="ref-dbus-devices"> |
| 176 |
<title>The <literal>/org/freedesktop/NetworkManager/Devices/*</literal> objects</title> |
| 177 |
<!-- TODO: Describe the objects here --> |
| 178 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.xml"/> |
| 179 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Statistics.xml"/> |
| 180 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Adsl.xml"/> |
| 181 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Bluetooth.xml"/> |
| 182 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Bond.xml"/> |
| 183 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Bridge.xml"/> |
| 184 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Dummy.xml"/> |
| 185 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Generic.xml"/> |
| 186 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Geneve.xml"/> |
| 187 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Hsr.xml"/> |
| 188 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.IPTunnel.xml"/> |
| 189 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Infiniband.xml"/> |
| 190 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Ipvlan.xml"/> |
| 191 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Loopback.xml"/> |
| 192 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Lowpan.xml"/> |
| 193 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Macsec.xml"/> |
| 194 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Macvlan.xml"/> |
| 195 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Modem.xml"/> |
| 196 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.OlpcMesh.xml"/> |
| 197 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.OvsBridge.xml"/> |
| 198 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.OvsInterface.xml"/> |
| 199 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.OvsPort.xml"/> |
| 200 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Ppp.xml"/> |
| 201 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Team.xml"/> |
| 202 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Tun.xml"/> |
| 203 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Veth.xml"/> |
| 204 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Vlan.xml"/> |
| 205 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Vrf.xml"/> |
| 206 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Vxlan.xml"/> |
| 207 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.WifiP2P.xml"/> |
| 208 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.WireGuard.xml"/> |
| 209 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Wired.xml"/> |
| 210 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Wireless.xml"/> |
| 211 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Device.Wpan.xml"/> |
| 212 |
<xi:include href="dbus-org.freedesktop.NetworkManager.PPP.xml"/> |
| 213 |
</chapter> |
| 214 |
|
| 215 |
<chapter id="ref-dbus-active-connections"> |
| 216 |
<title>The <literal>/org/freedesktop/NetworkManager/ActiveConnection/*</literal> objects</title> |
| 217 |
<!-- TODO: Describe the objects here --> |
| 218 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Connection.Active.xml"/> |
| 219 |
<xi:include href="dbus-org.freedesktop.NetworkManager.VPN.Connection.xml"/> |
| 220 |
</chapter> |
| 221 |
|
| 222 |
<chapter id="ref-dbus-ip4-configs"> |
| 223 |
<title>The <literal>/org/freedesktop/NetworkManager/IP4Config/*</literal> objects</title> |
| 224 |
<!-- TODO: Describe the objects here --> |
| 225 |
<xi:include href="dbus-org.freedesktop.NetworkManager.IP4Config.xml"/> |
| 226 |
</chapter> |
| 227 |
|
| 228 |
<chapter id="ref-dbus-ip6-configs"> |
| 229 |
<title>The <literal>/org/freedesktop/NetworkManager/IP6Config/*</literal> objects</title> |
| 230 |
<!-- TODO: Describe the objects here --> |
| 231 |
<xi:include href="dbus-org.freedesktop.NetworkManager.IP6Config.xml"/> |
| 232 |
</chapter> |
| 233 |
|
| 234 |
<chapter id="ref-dbus-dhcp4-configs"> |
| 235 |
<title>The <literal>/org/freedesktop/NetworkManager/DHCP4Config/*</literal> objects</title> |
| 236 |
<!-- TODO: Describe the objects here --> |
| 237 |
<xi:include href="dbus-org.freedesktop.NetworkManager.DHCP4Config.xml"/> |
| 238 |
</chapter> |
| 239 |
|
| 240 |
<chapter id="ref-dbus-dhcp6-configs"> |
| 241 |
<title>The <literal>/org/freedesktop/NetworkManager/DHCP4Config/*</literal> objects</title> |
| 242 |
<!-- TODO: Describe the objects here --> |
| 243 |
<xi:include href="dbus-org.freedesktop.NetworkManager.DHCP6Config.xml"/> |
| 244 |
</chapter> |
| 245 |
|
| 246 |
<chapter id="ref-dbus-access-points"> |
| 247 |
<title>The <literal>/org/freedesktop/NetworkManager/AccessPoint/*</literal> objects</title> |
| 248 |
<!-- TODO: Describe the objects here --> |
| 249 |
<xi:include href="dbus-org.freedesktop.NetworkManager.AccessPoint.xml"/> |
| 250 |
</chapter> |
| 251 |
|
| 252 |
<chapter id="ref-dbus-wifi-p2p-peers"> |
| 253 |
<title>The <literal>/org.freedesktop.NetworkManager.WifiP2PPeer/*</literal> objects</title> |
| 254 |
<!-- TODO: Describe the objects here --> |
| 255 |
<xi:include href="dbus-org.freedesktop.NetworkManager.WifiP2PPeer.xml"/> |
| 256 |
</chapter> |
| 257 |
|
| 258 |
<chapter id="ref-dbus-checkpoint"> |
| 259 |
<title>The <literal>/org/freedesktop/NetworkManager/Checkpoint/*</literal> objects</title> |
| 260 |
<!-- TODO: Describe the objects here --> |
| 261 |
<xi:include href="dbus-org.freedesktop.NetworkManager.Checkpoint.xml"/> |
| 262 |
</chapter> |
| 263 |
|
| 264 |
<chapter id="dbus-types"> |
| 265 |
<title>Types</title> |
| 266 |
<xi:include href="../../src/libnm-core-public/nm-dbus-types.xml"/> |
| 267 |
</chapter> |
| 268 |
</part> |
| 269 |
|
| 270 |
<part id="secret-agents"> |
| 271 |
<title>Secret Agent D-Bus API Reference</title> |
| 272 |
|
| 273 |
<chapter id="dbus-secret-agent"> |
| 274 |
<title>Secret agents</title> |
| 275 |
<!-- TODO: Describe the secret agent here --> |
| 276 |
<xi:include href="dbus-org.freedesktop.NetworkManager.SecretAgent.xml"/> |
| 277 |
</chapter> |
| 278 |
</part> |
| 279 |
|
| 280 |
<part id="vpn-plugins"> |
| 281 |
<title>VPN Plugin D-Bus API Reference</title> |
| 282 |
|
| 283 |
<chapter id="dbus-vpn-plugin"> |
| 284 |
<title>VPN services</title> |
| 285 |
<!-- TODO: Describe the VPN services here --> |
| 286 |
<xi:include href="dbus-org.freedesktop.NetworkManager.VPN.Plugin.xml"/> |
| 287 |
</chapter> |
| 288 |
<chapter id="dbus-vpn-types"> |
| 289 |
<title>Types</title> |
| 290 |
<xi:include href="../../src/libnm-core-public/nm-vpn-dbus-types.xml"/> |
| 291 |
</chapter> |
| 292 |
</part> |
| 293 |
|
| 294 |
<index> |
| 295 |
<title>Index</title> |
| 296 |
</index> |
| 297 |
|
| 298 |
<!-- License --> |
| 299 |
<appendix id="license"> |
| 300 |
<title>License</title> |
| 301 |
|
| 302 |
<para> |
| 303 |
This program is free software; you can redistribute |
| 304 |
it and/or modify it under the terms of the <citetitle>GNU |
| 305 |
General Public License</citetitle> as published by the Free |
| 306 |
Software Foundation; either version 2 of the License, or |
| 307 |
(at your option) any later version. |
| 308 |
</para> |
| 309 |
|
| 310 |
<para> |
| 311 |
This program is distributed in the hope that it will |
| 312 |
be useful, but WITHOUT ANY WARRANTY; without even the |
| 313 |
implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 314 |
PARTICULAR PURPOSE. See the GNU General Public License for |
| 315 |
more details. |
| 316 |
</para> |
| 317 |
|
| 318 |
<para> |
| 319 |
You should have received a copy of the <citetitle>GNU |
| 320 |
General Public License</citetitle> along with this program. |
| 321 |
</para> |
| 322 |
|
| 323 |
<para> |
| 324 |
A copy of the <citetitle>GNU General Public License</citetitle> |
| 325 |
can also be obtained from the <ulink url="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html"> |
| 326 |
GNU web site</ulink>. |
| 327 |
</para> |
| 328 |
</appendix> |
| 329 |
</book> |
| 330 |
|