Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tfs/controller
1 result
Show changes
Commits on Source (2)
# ContainerLab
The setup consists of a management network for configuring and managing nodes.
srl1 and srl2 are interconnected.
client1 is connected to srl1 and client2 to srl2.
Routing between client1 and client2 is set up via the Nokia SR Linux nodes.
## Management Network
Name: mgmt-net
Subnet: 172.100.100.0/24
## Node Kinds
Nokia SR Linux: Image ghcr.io/nokia/srlinux:23.10.3
Linux: Image ghcr.io/hellt/network-multitool
## Nodes
### Nokia SR Linux
- Type: ixr6
- CPU: 0.5
- Memory: 2GB
- Management IP: 172.100.100.101
The provided SR Linux CLI commands in the _srl.cli_ enables system management and configures the GNMI server with OpenConfig models.
### Linux
Assigns IP 172.16.1.10/24 to eth1 and adds route to 172.16.2.0/24 via 172.16.1.1
In this topology file, the clients are pre-configured with the respectivly IP addresses in their interfaces and routes in their IP tables.
### Links
- Connect srl1:e1-1 to srl2:e1-1
- Connect client1:eth1 to srl1:e1-2
- Connect client2:eth1 to srl2:e1-2
```yaml
exec:
- ip address add 172.16.1.10/24 dev eth1
- ip route add 172.16.2.0/24 via 172.16.1.1
```
\ No newline at end of file
set / system management openconfig admin-state enable
set / system gnmi-server network-instance mgmt yang-models openconfig
\ No newline at end of file
...@@ -33,14 +33,14 @@ topology: ...@@ -33,14 +33,14 @@ topology:
cpu: 0.5 cpu: 0.5
memory: 2GB memory: 2GB
mgmt-ipv4: 172.100.100.101 mgmt-ipv4: 172.100.100.101
startup-config: srl1.cli startup-config: srl.cli
srl2: srl2:
kind: nokia_srlinux kind: nokia_srlinux
type: ixr6 type: ixr6
cpu: 0.5 cpu: 0.5
memory: 2GB memory: 2GB
mgmt-ipv4: 172.100.100.102 mgmt-ipv4: 172.100.100.102
startup-config: srl2.cli startup-config: srl.cli
client1: client1:
kind: linux kind: linux
cpu: 0.1 cpu: 0.1
......