Method: Puppet::Provider::Comware::Interface#netdev_resxml_delete
- Defined in:
- lib/puppet/provider/comware/comware_interface.rb
#netdev_resxml_delete(xml) ⇒ Object
103 104 105 106 107 108 109 |
# File 'lib/puppet/provider/comware/comware_interface.rb', line 103 def netdev_resxml_delete(xml) if mod = xml.doc.at('Interfaces') mod['xc:operation'] = 'delete' end xml.IfIndex resource[:ifindex] end |