
... following the renaming in nova[1]. [1] ff4d0d002a35022df1cb71029ad82ad8f3b327df Change-Id: I166691118deaabc89d4bf351d2022ce7b72b26b0
25 lines
765 B
Puppet
25 lines
765 B
Puppet
# Class nova::compute::vgpu
|
|
#
|
|
# DEPRECATED !!
|
|
# Configures nova compute vgpu options
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*vgpu_types_device_addresses_mapping*]
|
|
# (optional) Map of vgpu type(s) the instances can get as key and list of
|
|
# corresponding device addresses as value.
|
|
# Defaults to undef
|
|
#
|
|
class nova::compute::vgpu(
|
|
$vgpu_types_device_addresses_mapping = undef,
|
|
) {
|
|
include nova::deps
|
|
|
|
if $vgpu_types_device_addresses_mapping != undef or ! defined(Class[nova::compute]) {
|
|
# NOTE(tkajinam): If the nova::compute class is not yet included then it is
|
|
# likely this class is included explicitly.
|
|
warning('The nova::compute::vgpu class is deprecated. Use the nova::compute::mdev class instead')
|
|
}
|
|
include nova::compute::mdev
|
|
}
|