Skip to content

Commit e4c93a6

Browse files
committed
Fix links to "Topology Defaults" document
1 parent af7ea2a commit e4c93a6

File tree

18 files changed

+22
-22
lines changed

18 files changed

+22
-22
lines changed

docs/caveats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ group_vars:
135135
netlab_ssh_args: "-o KexAlgorithms=+diffie-hellman-group-exchange-sha1 -o PubkeyAcceptedKeyTypes=ssh-rsa -o HostKeyAlgorithms=+ssh-rsa"
136136
```
137137

138-
You can change the additional SSH arguments with the node **netlab_ssh_args** parameter or with the **defaults.devices._device_.group_vars.netlab_ssh_args** [system default](defaults.md).
138+
You can change the additional SSH arguments with the node **netlab_ssh_args** parameter or with the **defaults.devices._device_.group_vars.netlab_ssh_args** [system default](topo-defaults).
139139

140140
Additionally, you might have to execute `sudo update-crypto-policies --set LEGACY` on AlmaLinux/RHEL.
141141

docs/customize.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
_netlab_ is designed to be highly extensible and customizable. Starting with the system settings, you can:
55

6-
* [Overwrite system defaults](defaults.md), either with user default files or in the lab topology.
6+
* [Overwrite system defaults](topo-defaults), either with user default files or in the lab topology.
77
* Change the [default device images](default-device-image) to run a specific software version in your lab.
88
* Change [system addressing pools](addressing.md) or define your own.
99

@@ -29,7 +29,7 @@ Finally, you might want to use external tools or devices not yet supported by _n
2929
* If you want to add unsupported devices to a lab but are willing to configure them manually, just [define them as _unknown_ devices](platform-unknown).
3030
* Adding [new functionality to an existing device](dev/device-features.md) or adding a new device to _netlab_ takes more effort. When adding a new device, it's easier to [define a new device](dev/device-box.md) and keep it _[unprovisioned](group-special-names)_ than going for a [full-blown implementation](dev/devices.md).
3131

32-
Regardless of how far you're willing to go, we'd appreciate if you decided to [contribute your changes](dev/guidelines.md), but it's perfectly fine to keep them private. The best part: you don't have to modify the _netlab_ package to get the job done; you could use [user defaults](defaults.md) to define new stuff, and user-defined configuration templates (see above) to configure it.
32+
Regardless of how far you're willing to go, we'd appreciate if you decided to [contribute your changes](dev/guidelines.md), but it's perfectly fine to keep them private. The best part: you don't have to modify the _netlab_ package to get the job done; you could use [user defaults](defaults-user-file) to define new stuff, and user-defined configuration templates (see above) to configure it.
3333

3434
```eval_rst
3535
.. toctree::

docs/defaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defaults)=
1+
(topo-defaults)=
22
# Topology Defaults
33

44
*netlab* has dozens of system defaults that specify:

docs/dev/config/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Unfortunately, the Nexus 9300v linecards become active almost a minute after com
145145
(change-search-paths)=
146146
## Changing and Troubleshooting Search Paths
147147

148-
The directory and filename search paths used by the **netlab initial** and **netlab config** commands are defined in the **paths** dictionary within the [system defaults](defaults). You can change these parameters or prepend/append another list to them:
148+
The directory and filename search paths used by the **netlab initial** and **netlab config** commands are defined in the **paths** dictionary within the [system defaults](topo-defaults). You can change these parameters or prepend/append another list to them:
149149

150150
* To change a search path list, set the corresponding **defaults.paths** variable in lab topology or user defaults.
151151
* To prepend a list of path components to a search path list, set the **defaults.paths.prepend._path_name_** list.

docs/extools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For the list of tool-specific parameters see the individual tool description.
2929
(tools-enable-default)=
3030
## Enabling Tools in User Defaults
3131

32-
You can change [user defaults](defaults.md) to start an external tool with every lab topology -- all you have to do is to set the **defaults.tools._toolname_.enabled** attribute to `True`.
32+
You can change [user defaults](defaults-user-file) to start an external tool with every lab topology -- all you have to do is to set the **defaults.tools._toolname_.enabled** attribute to `True`.
3333

3434
For example, to use Graphite GUI with every lab you start, add the following line to `~/.netlab.yml` file:
3535

docs/labs/clab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ During the **netlab up** process, *containerlab* starts the containers and repor
211211

212212
_vrnetlab_-based supported platforms go through an extra "_is the device ready_" check during the initial configuration process: _netlab_ tries to establish an SSH session with the device and execute a command. The SSH session is retried up to 20 times, and as each retry usually takes 30 seconds (due to TCP timeouts), **netlab initial** waits up to 10 minutes for a VM to become ready.
213213

214-
If your virtual machines take even longer to boot, increase the number of retries. You can set the **netlab_check_retries** node variable to increase the number of retries for an individual node or set the **defaults.devices._device_.clab.group_vars.netlab_check_retries** variable to increase the number of retries for a specific device (see also [](defaults) and [](defaults-user-file))
214+
If your virtual machines take even longer to boot, increase the number of retries. You can set the **netlab_check_retries** node variable to increase the number of retries for an individual node or set the **defaults.devices._device_.clab.group_vars.netlab_check_retries** variable to increase the number of retries for a specific device (see also [](topo-defaults) and [](defaults-user-file))
215215

216216
## Advanced Topics
217217

docs/links.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ Each link could have a **name** attribute. That attribute is copied into interfa
199199
200200
```{tip}
201201
* VLAN interfaces get interface names in the format `X -> [list]` where X is either the link or VLAN **‌name**, or VLAN description.
202-
* The maximum interface description length is 255 characters (limited by SNMP MIB-2) and can be changed with the `defaults.const.ifname.maxlength` [system parameter](defaults).
203-
* The interface description contains up to five neighbors. That limit can be changed with the `defaults.const.ifname.neighbors` [system parameter](defaults).
202+
* The maximum interface description length is 255 characters (limited by SNMP MIB-2) and can be changed with the `defaults.const.ifname.maxlength` [system parameter](topo-defaults).
203+
* The interface description contains up to five neighbors. That limit can be changed with the `defaults.const.ifname.neighbors` [system parameter](topo-defaults).
204204
```
205205

206206
### Example

docs/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Module parameters are dictionaries of values stored under the *module-name* key
139139
Node module parameters are adjusted based on topology parameters and default settings ([more details](dev/module-attributes.md)):
140140

141141
* For every node, the topology-level settings for modules used by that node are merged with the node-level settings.
142-
* Node settings are further adjusted with device-specific settings and [global system defaults](defaults.md)
142+
* Node settings are further adjusted with device-specific settings and [global system defaults](topo-defaults)
143143
* Final node-level settings are saved into expanded topology file or Ansible inventory, and used by configuration templates.
144144

145145
Link module parameters are not changed during the topology expansion. They are merged with interface data when individual interfaces are created during the topology transformation process. Interface module settings are later augmented with module-specific subset of node data (example: OSPF area).

docs/netlab/capture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(netlab-capture)=
22
# Packet Capture
33

4-
The **netlab capture** command can be used to capture packets on [*libvirt* virtual machines](libvirt-capture) or [*containerlab*-created Docker containers](lab-clab). The default packet capturing program is `tcpdump`; you can change that with the [default settings](defaults).
4+
The **netlab capture** command can be used to capture packets on [*libvirt* virtual machines](libvirt-capture) or [*containerlab*-created Docker containers](lab-clab). The default packet capturing program is `tcpdump`; you can change that with the [default settings](topo-defaults).
55

66
```{warning}
77
You cannot capture traffic on point-to-point links between *‌libvirt* virtual machines; you have to change them into Linux bridges ([more details](libvirt-capture)).
@@ -74,7 +74,7 @@ tcpdump: listening on swp1, link-type EN10MB (Ethernet), snapshot length 262144
7474

7575
## Changing the Packet-Capturing Utility
7676

77-
**netlab capture** uses **tcpdump** as the default packet-capturing utility. You can change that with the **defaults.netlab.capture.command** parameter ([default changing details](defaults)). The command you specify must include the `{intf}` string at the point where the packet-capturing utility expects the interface name.
77+
**netlab capture** uses **tcpdump** as the default packet-capturing utility. You can change that with the **defaults.netlab.capture.command** parameter ([default changing details](topo-defaults)). The command you specify must include the `{intf}` string at the point where the packet-capturing utility expects the interface name.
7878

7979
To change the default parameters passed to the packet-capturing utility, change the **defaults.netlab.capture.command_args** parameter.
8080

docs/nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You cannot specify the device types or any other node attributes when using this
3434
The [topology transformation process](dev/transform.md) converts the **nodes** element specified as a list of strings into a dictionary of dictionaries before further processing.
3535

3636
```{tip}
37-
Node names can have up to 16 characters. To increase the maximum node name length, set the `defaults.const.MAX_NODE_ID_LENGTH` attribute (see also: [changing defaults](defaults.md)).
37+
Node names can have up to 16 characters. To increase the maximum node name length, set the `defaults.const.MAX_NODE_ID_LENGTH` attribute (see also: [changing defaults](topo-defaults)).
3838
```
3939

4040
### Dictionary of Nodes

0 commit comments

Comments
 (0)