Resource Type: vlan

NOTE: This page was generated from the Puppet source code on 2018-08-28 06:48:02 -0700

vlan

Description

Manages a VLAN on a router or switch.

Attributes

vlan { 'resource title':
  name        => # (namevar) The numeric VLAN ID.  Values can match...
  ensure      => # The basic property that the resource should be...
  description => # The VLAN's...
  device_url  => # The URL of the router or switch maintaining this 
  provider    => # The specific backend to use for this `vlan...
  # ...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)

provider

The specific backend to use for this vlan resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

Available providers are:

(↑ Back to vlan attributes)

Providers

cisco

Cisco switch/router provider for vlans.

NOTE: This page was generated from the Puppet source code on 2018-08-28 06:48:02 -0700