Remove deprecated virtio_nic

The parameter was deprecated during the previous cycle[1] and has had
no effect since then.

[1] 9101ad68bf

Change-Id: I7a885cd90b6ba1474ef01c22d2c9f2c5586b5dfd
This commit is contained in:
Takashi Kajinami
2023-01-05 15:19:05 +09:00
parent cd6df2a8af
commit e927990b17
2 changed files with 4 additions and 13 deletions

View File

@@ -253,12 +253,6 @@
# retries on failures
# Defaults to $::os_service_default
#
# DEPRECATED PARAMETERS
#
# [*virtio_nic*]
# (optional) Whether to use virtio for the nic driver of VMs
# Defaults to undef
#
class nova::compute (
$enabled = true,
$manage_service = true,
@@ -309,8 +303,6 @@ class nova::compute (
$image_type_exclude_list = $::os_service_default,
$block_device_allocate_retries = $::os_service_default,
$block_device_allocate_retries_interval = $::os_service_default,
# DEPRECATED PARAMETERS
$virtio_nic = undef,
) {
include nova::deps
@@ -449,11 +441,6 @@ class nova::compute (
nova_config { 'DEFAULT/force_config_drive': ensure => absent }
}
if $virtio_nic != undef {
warning('The nova::compute::virtio_nic parameter has been deprecated and has no effect.')
}
nova_config { 'DEFAULT/libvirt_use_virtio_for_bridges': ensure => absent }
if $instance_usage_audit and $instance_usage_audit_period in ['hour', 'day', 'month', 'year'] {
nova_config {
'DEFAULT/instance_usage_audit': value => $instance_usage_audit;

View File

@@ -0,0 +1,4 @@
---
upgrade:
- |
The ``nova::compute::virtio_nic`` parameter has been removed.