Resource example
# Configure the following attributes for Ethernet interface 2:
Interface description—ifindex2.
Management state—Up.
Interface rate—1 Gbps.
Duplex mode—Autonegotiation.
Link type—Hybrid.
Operation mode—Layer 3.
MTU—1500 bytes.
netdev_interface 'ifindex2' do ifindex 2 description 'ifindex2' admin 'up' speed '1g' duplex 'auto' linktype 'hybrid' portlayer 'route' mtu 1500 end