Method: Cisco::Pim#bfd=

Defined in:
lib/cisco_node_utils/pim.rb

#bfd=(val) ⇒ Object



119
120
121
122
123
124
125
# File 'lib/cisco_node_utils/pim.rb', line 119

def bfd=(val)
  return if val == bfd
  state = val ? '' : 'no'
  set_args_keys(state: state)
  Feature.bfd_enable if val
  config_set('pim', 'bfd', @set_args)
end