man: keyfile: complete the explanation of routes properties

Complete the explanations of routes properties, adding explanations for
routesN_option and routing-rules.
This commit is contained in:
Íñigo Huguet
2023-08-29 15:47:10 +02:00
parent 9d7644af5f
commit 03db294c5c
2 changed files with 38 additions and 0 deletions

View File

@@ -703,6 +703,15 @@ nm_setting_ip4_config_class_init(NMSettingIP4ConfigClass *klass)
* route2=7.7.0.0/16
* ---end---
*/
/* ---keyfile---
* property: routes (attributes)
* variable: route1_options, route2_options, ...
* format: key=val[,key=val...]
* description: Attributes defined for the routes, if any. The supported
* attributes are explained in ipv4.routes entry in `man nm-settings-nmcli`.
* example: route1_options=mtu=1000,onlink=true
* ---end---
*/
/* ---ifcfg-rh---
* property: routes
* variable: ADDRESS1, NETMASK1, GATEWAY1, METRIC1, OPTIONS1, ...
@@ -711,6 +720,16 @@ nm_setting_ip4_config_class_init(NMSettingIP4ConfigClass *klass)
* ---end---
*/
/* ---keyfile---
* property: routing-rules
* variable: routing-rule1, routing-rule2, ...
* format: routing rule string
* description: Routing rules as defined with `ip rule add`, but with mandatory
* fixed priority.
* example: routing-rule1=priority 5 from 192.167.4.0/24 table 45
* ---end---
*/
/* ---ifcfg-rh---
* property: ignore-auto-routes
* variable: PEERROUTES(+)

View File

@@ -714,6 +714,15 @@ nm_setting_ip6_config_class_init(NMSettingIP6ConfigClass *klass)
* example: route1=2001:4860:4860::/64,2620:52:0:2219:222:68ff:fe11:5403
* ---end---
*/
/* ---keyfile---
* property: routes (attributes)
* variable: route1_options, route2_options, ...
* format: key=val[,key=val...]
* description: Attributes defined for the routes, if any. The supported
* attributes are explained in ipv6.routes entry in `man nm-settings-nmcli`.
* example: route1_options=mtu=1000,onlink=true
* ---end---
*/
/* ---ifcfg-rh---
* property: routes
* variable: (none)
@@ -722,6 +731,16 @@ nm_setting_ip6_config_class_init(NMSettingIP6ConfigClass *klass)
* ---end---
*/
/* ---keyfile---
* property: routing-rules
* variable: routing-rule1, routing-rule2, ...
* format: routing rule string
* description: Routing rules as defined with `ip rule add`, but with mandatory
* fixed priority.
* example: routing-rule1=priority 5 from 2001:4860:4860::/64 table 45
* ---end---
*/
/* ---ifcfg-rh---
* property: ignore-auto-routes
* variable: IPV6_PEERROUTES(+)