Files
securityonion/salt/soc/dyanno/hypervisor/hypervisor.yaml
2025-02-27 16:04:44 -05:00

88 lines
2.4 KiB
YAML

hypervisor:
hosts:
defaultHost:
title: defaultHost
description: "Hypervisor Configuration"
syntax: json
file: true
global: true
uiElements:
- field: hostname
label: "Hostname"
forcedType: string
required: true
readonly: true
- field: role
label: "Role"
required: true
readonly: true
options:
- searchnode
- sensor
- receiver
- idh
- heavynode
- fleet
- field: network_mode
label: "Choose static4 or dhcp4. If static4, populate IP details below."
required: true
readonly: true
options:
- static4
- dhcp4
- field: ip4
label: "IP Address with netmask. ex. 192.168.1.10/24"
forcedType: string
regex: '^(\d{1,3}\.){3}\d{1,3}/\d{1,2}$'
regexFailureMessage: "Enter a properly formatted CIDR address"
readonly: true
- field: gw4
label: "Gateway"
forcedType: string
regex: '^(\d{1,3}\.){3}\d{1,3}$'
regexFailureMessage: "Enter a properly formatted IP address"
readonly: true
- field: dns4
label: "DNS. Comma separated list. ex. 192.168.1.1,8.8.8.8"
forcedType: string
regex: '^(\d{1,3}\.){3}\d{1,3}$'
regexFailureMessage: "Enter a properly formatted IP address"
readonly: true
- field: search4
label: "Search domain"
forcedType: string
readonly: true
- field: cpu
label: "CPU cores to assign. Free: FREE | Total: TOTAL"
forcedType: int
required: true
readonly: true
- field: memory
label: "Memory to assign, in GB. Free: FREE | Total: TOTAL"
required: true
readonly: true
forcedType: int
- field: disk
label: "Disk(s) for passthrough. Free: FREE | Total: TOTAL"
readonly: true
options: []
forcedType: '[]int'
- field: copper
label: "Copper port(s) for passthrough. Free: FREE | Total: TOTAL"
readonly: true
options: []
forcedType: '[]int'
- field: sfp
label: "SFP port(s) for passthrough. Free: FREE | Total: TOTAL"
readonly: true
options: []
forcedType: '[]int'
- field: powercontrol
label: "Execute VM power operations"
options:
- Start
- Reboot
- Shutdown
- Reset
- Stop