Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added vJUNOS and vROUTER node definitions. #57

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
73928cd
Create README.MD
CML-TAC Jul 20, 2021
496f420
Update README.MD
CML-TAC Jul 27, 2021
a795b13
Merge branch 'CiscoDevNet:master' into master
CML-TAC Dec 17, 2021
74b1126
Created readme
CML-TAC Jan 6, 2022
b0a0183
fixed typo
CML-TAC Jan 6, 2022
14c90cd
added node def
CML-TAC Jan 10, 2022
bf650c5
Delete README.md
CML-TAC Jan 10, 2022
86c3575
Delete winServer2019.yaml
CML-TAC Jan 10, 2022
cface5f
Add files via upload
CML-TAC Jan 10, 2022
7d22d97
updated
CML-TAC Jan 10, 2022
69e16bd
windows 2019
CML-TAC Jan 10, 2022
8bfa0f2
added server 2019
CML-TAC Jan 10, 2022
a6b7390
updated readme
CML-TAC Jan 10, 2022
653602c
updated
CML-TAC Jan 10, 2022
bc3424d
added node definitions
CML-TAC Jan 10, 2022
0bf8dad
added readme
CML-TAC Jan 11, 2022
329a467
added node def
CML-TAC Jan 11, 2022
55df04f
added readme
CML-TAC Jan 11, 2022
b9e754e
added node def
CML-TAC Jan 11, 2022
54ba521
added readme
CML-TAC Jan 11, 2022
b3f9fe0
added node def
CML-TAC Jan 11, 2022
311e786
added readme
CML-TAC Jan 11, 2022
84a7a7c
fixed typo
CML-TAC Jan 11, 2022
c605186
added node def
CML-TAC Jan 11, 2022
165800d
already exists
CML-TAC Jan 11, 2022
63e5e70
Merge branch 'CiscoDevNet:master' into master
CML-TAC Mar 17, 2022
38a1fe6
updated fields
CML-TAC Apr 12, 2022
0828a10
Merge branch 'CiscoDevNet:master' into master
CML-TAC Nov 21, 2022
471d055
Update winServer2019.yaml
CML-TAC Nov 21, 2022
c98efc9
Update winServer2019.yaml
CML-TAC Nov 21, 2022
cf8e10c
Create nxosv9500-148.yaml
CML-TAC Nov 21, 2022
5a58a5f
Create readme.md
CML-TAC Nov 21, 2022
0266fa9
Update readme.md
CML-TAC Nov 21, 2022
4138fe6
Delete README.MD
CML-TAC Nov 21, 2022
ce13d03
Update readme.md
CML-TAC Nov 25, 2022
52f2dbf
Rename node-definitions/cisco/NXOSv 9500 128 ports/nxosv9500-148.yaml…
CML-TAC Nov 25, 2022
4123691
Merge branch 'CiscoDevNet:master' into master
CML-TAC Nov 30, 2022
5c84c09
Create README.MD
CML-TAC Nov 30, 2022
43e580b
Delete node-definitions/cisco/NXOSv 9500 128 ports directory
CML-TAC Nov 30, 2022
adfa1bf
Merge branch 'CiscoDevNet:master' into master
CML-TAC Nov 26, 2024
b13d517
Add files via upload
CML-TAC Nov 26, 2024
26acc95
Delete node-definitions/juniper/vjunos-router.yaml
CML-TAC Nov 26, 2024
5b52bd2
Create vjunos-switch.yaml
CML-TAC Nov 26, 2024
bed66e0
Merge branch 'CiscoDevNet:master' into master
CML-TAC Feb 25, 2025
b6f7ca2
Create README.MD
CML-TAC Feb 25, 2025
c1aad81
Create README.MD
CML-TAC Feb 25, 2025
1dd2cc3
Update README.MD
CML-TAC Feb 25, 2025
aad2ca7
Update README.MD
CML-TAC Feb 25, 2025
98f1465
Created vjunos-router.yaml
CML-TAC Feb 25, 2025
46e0c73
Update README.MD
CML-TAC Feb 25, 2025
2bd90d7
Update README.MD
CML-TAC Feb 25, 2025
df61e96
Created vJUNOS SWITCH
CML-TAC Feb 25, 2025
30a8d76
Update README.MD
CML-TAC Feb 25, 2025
505a34d
Created vJUNOS ROUTER
CML-TAC Feb 25, 2025
cb00291
Add vJUNOS SWITCH
CML-TAC Feb 25, 2025
7717814
Add vJUNOS SWITCH
CML-TAC Feb 25, 2025
71b8182
vJUNOS ROUTER node definition
CML-TAC Feb 25, 2025
5d9d2c7
vJUNOS SWITCH node definition and Instructions
CML-TAC Feb 25, 2025
bc6b555
Update README.MD
CML-TAC Feb 25, 2025
15fa32f
Update vjunos-switch.yaml
CML-TAC Feb 25, 2025
f0935a9
Update nd_validation.yaml
CML-TAC Feb 25, 2025
534a98e
Update nd_validation.yaml
CML-TAC Feb 25, 2025
ee3dea3
Update nd_validation.yaml
CML-TAC Feb 25, 2025
0c55a8a
Update nd_validation.yaml
CML-TAC Feb 26, 2025
bce50ef
Delete node-definitions/juniper/vJunos-Router/vjunos-router.yaml
CML-TAC Feb 26, 2025
ce4b78d
Add files via upload
CML-TAC Feb 26, 2025
b94f85c
Delete node-definitions/juniper/vJunos-Switch/vjunos-switch.yaml
CML-TAC Feb 26, 2025
916c5a7
Add files via upload
CML-TAC Feb 26, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/nd_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ jobs:
with:
jsonSchemaFile: validation_schemas/node_definition.json
yamlFiles: node-definitions/**/*.yaml

11 changes: 11 additions & 0 deletions node-definitions/juniper/vJunos-Router/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# vJUNOS ROUTER
This directory contains the following node definition:

*`vjunos-router.yaml` - vJUNOS ROUTER
### Image Availability
Image can be downloaded from https://support.juniper.net/support/downloads/?p=vjunos-router

### Notes
Minimum CML version 2.8.0

Tested with vJUNOS ROUTER image version 23.2
154 changes: 154 additions & 0 deletions node-definitions/juniper/vJunos-Router/vjunos-router.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
id: vjunos-router
general:
nature: router
description: vJunos Router
read_only: false
device:
interfaces:
has_loopback_zero: true
loopback:
- lo
management:
- fxp0
physical:
- fxp0
- ge-0/0/0
- ge-0/0/1
- ge-0/0/2
- ge-0/0/3
- ge-0/0/4
- ge-0/0/5
- ge-0/0/6
- ge-0/0/7
- ge-0/0/8
- ge-0/0/9
- ge-0/0/10
- ge-0/0/11
- ge-0/0/12
- ge-0/0/13
- ge-0/0/14
- ge-0/0/15
- ge-0/0/16
- ge-0/0/17
- ge-0/0/18
- ge-0/0/19
- ge-0/0/20
- ge-0/0/21
- ge-0/0/22
- ge-0/0/23
- ge-0/0/24
- ge-0/0/25
- ge-0/0/26
- ge-0/0/27
- ge-0/0/28
- ge-0/0/29
- ge-0/0/30
- ge-0/0/31
- ge-0/0/32
serial_ports: 1
default_count: 4
min_count: 3
ui:
description: |-
Juniper vJunos Router
6 GB RAM (min 5 GB), 4 vCPU

Works only on bare metal CML instance, or VM with enabled performance counters
visible: true
label_prefix: vjunos-router-
icon: router
label: vJunos Router
sim:
linux_native:
libvirt_domain_driver: kvm
driver: server
ram: 6144
cpus: 4
cpu_limit: 100
disk_driver: virtio
nic_driver: virtio
parameters:
smbios.system.product: VM-VMX
smbios.system.family: lab
boot:
timeout: 600
uses_regex: true
completed:
- 'login:'
inherited:
image:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
node:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
configuration:
generator:
driver: null
provisioning:
volume_name: vmm-data
media_type: fat
files:
- name: config/juniper.conf
editable: true
content: |-
system {
host-name inserhostname-here;
root-authentication {
## ciscoCML
encrypted-password "$6$vhzKhjZL$wSDZ2NB0oyRfnnCz7B.4iyWzNFxy4NBeEm3vtMA5fy5EVCTLTgqRAc.cXz1H9UZ.dtynRzO/HRtO7KW1nwfE8/"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
processes {
dhcp-service {
traceoptions {
file dhcp_logfile size 10m;
level all;
flag packet;
}
}
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
dhcp {
}
}
}
}
}
- name: cml-customizer.sh
editable: false
content: |-
#!/bin/bash
tar czf vmm-config.tgz config/juniper.conf
rm -rf config
- name: cml-partition.cfg
editable: false
content: 'off'
pyats:
os: junos
use_in_testbed: true
config_extract_command: show configuration
username: root
password: ciscoCML
schema_version: 0.0.1
11 changes: 11 additions & 0 deletions node-definitions/juniper/vJunos-Switch/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# vJUNOS SWITCH
This directory contains the following node definition:

*`vjunos-switch.yaml` - vJUNOS SWITCH
### Image Availability
Image can be downloaded from https://support.juniper.net/support/downloads/?p=vjunos-switch

### Notes
Minimum CML version 2.8.

Tested with vJUNOS SWITCH image version 23.2
154 changes: 154 additions & 0 deletions node-definitions/juniper/vJunos-Switch/vjunos-switch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
id: vjunos-switch
general:
nature: switch
description: vJunos Switch
read_only: false
device:
interfaces:
has_loopback_zero: true
loopback:
- lo
management:
- fxp0
physical:
- fxp0
- ge-0/0/0
- ge-0/0/1
- ge-0/0/2
- ge-0/0/3
- ge-0/0/4
- ge-0/0/5
- ge-0/0/6
- ge-0/0/7
- ge-0/0/8
- ge-0/0/9
- ge-0/0/10
- ge-0/0/11
- ge-0/0/12
- ge-0/0/13
- ge-0/0/14
- ge-0/0/15
- ge-0/0/16
- ge-0/0/17
- ge-0/0/18
- ge-0/0/19
- ge-0/0/20
- ge-0/0/21
- ge-0/0/22
- ge-0/0/23
- ge-0/0/24
- ge-0/0/25
- ge-0/0/26
- ge-0/0/27
- ge-0/0/28
- ge-0/0/29
- ge-0/0/30
- ge-0/0/31
- ge-0/0/32
serial_ports: 1
default_count: 4
min_count: 3
ui:
description: |-
Juniper vJunos Switch
6 GB RAM (min 5 GB), 4 vCPU

Works only on bare metal CML instance, or VM with enabled performance counters
visible: true
label_prefix: vjunos-switch-
icon: switch
label: vJunos Switch
sim:
linux_native:
libvirt_domain_driver: kvm
driver: server
ram: 6144
cpus: 4
cpu_limit: 100
disk_driver: virtio
nic_driver: virtio
parameters:
smbios.system.product: VM-VEX
smbios.system.family: lab
boot:
timeout: 600
uses_regex: true
completed:
- 'login:'
inherited:
image:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
node:
ram: true
cpus: true
cpu_limit: true
data_volume: true
boot_disk_size: true
configuration:
generator:
driver: null
provisioning:
volume_name: vmm-data
media_type: fat
files:
- name: config/juniper.conf
editable: true
content: |-
system {
host-name inserhostname-here;
root-authentication {
## ciscoCML
encrypted-password "$6$vhzKhjZL$wSDZ2NB0oyRfnnCz7B.4iyWzNFxy4NBeEm3vtMA5fy5EVCTLTgqRAc.cXz1H9UZ.dtynRzO/HRtO7KW1nwfE8/"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
processes {
dhcp-service {
traceoptions {
file dhcp_logfile size 10m;
level all;
flag packet;
}
}
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
dhcp {
}
}
}
}
}
- name: cml-customizer.sh
editable: false
content: |-
#!/bin/bash
tar czf vmm-config.tgz config/juniper.conf
rm -rf config
- name: cml-partition.cfg
editable: false
content: 'off'
pyats:
os: junos
use_in_testbed: true
config_extract_command: show configuration
username: root
password: ciscoCML
schema_version: 0.0.1
Loading