Open source Puppet documentation

NOTE: This page was generated from the Puppet source code on 2018-03-20 07:07:39 -0700

vlan

Description

Manages a VLAN on a router or switch.

Attributes

vlan { 'resource title':
  name        => # (namevar) The numeric VLAN ID.  Allowed values:  ...
  ensure      => # The basic property that the resource should be...
  description => # The VLAN's...
  device_url  => # The URL of the router or switch maintaining this 
  # ...plus any applicable metaparameters.
}

name

(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)

The numeric VLAN ID.

Allowed values:

  • /^\d+/

(↑ Back to vlan attributes)

ensure

(Property: This attribute represents concrete state on the target system.)

The basic property that the resource should be in.

Default: present

Allowed values:

  • present
  • absent

(↑ Back to vlan attributes)

description

(Property: This attribute represents concrete state on the target system.)

The VLAN’s name.

(↑ Back to vlan attributes)

device_url

The URL of the router or switch maintaining this VLAN.

(↑ Back to vlan attributes)

Providers

cisco

Cisco switch/router provider for vlans.

NOTE: This page was generated from the Puppet source code on 2018-03-20 07:07:39 -0700

Back to top