The Ansible Arista EOS collection includes a variety of Ansible content to help automate the management of Arista EOS network appliances.
This collection has been tested against Arista EOS 4.20.10M.
This collection has been tested against following Ansible versions: >=2.9.10,<2.11.
Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.
The Arista EOS collection supports network_cli
and httpapi
connections.
Name | Description |
---|---|
arista.eos.eos | Use eos cliconf to run command on Arista EOS platform |
Name | Description |
---|
Name | Description |
---|---|
arista.eos.eos | Use eAPI to run command on eos platform |
Name | Description |
---|---|
arista.eos.eos_acl_interfaces | ACL interfaces resource module |
arista.eos.eos_acls | ACLs resource module |
arista.eos.eos_banner | Manage multiline banners on Arista EOS devices |
arista.eos.eos_bgp | Configure global BGP protocol settings on Arista EOS. |
arista.eos.eos_command | Run arbitrary commands on an Arista EOS device |
arista.eos.eos_config | Manage Arista EOS configuration sections |
arista.eos.eos_eapi | Manage and configure Arista EOS eAPI. |
arista.eos.eos_facts | Collect facts from remote devices running Arista EOS |
arista.eos.eos_interface | (deprecated, removed after 2022-06-01) Manage Interface on Arista EOS network devices |
arista.eos.eos_interfaces | Interfaces resource module |
arista.eos.eos_l2_interface | (deprecated, removed after 2022-06-01) Manage L2 interfaces on Arista EOS network devices. |
arista.eos.eos_l2_interfaces | L2 interfaces resource module |
arista.eos.eos_l3_interface | (deprecated, removed after 2022-06-01) Manage L3 interfaces on Arista EOS network devices. |
arista.eos.eos_l3_interfaces | L3 interfaces resource module |
arista.eos.eos_lacp | LACP resource module |
arista.eos.eos_lacp_interfaces | LACP interfaces resource module |
arista.eos.eos_lag_interfaces | LAG interfaces resource module |
arista.eos.eos_linkagg | (deprecated, removed after 2022-06-01) Manage link aggregation groups on Arista EOS network devices |
arista.eos.eos_lldp | Manage LLDP configuration on Arista EOS network devices |
arista.eos.eos_lldp_global | LLDP resource module |
arista.eos.eos_lldp_interfaces | LLDP interfaces resource module |
arista.eos.eos_logging | Manage logging on network devices |
arista.eos.eos_ospfv2 | OSPFv2 resource module |
arista.eos.eos_ospfv3 | OSPFv3 resource module |
arista.eos.eos_static_route | (deprecated, removed after 2022-06-01) Manage static IP routes on Arista EOS network devices |
arista.eos.eos_static_routes | Static routes resource module |
arista.eos.eos_system | Manage the system attributes on Arista EOS devices |
arista.eos.eos_user | Manage the collection of local users on EOS devices |
arista.eos.eos_vlan | (deprecated, removed after 2022-06-01) Manage VLANs on Arista EOS network devices |
arista.eos.eos_vlans | VLANs resource module |
arista.eos.eos_vrf | Manage VRFs on Arista EOS network devices |
Name | Description |
---|
Click the Content
button to see the list of content included in this collection.
You can install the Arista EOS collection with the Ansible Galaxy CLI:
ansible-galaxy collection install arista.eos
You can also include it in a requirements.yml
file and install it with ansible-galaxy collection install -r requirements.yml
, using the format:
---
collections:
- name: arista.eos
This collection includes network resource modules.
You can call modules by their Fully Qualified Collection Namespace (FQCN), such as arista.eos.eos_l2_interfaces
.
The following example task replaces configuration changes in the existing configuration on a Arista EOS network device, using the FQCN:
---
- name: Replace device configuration of specified L2 interfaces with provided configuration.
arista.eos.eos_l2_interfaces:
config:
- name: Ethernet1
trunk:
native_vlan: 20
trunk_vlans: 5-10, 15
state: replaced
NOTE: For Ansible 2.9, you may not see deprecation warnings when you run your playbooks with this collection. Use this documentation to track when a module is deprecated.
- Arista EOS Platform Options
- Ansible Using collections for more details.
We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Arista EOS collection repository. See Contributing to Ansible-maintained collections for complete details.
You can also join us on:
- Freenode IRC -
#ansible-network
Freenode channel - Slack - https://ansiblenetwork.slack.com
See the Ansible Community Guide for details on contributing to Ansible.
This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.
Release notes are available here.
- Ansible network resources
- Ansible Collection overview
- Ansible User guide
- Ansible Developer guide
- Ansible Community code of conduct
GNU General Public License v3.0 or later.
See LICENSE to see the full text.