Method: Puppet::Provider::Comware::Interface#netdev_resxml_top
- Defined in:
- lib/puppet/provider/comware/comware_interface.rb
#netdev_resxml_top(xml) ⇒ Object
override the method:add IfIndex as the get Index
98 99 100 101 |
# File 'lib/puppet/provider/comware/comware_interface.rb', line 98 def netdev_resxml_top(xml) xml.IfIndex resource[:ifindex] return xml end |