Skip to content

Commit

Permalink
added doc note about sr os config
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jan 27, 2021
1 parent cc9e1fb commit 28d258a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/manual/kinds/vr-sros.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ Data interfaces `eth1+` needs to be configured with IP addressing manually using
### Node configuration
vr-sros nodes come up with a basic "blank" configuration where only the card/mda are provisioned, as well as the management interfaces such as Netconf, SNMP, gNMI.

#### User defined config
It is possible to make SR OS nodes to boot up with a user-defined config instead of a built-in one. With a [`config`](../nodes.md#config) property of the node/kind a user sets the path to the config file that will be mounted to a container and used as a startup config:

```yaml
name: sros_lab
topology:
nodes:
sros:
kind: vr-sros
config: myconfig.txt
```
With such topology file containerlab is instructed to take a file `myconfig.txt` from the current working directory, copy it to the lab directory for that specific node under the `/tftpboot/config.txt` name and mount that dir to the container. This will result in this config to act as a startup config for the node.

### License
Path to a valid license must be provided for all vr-sros nodes with a [`license`](../nodes.md#license) directive.

Expand Down

0 comments on commit 28d258a

Please sign in to comment.