Set maximum limit to pmd-auth-lb options
The pmd-auto-lb options have maximum limits. Enforce the same limits at the parameter input to avoid passing unsupported values. Change-Id: Iea108300d67699f17407de364851566b0e2d875b
This commit is contained in:
parent
7c7609b318
commit
03b3d409d7
@ -119,9 +119,9 @@ class vswitch::dpdk (
|
|||||||
Boolean $enable_tso = false,
|
Boolean $enable_tso = false,
|
||||||
Boolean $vhost_postcopy_support = false,
|
Boolean $vhost_postcopy_support = false,
|
||||||
Boolean $pmd_auto_lb = false,
|
Boolean $pmd_auto_lb = false,
|
||||||
Optional[Integer[0]] $pmd_auto_lb_rebal_interval = undef,
|
Optional[Integer[0, 20000]] $pmd_auto_lb_rebal_interval = undef,
|
||||||
Optional[Integer[0]] $pmd_auto_lb_load_threshold = undef,
|
Optional[Integer[0, 100]] $pmd_auto_lb_load_threshold = undef,
|
||||||
Optional[Integer[0]] $pmd_auto_lb_improvement_threshold = undef,
|
Optional[Integer[0, 100]] $pmd_auto_lb_improvement_threshold = undef,
|
||||||
Hash $vs_config = {},
|
Hash $vs_config = {},
|
||||||
Boolean $skip_restart = false,
|
Boolean $skip_restart = false,
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user