Skip to content

Commit

Permalink
remove builtin config
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Sep 14, 2021
1 parent aeb73c9 commit 5b4fd34
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1,283 deletions.
6 changes: 3 additions & 3 deletions docs/manual/kinds/srl.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Based on the provided type, containerlab will generate the topology file that wi
### Node configuration
SR Linux uses a `/etc/opt/srlinux/config.json` file to persist its configuration. By default containerlab starts nodes of `srl` kind with a basic "default" config, and with the `startup-config` parameter it is possible to provide a custom config file that will be used as a startup one.
#### Default node configuration
When a node is defined without the `startup-config` statement present, containerlab will generate an basic config from [this template](https://github.com/srl-labs/containerlab/blob/master/nodes/srl/srl.cfg):
When a node is defined without the `startup-config` statement present, containerlab will make [additional configurations](https://github.com/srl-labs/containerlab/blob/master/nodes/srl/srl.go#L38) on top of the factory config:

```yaml
# example of a topo file that does not define a custom startup-config
# as a result, the config will be generated from a template
# and used by this node
# as a result, the default configuration will be used by this node

name: srl_lab
topology:
nodes:
Expand Down
Loading

0 comments on commit 5b4fd34

Please sign in to comment.