1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

M #-: dummy driver enabled (#2677) (#2716)

This commit is contained in:
vichansson 2023-09-07 17:43:56 +03:00 committed by GitHub
parent c5392d08b8
commit d57ff44ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ import {
sentenceCase,
} from 'client/utils'
const { kvm, vcenter, firecracker } = HYPERVISORS
const { kvm, vcenter, firecracker, dummy } = HYPERVISORS
const numaPinPolicies = Object.keys(NUMA_PIN_POLICIES)
const ENABLE_NUMA = {
@ -250,7 +250,7 @@ const NUMA_SCHEMA = (hypervisor) =>
const { ENABLE_NUMA: isEnabled, ...restOfTopology } = TOPOLOGY
const hyperv = context?.general?.HYPERVISOR
if ([vcenter, kvm].includes(hyperv) && isEnabled) {
if ([vcenter, kvm, dummy].includes(hyperv) && isEnabled) {
if (
restOfTopology?.NODE_AFFINITY &&
restOfTopology.PIN_POLICY === NUMA_PIN_POLICIES.NODE_AFFINITY