Resource example

# Configure the following attributes for Ethernet interface 2:

netdev_interface 'ifindex2' do
 ifindex 2
 description 'ifindex2'
 admin 'up'
 speed '1g'
 duplex 'auto'
 linktype 'hybrid'
 portlayer 'route'
 mtu 1500
end