From a374190984aa236b042f1b2dfe1e12478ff6868a Mon Sep 17 00:00:00 2001 From: Vladislav Odintsov Date: Thu, 29 Apr 2021 13:12:07 +0300 Subject: [PATCH] vxlan: support explicit arp_nd_suppress disablement Signed-off-by: Vladislav Odintsov --- README.md | 2 +- lib/puppet/type/cumulus_vxlan.rb | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 2dd7e4b..f2c434f 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ The following CLAG-related attributes are also available. If CLAG is enabled, yo * `mstpctl_bpduguard` - Enable BPDU guard on a VLAN-aware trunk. * `location` - Location of the configuration snippets directory. Default is `/etc/network/interfaces.d/`. * `access` - For bridging, a type of port that is non-trunking. For dot1x an IP source address or network that will be serviced (an integer from 1 to 4094). -* `arp_nd_suppress` - ARP ND suppression. Valid value: `'on'`. +* `arp_nd_suppress` - ARP ND suppression. Valid values: `'on'`, `'off'`. * `learning` - The bridge port learning flag. Valid value: `'off'`. * `mstpctl_portbpdufilter` - BPDU filter on a port. Valid values: `true` or `false`. * `mstpctl_bpduguard` - Bridge Protocol Data Unit guard. Valid values: `true` or `false`. diff --git a/lib/puppet/type/cumulus_vxlan.rb b/lib/puppet/type/cumulus_vxlan.rb index 7af606b..805a588 100644 --- a/lib/puppet/type/cumulus_vxlan.rb +++ b/lib/puppet/type/cumulus_vxlan.rb @@ -46,9 +46,6 @@ def retrieve newparam(:arp_nd_suppress) do desc 'ARP ND suppression' - munge do |value| - @resource.validate_value(value, 'on') - end end newparam(:learning) do