Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions tele-config/gnmic.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# Copyright 2023 Nokia
# Licensed under the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause

# © 2022 Nokia.
#
# This code is a Contribution to the gNMIc project (“Work”) made under the Google Software Grant and Corporate Contributor License Agreement (“CLA”) and governed by the Apache License 2.0.
# No other rights or licenses in or to any of Nokia’s intellectual property are granted for any other purpose.
# This code is provided on an “as is” basis without any warranties of any kind.
#
# SPDX-License-Identifier: Apache-2.0

username: admin
password: NokiaSros1!
insecure: true
encoding: json_ietf
log: true

targets:
#SROS
# SROS
R01-IXR:57400:
R02-IXR:57400:
R03-IXR:57400:
Expand Down Expand Up @@ -46,14 +34,14 @@ subscriptions:
- /state/oam-pm
stream-mode: sample
sample-interval: 10s
outputs:

outputs:
prom-output:
type: prometheus
listen: "gnmic:9804"
strings-as-labels: true
service-registration:
address: consul-agent:8500
address: consul-agent:8500
event-processors:
- up-down-map

Expand Down
62 changes: 26 additions & 36 deletions topo.clab.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
name: srv6
prefix: ""
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The management network configuration has been removed, which means the topology will use ContainerLab's default management network settings. This could break existing deployments that rely on the 'net3' network name or the specific IPv4 subnet '172.20.20.0/24'. All nodes still reference static IPs in this subnet (e.g., 172.20.20.102), which may conflict if the default network uses a different subnet.

Suggested change
prefix: ""
prefix: ""
mgmt:
network: net3
ipv4-subnet: 172.20.20.0/24

Copilot uses AI. Check for mistakes.

mgmt:
network: net3 # management network name
ipv4-subnet: 172.20.20.0/24 # ipv4 range

topology:
defaults:
kind: nokia_sros
kinds:
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'nokia_sros' kind configuration and the 'defaults' section have been removed. This removes the fallback configuration for any nodes that may have been using 'nokia_sros' as their kind. If any nodes in the topology were implicitly using the default kind 'nokia_sros', they will no longer have a valid configuration.

Copilot uses AI. Check for mistakes.
nokia_sros:
image: registry.srlinux.dev/pub/nokia_sros:24.10.R1
license: ../license-sros24.txt
nokia_srsim:
image: registry.srlinux.dev/pub/nokia_srsim:25.7.R1
license: ../license-srsim25.txt
linux:
image: ghcr.io/mfzhsn/network-multitool-sshd:0.0.2
nodes:
# Ring-1: RSVP access ring
R01-IXR: #IXR-R6
# Ring-1: RSVP access ring
R01-IXR: # IXR-R6
kind: nokia_srsim
type: ixr-r6
env:
Expand All @@ -30,17 +21,17 @@ topology:
ports:
- 50101:22
- 50102:57400
- 50103:830
R02-IXR: #IXR-e2
- 50103:830
R02-IXR: # IXR-e2
kind: nokia_srsim
type: ixr-e2
type: ixr-e2
startup-config: ./startup_config/R02-IXR.partial.txt
mgmt-ipv4: 172.20.20.102
ports:
- 50201:22
- 50202:57400
- 50203:830
R03-IXR: #IXR-R6
R03-IXR: # IXR-R6
kind: nokia_srsim
type: ixr-r6
env:
Expand All @@ -65,7 +56,7 @@ topology:
- 50402:57400
- 50403:830
# Core SRv6
R05-SR: #SR-1 (ASBR)
R05-SR: # SR-1 (ASBR)
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R05-SR.partial.txt
Expand All @@ -74,7 +65,7 @@ topology:
- 50501:22
- 50502:57400
- 50503:830
R06-SR: #SR-1 (ASBR)
R06-SR: # SR-1 (ASBR)
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R06-SR.partial.txt
Expand All @@ -83,7 +74,7 @@ topology:
- 50601:22
- 50602:57400
- 50603:830
R07-SR: #SR-1
R07-SR: # SR-1
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R07-SR.partial.txt
Expand All @@ -92,7 +83,7 @@ topology:
- 50701:22
- 50702:57400
- 50703:830
R08-SR: #SR-1
R08-SR: # SR-1
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R08-SR.partial.txt
Expand All @@ -101,7 +92,7 @@ topology:
- 50801:22
- 50802:57400
- 50803:830
R09-SR: #SR-1
R09-SR: # SR-1
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R09-SR.partial.txt
Expand All @@ -110,7 +101,7 @@ topology:
- 50901:22
- 50902:57400
- 50903:830
R10-SR: #SR-1
R10-SR: # SR-1
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R10-SR.partial.txt
Expand All @@ -119,7 +110,7 @@ topology:
- 51001:22
- 51002:57400
- 51003:830
R11-SR: #SR-1 (ASBR)
R11-SR: # SR-1 (ASBR)
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R11-SR.partial.txt
Expand All @@ -128,7 +119,7 @@ topology:
- 51101:22
- 51102:57400
- 51103:830
R12-SR: #SR-1 (ASBR)
R12-SR: # SR-1 (ASBR)
kind: nokia_srsim
type: sr-1
startup-config: ./startup_config/R12-SR.partial.txt
Expand All @@ -138,7 +129,7 @@ topology:
- 51202:57400
- 51203:830
# Ring-2: SRv6 access ring
R13-IXR: #IXR-R6d
R13-IXR: # IXR-R6d
kind: nokia_srsim
type: ixr-r6d
components:
Expand All @@ -149,11 +140,11 @@ topology:
NOKIA_SROS_MDA_1: m5-100g-qsfp28
startup-config: ./startup_config/R13-IXR.partial.txt
mgmt-ipv4: 172.20.20.113
ports:
ports:
- 51301:22
- 51302:57400
- 51303:830
R14-IXR: #IXR-e2
R14-IXR: # IXR-e2
kind: nokia_srsim
type: ixr-e2
startup-config: ./startup_config/R14-IXR.partial.txt
Expand All @@ -162,7 +153,7 @@ topology:
- 51401:22
- 51402:57400
- 51403:830
R15-IXR: #IXR-R6d
R15-IXR: # IXR-R6d
kind: nokia_srsim
type: ixr-r6d
components:
Expand All @@ -177,22 +168,22 @@ topology:
- 51501:22
- 51502:57400
- 51503:830
R16-IXR: #IXR-e2
R16-IXR: # IXR-e2
kind: nokia_srsim
type: ixr-e2
startup-config: ./startup_config/R16-IXR.partial.txt
mgmt-ipv4: 172.20.20.116
ports:
- 51601:22
- 51602:57400
- 51603:830
- 51603:830
tester1:
kind: linux
mgmt-ipv4: 172.20.20.120
exec:
- ip link add link eth1 name eth1.10 type vlan id 10
- ifconfig eth1.10 192.168.0.1
- ifconfig eth1.10 netmask 255.255.255.0
- ifconfig eth1.10 netmask 255.255.255.0
tester2:
kind: linux
mgmt-ipv4: 172.20.20.121
Expand Down Expand Up @@ -253,16 +244,15 @@ topology:
- ifconfig eth1.1316 10.13.16.16
- ifconfig eth1.1316 netmask 255.255.255.0

#################################################################################################################################################
#Telemetry
#################################################################################################################################################
#################################################################################################################################################
#Telemetry
#################################################################################################################################################
gnmic:
kind: linux
image: ghcr.io/openconfig/gnmic
mgmt-ipv4: 172.20.20.150
binds:
- ./tele-config/gnmic.yaml:/app/gnmic.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
cmd: "--config /app/gnmic.yaml --log subscribe"

consul-agent:
Expand Down Expand Up @@ -298,10 +288,10 @@ topology:
- ./tele-config/grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yaml:ro
- ./tele-config/grafana/dashboards:/var/lib/grafana/dashboards
ports:
- 3000:3000
- 3000:3000

links:
#Connections
#Connections
- endpoints: ["R01-IXR:1/1/5", "R02-IXR:1/1/c3/1"]
- endpoints: ["R01-IXR:1/2/c7/1", "R03-IXR:1/2/c7/1"]
- endpoints: ["R01-IXR:1/1/1", "tester1:eth1"]
Expand Down