ANSIBLE.ARISTA_LAG(3)

NAME
arista_lag - Manage port channel (lag) interfaces

DESCRIPTION

Manage port channel interface resources on Arista EOS network devices

OPTIONS

interface_id
    the full name of the interface(required)

lacp
    enables the use of the LACP protocol for managing link bundles Choices: active,passive,off. (default: active)

links
    array of physical interface links to include in this lag

logging
    enables or disables the syslog facility for this module Choices: true,false,yes,no.

minimum_links
    the minimum number of physical interaces that must be operationally up to consider the lag operationally up

state
    describe the desired state of the interface related to the config Choices: present,absent. (default: present)."

NOTES

Requires EOS 4.10 or later

The Netdev extension for EOS must be installed and active in the available extensions (show extensions from the EOS CLI)

See http://eos.aristanetworks.com for details
Example playbook entries using the arista_lag module to manage resource
state.  Note that interface names must be the full interface name not shortcut
names (ie Ethernet, not Et1)
    tasks:
    - name: create lag interface
      action: arista_lag interface_id=Port-Channel1 links=Ethernet1,Ethernet2 logging=true
    - name: add member links
      action: arista_lag interface_id=Port-Channel1 links=Ethernet1,Ethernet2,Ethernet3 logging=true
    - name: remove member links
      action: arista_lag interface_id=Port-Channel1 links=Ethernet2,Ethernet3 logging=true

    - name: remove lag interface
      action: arista_lag interface_id=Port-Channel1 state=absent logging=true

AUTHOR
Peter Sprygada

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#arista-lag