Drop validation about max_header_size (for now)
This removes the validation about max_header_size using validate_legacy because the function has been deprecated since puppetlabs-stdlib v9.0.0. The validation may be added back when we implement consistent mechanism to validate all config options according to their types. Change-Id: Ie9f9e7bb1eba5e8b5eab8f0f7f736ffc7520d909
This commit is contained in:
parent
648bdb504a
commit
dce8849325
@ -114,9 +114,6 @@ define neutron::plugins::ml2::type_driver (
|
|||||||
}
|
}
|
||||||
elsif ($name == 'geneve') {
|
elsif ($name == 'geneve') {
|
||||||
validate_vni_ranges($vni_ranges)
|
validate_vni_ranges($vni_ranges)
|
||||||
if !is_service_default($max_header_size) {
|
|
||||||
validate_legacy(Integer, 'validate_integer', $max_header_size)
|
|
||||||
}
|
|
||||||
neutron_plugin_ml2 {
|
neutron_plugin_ml2 {
|
||||||
'ml2_type_geneve/max_header_size': value => $max_header_size;
|
'ml2_type_geneve/max_header_size': value => $max_header_size;
|
||||||
'ml2_type_geneve/vni_ranges': value => join(any2array($vni_ranges),',');
|
'ml2_type_geneve/vni_ranges': value => join(any2array($vni_ranges),',');
|
||||||
|
Loading…
Reference in New Issue
Block a user