Skip to content

Commit d602b5e

Browse files
committed
updated templates
1 parent 36f3b89 commit d602b5e

8 files changed

Lines changed: 104 additions & 0 deletions

templates/device.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"nso-packages-path": "<packages-path>",
3+
"download-neds": true,
4+
"neds": [
5+
"<ned1-link>",
6+
"<ned2-link>"
7+
],
8+
"compile-neds": true,
9+
"start-devices": true,
10+
"add-to-nso": true,
11+
"add-authgroup-to-nso": true,
12+
"authgroup": {
13+
"type": "custom",
14+
"path": "<authgroup-file-path>"
15+
},
16+
"device-mode": {
17+
"name-based": {
18+
"<ned-name>": [
19+
"device1",
20+
"device2"
21+
]
22+
}
23+
},
24+
"load-day0-config": true,
25+
"config-path": "<path>",
26+
"config-files": [
27+
"<filename0>",
28+
"<filename1>"
29+
]
30+
}

templates/device.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
nso-packages-path: <packages-path>
2+
download-neds: true
3+
neds:
4+
- <ned1-link>
5+
- <ned2-link>
6+
compile-neds: true
7+
start-devices: true
8+
add-to-nso: true
9+
add-authgroup-to-nso: true
10+
authgroup:
11+
type: custom
12+
path: <authgroup-file-path>
13+
device-mode:
14+
name-based:
15+
<ned-name>:
16+
- device1
17+
- device2
18+
load-day0-config: true
19+
config-path: <path>
20+
config-files:
21+
- <filename0>
22+
- <filename1>

templates/network.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"nso-packages-path": "<packages-path>",
3+
"download-neds": true,
4+
"neds": [
5+
"<ned1-link>",
6+
"<ned2-link>"
7+
],
8+
"compile-neds": true,
9+
"start-devices": true,
10+
"add-to-nso": true,
11+
"add-authgroup-to-nso": true,
12+
"authgroup": {
13+
"type": "custom",
14+
"path": "<authgroup-file-path>"
15+
},
16+
"device-mode": {
17+
"prefix-based": {
18+
"<ned-name>": {
19+
"count": 2,
20+
"prefix": "<prefix>"
21+
}
22+
}
23+
},
24+
"load-day0-config": true,
25+
"config-path": "<path>",
26+
"config-files": [
27+
"<filename0>",
28+
"<filename1>"
29+
]
30+
}

templates/network.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
nso-packages-path: <packages-path>
2+
download-neds: true
3+
neds:
4+
- <ned1-link>
5+
- <ned2-link>
6+
compile-neds: true
7+
start-devices: true
8+
add-to-nso: true
9+
add-authgroup-to-nso: true
10+
authgroup:
11+
type: custom
12+
path: <authgroup-file-path>
13+
device-mode:
14+
prefix-based:
15+
<ned-name>:
16+
count: 2
17+
prefix: <prefix>
18+
load-day0-config: true
19+
config-path: <path>
20+
config-files:
21+
- <filename0>
22+
- <filename1>

0 commit comments

Comments
 (0)