Method: Cisco::Pim#destroy

Defined in:
lib/cisco_node_utils/pim.rb

#destroyObject

This destroy method is different than most because pim does not have a “container” for properties, they simply exist in a given vrf context. For that reason destroy needs to explicitly set each property to its default state.



90
91
92
93
94
# File 'lib/cisco_node_utils/pim.rb', line 90

def destroy
  return unless Feature.pim_enabled?
  self.ssm_range = ''
  self.bfd = false
end