Resource Type: netdev_interface
- Defined in:
- lib/puppet/type/netdev_interface.rb
- Providers:
-
netdev_interface
Overview
Manage physical network interfaces,e.g GigabitEthernet0/1
Properties
-
admin
The admin status of the interface [Up|Down]
Supported values:- up
- down
-
description
Interface physical port description
-
duplex
Duplex mode [FULL|HALF|AUTO]
Supported values:- full
- half
- auto
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
- shutdown (alias for: absent)
- undo_shutdown (alias for: present)
-
linktype
Supported values:
- access
- trunk
- hybrid
-
mtu
Interface Maximum Transmission Unit in bytes
-
portlayer
“”
Supported values:- bridge
- route
-
speed
Link speed [1:auto*|2:10m|4:100m|8:155m|16:622m|32:1g|64:2g|128:2.5g|256:4g|512:8g
|1024:10g|2048:16g|4096:20g|8192:40g|16384:100g]
Supported values:- auto
- 10m
- 100m
- 155m
- 622m
- 1g
- 2g
- 2.5g
- 4g
- 8g
- 10g
- 16g
- 20g
- 40g
- 100g
Parameters
-
ifindex
The index of the interface
- name (namevar)
-
provider
The specific backend to use for this ‘netdev_interface` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.