Skip to content

Commit

Permalink
Added VyOS
Browse files Browse the repository at this point in the history
Add Check Point Gaia node and image definition  (#43)

* Adds Check Point Gaia security appliances

* add a readme

* Moving path to allow other CP platforms

Remove min_count property.

Add some warning text about how best to use ISE.

Use markdown properly.

Add Windows Server 2022. (#45)

Add a link to Katherine's blog on getting ISE eval.

Bump documented memory to 256 MB.

Improve out of the box use of FTDv.

Submitted by:	Tomas Mikuska

Allow for a min_count for interfaces.

Improve out of the box use.

Submitted by:	Tomas Mikuska

Correct interface numbering.

Make the day0 proper JSON.

Added VyOS

Add files via upload

Create readme.md

Added instructions to get VyOS qcow2 image

Update readme.md

Added VyOS image definition

Delete node-definitions/vyos/vyos.md

Create README.md

Update README.md

Update README.md
  • Loading branch information
jclarke-csco authored and conceptual-perception committed Sep 23, 2024
1 parent 33c10d7 commit 2e5fffd
Show file tree
Hide file tree
Showing 22 changed files with 427 additions and 36 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ This project was written and is maintained by the following individuals:
* Ozzy Schoonover <[email protected]>
* Alexander Deca <[email protected]>
* Xinyu Wei <[email protected]>
* Kelly Christians <[email protected]>
* Kelly Christians <[email protected]>
* Ariadne Haske <[email protected]>
12 changes: 12 additions & 0 deletions lab-topologies/ccna/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CCNA Exam Scenarios

In this directory you will find CML sample labs with a twist. Each of these correspond to tasks one will see
in the [CCNA Exam Topics](https://learningnetwork.cisco.com/s/ccna-exam-topics) list. Each one of these
labs comes in two forms: an initial scenario, and a solution.

In the Lab Notes of the initial scenario, you will find an exercise or set of exercises to complete around the
respective CCNA exam topic. If you get stuck or want to see an example solution to the exercise(s) the solution
lab will be the same topology with the devices configured correctly.

**Good luck on your studies!**

86 changes: 86 additions & 0 deletions node-definitions/check-point/gaia/gaia.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
id: gaia
general:
description: Check Point Gaia Security Appliance
nature: firewall
read_only: false
device:
interfaces:
has_loopback_zero: true
physical:
- eth0
- eth1
- eth2
- eth3
- eth4
- eth5
- eth6
- eth7
- eth8
serial_ports: 1
default_count: 3
loopback:
- lo
ui:
visible: true
label_prefix: cp-gaia-
icon: firewall
label: Check Point Gaia
sim:
linux_native:
libvirt_domain_driver: kvm
driver: server
disk_driver: virtio
ram: 6144
cpus: 4
nic_driver: virtio
cpu_limit: 100
video:
model: virtio
memory: 32
boot:
timeout: 250
uses_regex: false
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: disk
media_type: iso
files:
- name: user_data
content: |-
#cloud-config
system:
hostname: insert_hostname_here
ntp1:
address: ntp.checkpoint.com
version: 4
ntp2:
address: ntp2.checkpoint.com
version: 4
interfaces:
- name: eth0
ipv4-address: DHCP
editable: true
schema_version: 0.0.1
pyats:
os: gaia
use_in_testbed: false
username: admin
password: Password1
config_extract_command: show configuration
13 changes: 12 additions & 1 deletion node-definitions/cisco/ise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@

This directory contains a node definition for the Cisco Identity Services Engine (ISE).


**⚠️ The smallest ISE image is still large. It is recommended to run ISE outside of CML and use external
connectivity to have it communicate with the virtual lab. ⚠️**

### Image Availability

The image for ISE can be found at https://software.cisco.com/download/home/283801620/type/283802505/. There is no specific
If you have a support contract and general download access, you can find the image for ISE at
https://software.cisco.com/download/home/283801620/type/283802505/. If not, ISE is provided as an eval
(see **Known Issues** below), and you can find the instructions for obtaining it in this
[blog](https://sendthepayload.com/getting-your-hands-on-identity-services-engine-and-installing-it/).
Note: you only need to follow the instructions to obtain the image. Installing it into CML requires the
conversion an upload as described below.

There is no specific
QCOW2 for ISE, however. You can convert the OVA's VMDK to QCOW2 using the `qemu-img` command:

```sh
Expand Down
18 changes: 9 additions & 9 deletions node-definitions/cisco/ngfw/fmcv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ui:
description: |-
Cisco Firepower Management Center Virtual Appliance
28 GB DRAM, 4 vCPUs
32 GB DRAM, 4 vCPUs
[CCO Link](https://www.cisco.com/c/en/us/td/docs/security/firepower/quick_start/fmcv/fpmc-virtual.html)
label_prefix: fmcv-
Expand All @@ -28,13 +28,13 @@ sim:
libvirt_domain_driver: kvm
driver: server
disk_driver: virtio
ram: 28672
ram: 32768
cpus: 4
cpu_limit: 100
nic_driver: virtio
data_volume: 250
data_volume: 256
boot:
timeout: 1200
timeout: 1800
completed:
- 'login:'
inherited:
Expand All @@ -52,19 +52,18 @@ inherited:
boot_disk_size: false
configuration:
generator:
driver: server
driver: null
provisioning:
volume_name: day0
media_type: iso
files:
- name: day0-config
editable: true
content: |-
#FMC
{
"EULA": "accept",
"Hostname": "fmvc",
"AdminPassword": "Admin123",
"AdminPassword": "Cisco1@3",
"DNS1": "",
"DNS2": "",
"IPv4Mode": "dhcp",
Expand All @@ -74,9 +73,10 @@ configuration:
"IPv6Mode": "disabled",
"IPv6Addr": "",
"IPv6Mask": "",
"IPv6Gw": "",
"IPv6Gw": ""
}
schema_version: 0.0.1
pyats:
os: linux
use_in_testbed: true
username: admin
password: Cisco1@3
29 changes: 15 additions & 14 deletions node-definitions/cisco/ngfw/ftdv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ device:
interfaces:
has_loopback_zero: false
physical:
- Management
- Diagnostic
- Outside
- Inside
- Data1
- Data2
- Data3
- Data4
- Data5
- Data6
- Management0/0
- donotuse1
- GigabitEthernet0/0
- GigabitEthernet0/1
- GigabitEthernet0/2
- GigabitEthernet0/3
- GigabitEthernet0/4
- GigabitEthernet0/5
- GigabitEthernet0/6
- GigabitEthernet0/7
serial_ports: 1
default_count: 4
min_count: 4
ui:
visible: true
description: |-
Expand Down Expand Up @@ -47,7 +48,8 @@ boot:
- 'login:'
pyats:
os: fxos
use_in_testbed: true
username: admin
password: Cisco1@3
inherited:
image:
ram: true
Expand All @@ -63,19 +65,18 @@ inherited:
boot_disk_size: false
configuration:
generator:
driver: asav
driver: null
provisioning:
volume_name: day0
media_type: iso
files:
- name: day0-config
editable: true
content: |-
#Firepower Threat Defense
{
"EULA": "accept",
"Hostname": "ftdv",
"AdminPassword": "Admin123",
"AdminPassword": "Cisco1@3",
"FirewallMode": "routed",
"DNS1": "",
"DNS2": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
id: win2019
general:
description: Windows Server 2019
nature: server
read_only: false
device:
interfaces:
has_loopback_zero: false
physical:
- eth0
- eth1
- eth2
- eth3
- eth4
- eth5
- eth6
- eth7
serial_ports: 1
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
Expand Down
22 changes: 22 additions & 0 deletions node-definitions/microsoft/Server2022/Readme.md
Original file line number Diff line number Diff line change
@@ -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.
56 changes: 56 additions & 0 deletions node-definitions/microsoft/Server2022/win2022.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
id: win2022
general:
description: Windows Server 2022
nature: server
read_only: false
device:
interfaces:
has_loopback_zero: false
physical:
- eth0
- eth1
- eth2
- eth3
- eth4
- eth5
- eth6
- eth7
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
Loading

0 comments on commit 2e5fffd

Please sign in to comment.