Fix minimum value of handler/revalidator_cores

n-revalidator-threads and n-handler-threads does not accept 1 and
the value should be >= 1.

Change-Id: I4428b241290a238610aa46419a1e7abd2c8afbb9
This commit is contained in:
Takashi Kajinami 2023-11-10 02:25:32 +09:00
parent fc34b4cd49
commit 6e019b361b
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ class vswitch::dpdk (
Boolean $enable_hw_offload = false,
Boolean $disable_emc = false,
Optional[Integer[0]] $vlan_limit = undef,
Optional[Integer[0]] $revalidator_cores = undef,
Optional[Integer[0]] $handler_cores = undef,
Optional[Integer[1]] $revalidator_cores = undef,
Optional[Integer[1]] $handler_cores = undef,
Boolean $enable_tso = false,
Boolean $vhost_postcopy_support = false,
Boolean $pmd_auto_lb = false,