mirror of
https://github.com/CiscoDevNet/cml-community.git
synced 2025-10-23 07:42:03 +00:00
Add an node definition for the UCS Platform Emulator.
This commit is contained in:
36
node-definitions/cisco/ucspe/README.md
Normal file
36
node-definitions/cisco/ucspe/README.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# UCS Platform Emulator (UCSPE)
|
||||
|
||||
## Introduction
|
||||
|
||||
The UCS Platform Emulator is an all-in-one VM that provides a UCS Fabric Interconnect/UCS Manager experience.
|
||||
It supports loadable firmware and compute operations.
|
||||
|
||||
The UCSPE releases are discussed in Cisco [community posts](https://community.cisco.com/t5/custom/page/page-id/customFilteredByMultiLabel?board=6011-docs-dc-ucs&labels=ucs%20platform%20emulator).
|
||||
|
||||
## Image Support
|
||||
|
||||
All UCSPE images should work in CML; however, KVM is not an officially supported hypervisor. To use UCSPE,
|
||||
download the respective OVA image from one of the version-specific community posts (the downloads require
|
||||
login and are linked from the community).
|
||||
|
||||
Then, extract the vmdk file from the OVA with the `tar` command. This is built-in on macOS and Linux, and
|
||||
you can perform these same steps on WSL on Windows.
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
tar -xf UCSPE_4.2.2aS9.ova UCSPE_4.2.2aS9-disk1.vmdk
|
||||
```
|
||||
|
||||
Next, convert the vmdk file to qcow2 format using the `qemu-img` tool (part of the `qemu` package).
|
||||
|
||||
Example:
|
||||
|
||||
```bash
|
||||
qemu-img convert -c -f vmdk -O qcow2 UCSPE_4.2.2aS9-disk1.vmdk ucspe_4.2.2aS9s.qcow2
|
||||
```
|
||||
|
||||
The `-c` argument is optional, but provides some compression, thus making for a smaller overall qcow2 file
|
||||
size.
|
||||
|
||||
Once converted, upload the qcow2 file to CML and create a new image definition for the _UCSPE_ node.
|
53
node-definitions/cisco/ucspe/ucspe.yaml
Normal file
53
node-definitions/cisco/ucspe/ucspe.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
id: ucspe
|
||||
general:
|
||||
description: UCS Platform Emulator
|
||||
nature: server
|
||||
read_only: false
|
||||
device:
|
||||
interfaces:
|
||||
has_loopback_zero: false
|
||||
physical:
|
||||
- ethernet0
|
||||
- ethernet1
|
||||
- ethernet2
|
||||
serial_ports: 1
|
||||
min_count: 3
|
||||
default_count: 3
|
||||
ui:
|
||||
visible: true
|
||||
description: UCS Platform Emulator
|
||||
label_prefix: ucspe-
|
||||
icon: server
|
||||
label: UCSPE
|
||||
sim:
|
||||
linux_native:
|
||||
libvirt_domain_driver: kvm
|
||||
driver: server
|
||||
disk_driver: virtio
|
||||
ram: 2048
|
||||
cpus: 1
|
||||
cpu_limit: 100
|
||||
nic_driver: e1000
|
||||
boot_disk_size: 20
|
||||
boot:
|
||||
timeout: 900
|
||||
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
|
||||
schema_version: 0.0.1
|
Reference in New Issue
Block a user