You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/devices.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,7 @@ Device parameters file can also include numerous *features*. The following featu
114
114
***features.initial.ipv6.lla** -- The device supports IPv6 interfaces using just link-local addresses.
115
115
***features.initial.ipv6.use_ra** -- The device (when running as a host) listens to IPv6 RA messages to generate a default route
116
116
***features.initial.roles** -- The list of roles a device can have (default: `[ router ]`)
117
+
***features.groups** -- The groups this device belongs to. You can set this feature to [`[ unprovisioned ]`](group-special-names) for devices that _netlab_ cannot configure yet. Don't forget to remove the **unprovisioned** group once you implement the Ansible [device configuration task list](dev-new-devices-configure).
117
118
118
119
```{tip}
119
120
Please note that the MTU used by netlab is always the layer-3 MTU. If your device expects layer-2 MTU configuration, add the size of the layer-2 header to the interface **mtu** variable.
@@ -207,6 +208,7 @@ features:
207
208
subif_name:
208
209
vxlan: true
209
210
```
211
+
210
212
## Vagrant Template File
211
213
212
214
If you'll use a Vagrant box to start the network device as a VM, you have to add a template that will generate the part of *Vagrantfile* (or *containerlab* configuration file) describing your virtual machine. See `netsim/templates/provider/...` directories for more details.
@@ -264,6 +266,7 @@ clab:
264
266
ansible_become_method: enable
265
267
```
266
268
269
+
(dev-new-devices-configure)=
267
270
## Configuring the Device
268
271
269
272
To configure your device (including initial device configuration), you'll have to create an Ansible task list that deploys configuration snippets onto your device. *netlab* merges configuration snippets with existing device configuration (instead of building a complete configuration and replacing it).
0 commit comments