Author: | Peter Sprygada |
---|
New in version 1.3.
Manage VLAN resources on Arista EOS network devices. This module requires the Netdev EOS extension to be installed in EOS. For detailed instructions for installing and using the Netdev module please see [link]
parameter | required | default | choices | comments |
---|---|---|---|---|
logging | no |
|
enables or disables the syslog facility for this module | |
name | no | a descriptive name for the vlan | ||
state | no | present |
|
describe the desired state of the vlan related to the config |
vlan_id | yes | the vlan id |
Note
Requires Arista EOS 4.10
Note
Requires Netdev extension for EOS
Example playbook entries using the arista_vlan module to manage resource
state.
tasks:
- name: create vlan 999
action: arista_vlan vlan_id=999 logging=true
- name: create / edit vlan 999
action: arista_vlan vlan_id=999 name=test logging=true
- name: remove vlan 999
action: arista_vlan vlan_id=999 state=absent logging=true
Note
Requires EOS 4.10 or later
Note
The Netdev extension for EOS must be installed and active in the available extensions (show extensions from the EOS CLI)
Note
See http://eos.aristanetworks.com for details