-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy path2node-srl-with-config.pbtxt
60 lines (58 loc) · 1.7 KB
/
2node-srl-with-config.pbtxt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# this topology consists of two Nokia SR Linux IXR-D2 nodes running 22.6.1 release
# each of the nodes comes up with a startup config applied which is sourced from 22.6.1.cfg.json file
# the startup config already contains a self-signed TLS cert and has gnmi server enabled
# this allows users to deploy this topology and start using gnmi
name: "2srl-certs"
nodes: {
name: "r1"
type: NOKIA_SRL
config:{
# container image to use for this SR Linux pod
# can be cheked with `show version` cli command
image: "ghcr.io/nokia/srlinux:22.6.1"
# file property sets the path to the startup config file that srlinux will boot with
# the path is relative to the topology file
# this config file already contains tls profiles and gnmi server enabled
file: "22.6.1.cfg.json"
}
services:{
key: 22
value: {
name: "ssh"
inside: 22
}
}
services:{
key: 57400
value: {
name: "gnmi"
inside: 57400
}
}
}
nodes: {
name: "r2"
type: NOKIA_SRL
config:{
# container image to use for this SR Linux pod
# can be cheked with `show version` cli command
image: "ghcr.io/nokia/srlinux:22.6.1"
# file property sets the path to the startup config file that srlinux will boot with
# the path is relative to the topology file
# this config file already contains tls profiles and gnmi server enabled
file: "22.6.1.cfg.json"
}
services:{
key: 22
value: {
name: "ssh"
inside: 22
}
}
}
links: {
a_node: "r1"
a_int: "e1-1"
z_node: "r2"
z_int: "e1-1"
}