Conversation
Add manpages for the commands "info", "ip", "rebind" and "status".
The list of network keys are indexing their respective sections. Each section was expanded with a short description and explanation about the network type with a small example.
slyon
left a comment
There was a problem hiding this comment.
Thank you! +1
Just a few wording & formatting refinements inline, which I'll fix myself before merging.
doc/cli.md
Outdated
| | [info](/netplan-info) | Show available features | | ||
| | [ip](/netplan-ip) | Retrieve IP information from the system | |
There was a problem hiding this comment.
"ip" and "info" seem to be duplicated in the index. We should drop the two entries above.
doc/netplan-yaml.md
Outdated
|
|
||
| **Purpose**: Use the `ethernets` key to configure Ethernet interfaces. | ||
|
|
||
| **Structure**: The key consists of a mapping of interface names. Each `ethernet` has a number of configuration options. You don't need to define each interface by their names inside the `ethernets` mapping. You can use any name that describes the interface and match the actual network card using the `match` key. The general configuration structure for ethernets is shown below. |
There was a problem hiding this comment.
It's not necessarily interface names, but can be generic IDs (if combined with a match stanza)
maybe use "IDs" instead of "interface names"
doc/netplan-yaml.md
Outdated
|
|
||
| **Purpose**: Use the `modems` key to configure Modems. GSM/CDMA modem configuration is only supported for the `NetworkManager` backend. `systemd-networkd` does not support modems. | ||
|
|
||
| **Structure**: The key consists of a mapping of modem names. Each `modem` has a number of configuration options. The general configuration structure for modems is shown below. |
There was a problem hiding this comment.
maybe replace "modem names" by "modem IDs"
doc/netplan-yaml.md
Outdated
|
|
||
| **Purpose**: Use the `tunnels` key to create different virtual tunnel interfaces. | ||
|
|
||
| **Structure**: The key consists of a mapping of tunnel names. Each `tunnel` requires the identification of the tunnel mode (see the section `mode` below for the list of supported modes). The general configuration structure for bridges is shown below. |
There was a problem hiding this comment.
"tunnel names" -> "tunnel interfaces"
"for bridges" -> "for tunnels"
doc/netplan-yaml.md
Outdated
|
|
||
| **Purpose**: Use the `vlans` key to create VLAN interfaces. | ||
|
|
||
| **Structure**: The key consists of a mapping of VLAN names. The interface used in the `link` option (`enp5s0` in the example below) must also be defined in the Netplan configuration. The general configuration structure for bridges is shown below. |
There was a problem hiding this comment.
"VLAN names" -> "VLAN interfaces"
"for bridges" -> "for vlans"
doc/netplan-yaml.md
Outdated
| The `nm-devices` device type is for internal use only and should not be used in | ||
| **Status**: Optional. Its use is not recommended. | ||
|
|
||
| **Purpose**: Use the `nm-devices` key to configure device types that are not supported by Netplan. This is Network Manager (NM) specific configuration. |
There was a problem hiding this comment.
"Network Manager (NM)" -> "NetworkManager"
doc/netplan-ip.md
Outdated
|
|
||
| ## NAME | ||
|
|
||
| netplan-ip - retrieve IP information from the system |
There was a problem hiding this comment.
| netplan-ip - retrieve IP information from the system | |
| netplan-ip - retrieve IP information (like DHCP leases) from the system |
Also below.
doc/netplan-ip.md
Outdated
|
|
||
| ## DHCP COMMANDS | ||
|
|
||
| **leases** `INTERFACE`: Displays IP leases |
There was a problem hiding this comment.
| **leases** `INTERFACE`: Displays IP leases | |
| **leases** `INTERFACE`: Displays DHCP IP leases |
doc/netplan-rebind.md
Outdated
|
|
||
| ## DESCRIPTION | ||
|
|
||
| **netplan rebind [netdevs]** rebinds SR-IOV virtual functions of given physical functions to their driver. |
There was a problem hiding this comment.
| **netplan rebind [netdevs]** rebinds SR-IOV virtual functions of given physical functions to their driver. | |
| **netplan rebind [interfaces]** rebinds SR-IOV virtual functions of given physical functions to their driver. |
Also below & above.
Adding man pages for all the commands. Improving the network types descriptions a little. Follow-up for #333 COMMITS: * docs: add missing manpages Add manpages for the commands "info", "ip", "rebind" and "status". * docs: improve the Netplan reference The list of network keys are indexing their respective sections. Each section was expanded with a short description and explanation about the network type with a small example. * doc: refine wording & formatting
Description
Adding man pages for all the commands.
Improving the network types descriptions a little.
Follow-up for #333
Checklist
make checksuccessfully.make check-coverage).