From e13befebbb5e930cdf24b7907c0ded297cdf2f07 Mon Sep 17 00:00:00 2001 From: sig9 Date: Sat, 16 Mar 2024 14:48:35 +0900 Subject: [PATCH 1/2] Add Extreme EXOS/VOSS. --- node-definitions/extreme/README.md | 3 + node-definitions/extreme/exos/README.md | 19 ++++++ node-definitions/extreme/exos/exos.yaml | 72 +++++++++++++++++++++ node-definitions/extreme/voss/README.md | 19 ++++++ node-definitions/extreme/voss/voss.yaml | 86 +++++++++++++++++++++++++ 5 files changed, 199 insertions(+) create mode 100644 node-definitions/extreme/README.md create mode 100644 node-definitions/extreme/exos/README.md create mode 100644 node-definitions/extreme/exos/exos.yaml create mode 100644 node-definitions/extreme/voss/README.md create mode 100644 node-definitions/extreme/voss/voss.yaml diff --git a/node-definitions/extreme/README.md b/node-definitions/extreme/README.md new file mode 100644 index 0000000..c1be2e4 --- /dev/null +++ b/node-definitions/extreme/README.md @@ -0,0 +1,3 @@ +# Extreme Node Definitions + +Here you will find collections of Extreme node definitions. diff --git a/node-definitions/extreme/exos/README.md b/node-definitions/extreme/exos/README.md new file mode 100644 index 0000000..e1ba7ca --- /dev/null +++ b/node-definitions/extreme/exos/README.md @@ -0,0 +1,19 @@ +# Virtual EXOS Node Definitions + +This directory contains the following node definition: + +* `exos.yaml` - [Virtual EXOS](https://github.com/extremenetworks/Virtual_EXOS) node definitions + +### Image Availability + +Images for the Virtual EXOS can be downloaded by anyone from https://github.com/extremenetworks/Virtual_EXOS. + +### Default Specification + +|Item|Value| +|-----|-----| +|CPU|1| +|Memory (GB)|0.5| +|Serial Console|1| +|Username|`admin`| +|Password|(None)| diff --git a/node-definitions/extreme/exos/exos.yaml b/node-definitions/extreme/exos/exos.yaml new file mode 100644 index 0000000..2632b44 --- /dev/null +++ b/node-definitions/extreme/exos/exos.yaml @@ -0,0 +1,72 @@ +id: exos +boot: + timeout: 250 + completed: + - Authentication Service (AAA) on the master node is now available for login. +configuration: + generator: + driver: null + provisioning: + files: + - name: meta-data + content: "" + editable: true + media_type: iso + volume_name: disk +device: + interfaces: + default_count: 4 + has_loopback_zero: false + physical: + - Mgmt + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + serial_ports: 1 +general: + description: ExtremeXOS VM + nature: switch + read_only: true +inherited: + image: + boot_disk_size: false + cpus: true + data_volume: true + ram: true + node: + boot_disk_size: false + cpus: true + data_volume: true + ram: true +pyats: + os: linux +schema_version: 0.0.1 +sim: + linux_native: + cpus: 1 + disk_driver: ide + driver: server + libvirt_domain_driver: kvm + nic_driver: rtl8139 + ram: 512 +ui: + description: |- + The ExtremeXOS VM is created and maintained by Extreme Networks for users to emulate a network using EXOS switches. + Boot up and login is admin with no password. + + [Virtual_EXOS](https://github.com/extremenetworks/Virtual_EXOS) + [Documentation](https://www.extremenetworks.com/support/documentation) + group: Others + icon: switch + label: EXOS + label_prefix: exos- + visible: true diff --git a/node-definitions/extreme/voss/README.md b/node-definitions/extreme/voss/README.md new file mode 100644 index 0000000..df5a8da --- /dev/null +++ b/node-definitions/extreme/voss/README.md @@ -0,0 +1,19 @@ +# Virtual VOSS Node Definitions + +This directory contains the following node definition: + +* `voss.yaml` - [Virtual VOSS](https://github.com/extremenetworks/Virtual_VOSS) node definitions + +### Image Availability + +Images for the Virtual VOSS can be downloaded by anyone from https://github.com/extremenetworks/Virtual_VOSS + +### Default Specification + +|Item|Value| +|-----|-----| +|CPU|1| +|Memory (GB)|2| +|Serial Console|1| +|Username|`rwa`| +|Password|`rwa`| diff --git a/node-definitions/extreme/voss/voss.yaml b/node-definitions/extreme/voss/voss.yaml new file mode 100644 index 0000000..f861e38 --- /dev/null +++ b/node-definitions/extreme/voss/voss.yaml @@ -0,0 +1,86 @@ +id: voss +boot: + timeout: 250 + completed: + - EXTREME NETWORKS Fabric Engine COMMAND LINE INTERFACE +configuration: + generator: + driver: null + provisioning: + files: + - name: meta-data + content: "" + editable: true + media_type: iso + volume_name: disk +device: + interfaces: + default_count: 4 + has_loopback_zero: false + physical: + - Mgmt + - "1/1" + - "1/2" + - "1/3" + - "1/4" + - "1/5" + - "1/6" + - "1/7" + - "1/8" + - "1/9" + - "1/10" + - "1/11" + - "1/12" + - "1/13" + - "1/14" + - "1/15" + - "1/16" + - "1/17" + - "1/18" + - "1/19" + - "1/20" + - "1/21" + - "1/22" + - "1/23" + - "1/24" + - "1/25" + - "1/26" + serial_ports: 1 +general: + description: VOSS VM (VSP8K switch) + nature: switch + read_only: true +inherited: + image: + boot_disk_size: false + cpus: true + data_volume: true + ram: true + node: + boot_disk_size: false + cpus: true + data_volume: true + ram: true +pyats: + os: linux +schema_version: 0.0.1 +sim: + linux_native: + cpus: 1 + disk_driver: ide + driver: server + libvirt_domain_driver: kvm + nic_driver: e1000 + ram: 2048 +ui: + description: |- + The VOSS VM is a software emulation of a VSP8K switch. + Boot up and login is rwa/rwa. + + [Virtual_VOSS](https://github.com/extremenetworks/Virtual_VOSS) + [Documentation](https://www.extremenetworks.com/support/documentation) + group: Others + icon: switch + label: VOSS + label_prefix: voss- + visible: true From 6b88be10d1b669e4aef152d363550a41b7cd2436 Mon Sep 17 00:00:00 2001 From: sig9 Date: Thu, 25 Jul 2024 09:21:32 +0900 Subject: [PATCH 2/2] Add Windows Server 2022 definition. --- .../{Server 2019 => Server2019}/Readme.md | 14 ++++-- .../win2019.yaml} | 5 +- .../microsoft/Server2022/Readme.md | 22 +++++++++ .../microsoft/Server2022/win2022.yaml | 49 +++++++++++++++++++ .../{Windows 10 => Windows10}/Readme.md | 0 .../{Windows 10 => Windows10}/Windows 10.yaml | 0 .../microsoft/win2019/win2019.yaml | 8 +++ .../microsoft/win2022/win2022.yaml | 8 +++ 8 files changed, 101 insertions(+), 5 deletions(-) rename node-definitions/microsoft/{Server 2019 => Server2019}/Readme.md (52%) rename node-definitions/microsoft/{Server 2019/winServer2019.yaml => Server2019/win2019.yaml} (89%) create mode 100644 node-definitions/microsoft/Server2022/Readme.md create mode 100644 node-definitions/microsoft/Server2022/win2022.yaml rename node-definitions/microsoft/{Windows 10 => Windows10}/Readme.md (100%) rename node-definitions/microsoft/{Windows 10 => Windows10}/Windows 10.yaml (100%) create mode 100644 virl-base-images/microsoft/win2019/win2019.yaml create mode 100644 virl-base-images/microsoft/win2022/win2022.yaml diff --git a/node-definitions/microsoft/Server 2019/Readme.md b/node-definitions/microsoft/Server2019/Readme.md similarity index 52% rename from node-definitions/microsoft/Server 2019/Readme.md rename to node-definitions/microsoft/Server2019/Readme.md index 6a4ddd9..aedee83 100644 --- a/node-definitions/microsoft/Server 2019/Readme.md +++ b/node-definitions/microsoft/Server2019/Readme.md @@ -2,13 +2,21 @@ This directory contains the following node definition: -* `winServer2019.yaml` - Microsoft Windows Server 2019 node definition +* `win2019.yaml` - Microsoft Windows Server 2019 node definition ### Image Availability VHD images can be downloaded from microsoft on a trial basis here: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019 -Then the VHD image will have to be converted to a .qcow2 format. Linux qumu-img makes it easy. Documentation: https://docs.openstack.org/image-guide/convert-images.html +Then the VHD image will have to be converted to a .qcow2 format. Linux qumu-img makes it easy. Documentation: https://docs.openstack.org/image-guide/convert-images.html + +For example: + +```sh +qemu-img convert -f vpc -O qcow2 \ + 17763.737.amd64fre.rs5_release_svc_refresh.190906-2324_server_serverdatacentereval_en-us_1.vhd \ + 17763.737.amd64fre.rs5_release_svc_refresh.190906-2324_server_serverdatacentereval_en-us_1.qcow2 +``` ### Notes -This node definition uses 16g of RAM and 4vcpu's. Anything less than that and it tends to become buggy. +This node definition uses 16g of RAM and 4vcpu's. Anything less than that and it tends to become buggy. diff --git a/node-definitions/microsoft/Server 2019/winServer2019.yaml b/node-definitions/microsoft/Server2019/win2019.yaml similarity index 89% rename from node-definitions/microsoft/Server 2019/winServer2019.yaml rename to node-definitions/microsoft/Server2019/win2019.yaml index 650a1df..103af4c 100644 --- a/node-definitions/microsoft/Server 2019/winServer2019.yaml +++ b/node-definitions/microsoft/Server2019/win2019.yaml @@ -1,5 +1,6 @@ id: win2019 general: + description: Windows Server 2019 nature: server read_only: false device: @@ -11,9 +12,9 @@ device: default_count: 1 ui: visible: true - label_prefix: win2019 + label_prefix: win2019- icon: server - label: win2019 + label: Windows Server 2019 sim: linux_native: libvirt_domain_driver: kvm diff --git a/node-definitions/microsoft/Server2022/Readme.md b/node-definitions/microsoft/Server2022/Readme.md new file mode 100644 index 0000000..c5c665b --- /dev/null +++ b/node-definitions/microsoft/Server2022/Readme.md @@ -0,0 +1,22 @@ +# Microsoft Server 2022 + +This directory contains the following node definition: + +* `win2022.yaml` - Microsoft Windows Server 2022 node definition + +### Image Availability + +VHD images can be downloaded from microsoft on a trial basis here: https://info.microsoft.com/ww-landing-windows-server-2022.html +Then the VHD image will have to be converted to a .qcow2 format. Linux qumu-img makes it easy. Documentation: https://docs.openstack.org/image-guide/convert-images.html + +For example: + +```sh +qemu-img convert -f vpc -O qcow2 \ + 20348.169.amd64fre.fe_release_svc_refresh.210806-2348_server_serverdatacentereval_en-us.vhd \ + 20348.169.amd64fre.fe_release_svc_refresh.210806-2348_server_serverdatacentereval_en-us.qcow2 +``` + +### Notes + +This node definition uses 16g of RAM and 4vcpu's. Anything less than that and it tends to become buggy. diff --git a/node-definitions/microsoft/Server2022/win2022.yaml b/node-definitions/microsoft/Server2022/win2022.yaml new file mode 100644 index 0000000..357c2b5 --- /dev/null +++ b/node-definitions/microsoft/Server2022/win2022.yaml @@ -0,0 +1,49 @@ +id: win2022 +general: + description: Windows Server 2022 + nature: server + read_only: false +device: + interfaces: + has_loopback_zero: false + physical: + - eth0 + serial_ports: 1 + default_count: 1 +ui: + visible: true + label_prefix: win2022- + icon: server + label: Windows Server 2022 +sim: + linux_native: + libvirt_domain_driver: kvm + driver: server + disk_driver: sata + ram: 16384 + cpus: 4 + cpu_limit: 100 + nic_driver: e1000 + boot_disk_size: 64 + video: + model: cirrus + memory: 16 +boot: + timeout: 300 +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: server +schema_version: 0.0.1 diff --git a/node-definitions/microsoft/Windows 10/Readme.md b/node-definitions/microsoft/Windows10/Readme.md similarity index 100% rename from node-definitions/microsoft/Windows 10/Readme.md rename to node-definitions/microsoft/Windows10/Readme.md diff --git a/node-definitions/microsoft/Windows 10/Windows 10.yaml b/node-definitions/microsoft/Windows10/Windows 10.yaml similarity index 100% rename from node-definitions/microsoft/Windows 10/Windows 10.yaml rename to node-definitions/microsoft/Windows10/Windows 10.yaml diff --git a/virl-base-images/microsoft/win2019/win2019.yaml b/virl-base-images/microsoft/win2019/win2019.yaml new file mode 100644 index 0000000..889024f --- /dev/null +++ b/virl-base-images/microsoft/win2019/win2019.yaml @@ -0,0 +1,8 @@ +id: win2019 +node_definition_id: win2019 +description: Windows Server 2019 +label: Windows Server 2019 +disk_image: 17763.737.amd64fre.rs5_release_svc_refresh.190906-2324_server_serverdatacentereval_en-us_1.qcow2 +read_only: false +disk_subfolder: win2019 +schema_version: 0.0.1 diff --git a/virl-base-images/microsoft/win2022/win2022.yaml b/virl-base-images/microsoft/win2022/win2022.yaml new file mode 100644 index 0000000..b38c417 --- /dev/null +++ b/virl-base-images/microsoft/win2022/win2022.yaml @@ -0,0 +1,8 @@ +id: win2022 +node_definition_id: win2022 +description: Windows Server 2022 +label: Windows Server 2022 +disk_image: 20348.169.amd64fre.fe_release_svc_refresh.210806-2348_server_serverdatacentereval_en-us.qcow2 +read_only: false +disk_subfolder: win2022 +schema_version: 0.0.1