The provided examples in the *.cf files can be applied on Nokia SR-OS devices either on:
- On a router that you already have and by changing the IP address, port, etc... in the examples
- Using containerlab with the provided topology file.
It is worthwhile to mention that you need to have a Nokia SR-OS image or Docker image present on the host machine running containerlab and having it tagged similar to the topology file; in this case: vrnetlab/vr-sros:20.10.R1. In order to convert your image to a Docker image, please check this guide.
Inmanta Service Orchestrator is another containerized piece that can supply a GUI, providing many useful information such as deployment process, agents status and so much more. This container is not a necessity to try out these examples but it is nice to have. We can provide access to it if you contact us.
In order to deploy the provided topology file with containerlab go to the containerlab directory where the topology file is present and:
Verify that the required Docker images are present:
docker imagesThe output should be similar to:
ubuntu@lab~$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
code.inmanta.com/vr-sros 20.10.R1 2bbcd01bcc9f 7 months ago 989MB
vrnetlab/vr-sros 20.10.R1 2bbcd01bcc9f 7 months ago 989MB
inmanta dev 7e787600e8b1 2 weeks ago 881MB
postgres 13 7e787600e8a1 2 weeks ago 205MBIf you do not see an output as depicted, it means you do not have those docker images present and need to acquire them from the vendor.
Note:
inmantaandpostgresDocker images are optional and only required if you want to use theService Orchestrator. The license files should be placed underinmanta/serverdirectory.
Deploy the topology:
sudo clab deploy -t topology.ymlAfter the successful deployment, from the machine running the containerlab you can SSH to each router using the default credentials admin:admin:
ssh admin@clab-CBCI-nokia-router-a
ssh admin@clab-CBCI-nokia-router-bNokia routers do not need a manual copy and paste of their configuration.
containerlabwill automatically take care of it.
View the current state:
sudo clab inspect -t topology.ymlDelete the deployed LAB:
sudo clab destroy -t topology.yml