Nokia SR Linux¶
Nokia SR Linux is a container based image.
Base Image¶
Base images can be obtained from the Nokia SR Linux github container registry.
Import image¶
Pull the image through Sherpa:
sherpa server image pull --model nokia_srlinux --version 26.3.1
Sherpa records the version, so a lab can use it. An image already pulled with the docker CLI
is not known to Sherpa until it is scanned. The scan records each local tag of ghcr.io/nokia/srlinux as a
version:
docker pull ghcr.io/nokia/srlinux:26.3.1
sherpa server image scan --kind container
Sherpa's startup config is tested on release 26.3.1. It configures DNS as a
dns-instance named mgmt, which SR Linux takes from release 26, so earlier releases reject it.
Default Node Parameters¶
| Property | Value |
|---|---|
| Kind | Container |
| CPU | Not limited |
| RAM | Not limited |
| ZTP | volume |
| Management Interface | mgmt0 |
| Data Interfaces | eth-1/1-34 |
| Interface Driver | macvlan |
Example Manifest¶
name = "nokia-srlinux"
[[nodes]]
name = "dev01"
model = "nokia_srlinux"
version = "26.3.1"
Node Access¶
sherpa ssh <node-name>
docker exec -it <node-name>-<lab-id> sh
Notes¶
- Approximate time for the system to be ready:
1 minute - With
ztp.method = "disabled"the node is the image as shipped: it starts with the image's own configuration, so once it has booted it has no management IP address, and it has nosherpalogin. Nothing answers on the address the lab reserved for it, andsherpa sshcannot reach it. Reach it withdocker exec -it <node-name>-<lab-id> sr_cli. The node'svolumesfrom the manifest are mounted, so you can supply a configuration of your own.