Expose new paramter NovaMDEVTypes
This change adds new paramter NovaMDEVTypes to support generic mdev_types paramters. Change-Id: I6ca40dfd8eaf97bbbee50f16b81c292e3b324bac
This commit is contained in:
parent
9d95441f0f
commit
a5e0818735
@ -603,6 +603,20 @@ parameters:
|
||||
default: {}
|
||||
tags:
|
||||
- role_specific
|
||||
NovaMDEVTypes:
|
||||
type: json
|
||||
description: |
|
||||
Map of mdev type(s) the instances can get as key and value is hash containing
|
||||
device_addresses and mdev_class as keys and corresponding values for those as value.
|
||||
Ex. NovaMDEVTypes: {'nvidia-35': {'device_addresses': ['0000:84:00.0', '0000:85:00.0']},
|
||||
'nvidia-36': {'device_addresses': ['0000:86:00.0'] },
|
||||
'mlx5_core-local': {'device_addresses': ['0000:86:00.0'], 'mdev_class': 'mlx5'} }
|
||||
where `nvidia-35`, `nvidia-36 and `mlx5_core-local are mdev_types as keys and values contain
|
||||
hash with device_addresses as key and list of device_addresses as value and mdev_class as
|
||||
key with mdev_class value.
|
||||
default: {}
|
||||
tags:
|
||||
- role_specific
|
||||
NovaComputeDisableIrqBalance:
|
||||
default: false
|
||||
description: Whether to disable irqbalance on compute nodes or not. Especially
|
||||
@ -955,6 +969,7 @@ resources:
|
||||
nova::compute::image_cache::remove_unused_original_minimum_age_seconds: NovaImageCacheTTL
|
||||
nova::compute::libvirt::swtpm_enabled: NovaEnableVTPM
|
||||
nova::compute::vgpu::vgpu_types_device_addresses_mapping: NovaVGPUTypesDeviceAddressesMapping
|
||||
nova::compute::mdev::mdev_types: NovaMDEVTypes
|
||||
compute_disable_irqbalance: NovaComputeDisableIrqBalance
|
||||
nova::compute::libvirt::cpu_mode: NovaLibvirtCPUMode
|
||||
nova::compute::libvirt::cpu_models: NovaLibvirtCPUModels
|
||||
@ -1057,6 +1072,7 @@ resources:
|
||||
NovaPMEMNamespaces: {get_param: NovaPMEMNamespaces}
|
||||
NovaImageCacheTTL: {get_param: NovaImageCacheTTL}
|
||||
NovaVGPUTypesDeviceAddressesMapping: {get_param: NovaVGPUTypesDeviceAddressesMapping}
|
||||
NovaMDEVTypes: {get_param: NovaMDEVTypes}
|
||||
NovaComputeDisableIrqBalance: {get_param: NovaComputeDisableIrqBalance}
|
||||
NovaLibvirtCPUMode: {get_param: NovaLibvirtCPUMode}
|
||||
NovaLibvirtCPUModels: {get_param: NovaLibvirtCPUModels}
|
||||
|
4
releasenotes/notes/mdev_types-84da20d1791afbd2.yaml
Normal file
4
releasenotes/notes/mdev_types-84da20d1791afbd2.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add parameter `NovaMDEVTypes` to provide support for generic mdev_type.
|
Loading…
Reference in New Issue
Block a user