summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-06-04 16:41:43 +0200
committerThomas Haller <thaller@redhat.com>2020-06-11 10:53:49 +0200
commit09f484ae9fec482f8db39771717acf0514b0274a (patch)
tree3c7aa4ef8ca63e28f6d1ddce8d9dc5b2677b2a5c /man
parent47d39a7fb7fe035e85b4e85748451ce85bc40608 (diff)
docs: update documentation for nm-settings-nmcli manual
Diffstat (limited to 'man')
-rw-r--r--man/nm-settings-dbus.xsl10
-rw-r--r--man/nm-settings-nmcli.xsl74
2 files changed, 34 insertions, 50 deletions
diff --git a/man/nm-settings-dbus.xsl b/man/nm-settings-dbus.xsl
index 0573d0d3b8..b4841ce200 100644
--- a/man/nm-settings-dbus.xsl
+++ b/man/nm-settings-dbus.xsl
@@ -27,7 +27,7 @@
</refmeta>
<refnamediv>
<refname>nm-settings-dbus</refname>
- <refpurpose>Description of settings and properties of NetworkManager connection profiles</refpurpose>
+ <refpurpose>Description of settings and properties of NetworkManager connection profiles on the D-Bus API</refpurpose>
</refnamediv>
<refsect1 id='description'><title>Description</title>
@@ -122,10 +122,14 @@
</refsect1>
<refsect1 id='see_also'><title>See Also</title>
- <para><link linkend='NetworkManager'><citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
+ <para>
+ <link linkend='nm-settings-nmcli'><citerefentry><refentrytitle>nm-settings-nmcli</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>,
+ <link linkend='nm-settings-keyfile'><citerefentry><refentrytitle>nm-settings-keyfile</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>,
+ <link linkend='NetworkManager'><citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
<link linkend='nmcli'><citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,
<link linkend='nmcli-examples'><citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry></link>,
- <link linkend='NetworkManager.conf'><citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></link></para>
+ <link linkend='NetworkManager.conf'><citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>
+ </para>
</refsect1>
</refentry>
</xsl:template>
diff --git a/man/nm-settings-nmcli.xsl b/man/nm-settings-nmcli.xsl
index 28e7504931..a1dd94b6e0 100644
--- a/man/nm-settings-nmcli.xsl
+++ b/man/nm-settings-nmcli.xsl
@@ -27,7 +27,7 @@
</refmeta>
<refnamediv>
<refname>nm-settings-nmcli</refname>
- <refpurpose>Description of settings and properties of NetworkManager connection profiles</refpurpose>
+ <refpurpose>Description of settings and properties of NetworkManager connection profiles for nmcli</refpurpose>
</refnamediv>
<refsect1 id='description'><title>Description</title>
@@ -37,51 +37,28 @@
NetworkManager activates a connection profile on a network device the configuration will
be applied and an active network connection will be established. Users are free to create
as many connection profiles as they see fit. Thus they are flexible in having various network
- configurations for different networking needs. The connection profiles are handled by
- NetworkManager via <emphasis>settings service</emphasis> and are exported on D-Bus
- (<emphasis>/org/freedesktop/NetworkManager/Settings/&lt;num&gt;</emphasis> objects).
- The conceptual objects can be described as follows:
- <variablelist>
- <varlistentry>
- <term>Connection (profile)</term>
- <listitem>
- <para>
- A specific, encapsulated, independent group of settings describing
- all the configuration required to connect to a specific network.
- It is referred to by a unique identifier called the UUID. A connection
- is tied to a one specific device type, but not necessarily a specific
- hardware device. It is composed of one or more <emphasis>Settings</emphasis>
- objects.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <variablelist>
- <varlistentry>
- <term>Setting</term>
- <listitem>
- <para>
- A group of related key/value pairs describing a specific piece of a
- <emphasis>Connection (profile)</emphasis>. Settings keys and allowed values are
- described in the tables below. Keys are also referred to as properties.
- Developers can find the setting objects and their properties in the libnm-core
- sources. Look for the <function>*_class_init</function> functions near the bottom
- of each setting source file.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <variablelist>
- <para>
- The settings and properties shown in tables below list all available connection
- configuration options. However, note that not all settings are applicable to all
- connection types. NetworkManager provides a command-line tool <emphasis>nmcli</emphasis>
- that allows direct configuration of the settings and properties according to a connection
- profile type. <emphasis>nmcli</emphasis> connection editor has also a built-in
- <emphasis>describe</emphasis> command that can display description of particular settings
- and properties of this page.
- </para>
- </variablelist>
+ configurations for different networking needs.
+ </para>
+ <para>
+ NetworkManager provides an API for configuring connection profiles, for activating them
+ to configure the network, and inspecting the current network configuration. The command
+ line tool <emphasis>nmcli</emphasis> is a client application to NetworkManager that uses
+ this API. See <link linkend='nmcli'><citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>
+ for details.
+ </para>
+ <para>
+ With commands like <literal>nmcli connection add</literal>, <literal>nmcli connection modify</literal>
+ and <literal>nmcli connection show</literal>, connection profiles can be created, modified
+ and inspected. A profile consists of properties. On D-Bus this follows the format
+ as described by <link linkend='nm-settings-dbus'><citerefentry><refentrytitle>nm-settings-dbus</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>,
+ while this manual page describes the settings format how they are expected by <emphasis>nmcli</emphasis>.
+ </para>
+ <para>
+ The settings and properties shown in tables below list all available connection
+ configuration options. However, note that not all settings are applicable to all
+ connection types. <emphasis>nmcli</emphasis> connection editor has also a built-in
+ <emphasis>describe</emphasis> command that can display description of particular settings
+ and properties of this page.
</para>
<xsl:apply-templates/>
<refsect2 id="secrets-flags">
@@ -122,7 +99,10 @@
</refsect1>
<refsect1 id='see_also'><title>See Also</title>
- <para><link linkend='NetworkManager'><citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
+ <para>
+ <link linkend='nm-settings-dbus'><citerefentry><refentrytitle>nm-settings-dbus</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>,
+ <link linkend='nm-settings-keyfile'><citerefentry><refentrytitle>nm-settings-keyfile</refentrytitle><manvolnum>5</manvolnum></citerefentry></link>,
+ <link linkend='NetworkManager'><citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>,
<link linkend='nmcli'><citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,
<link linkend='nmcli-examples'><citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry></link>,
<link linkend='NetworkManager.conf'><citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></link></para>