8000 GitHub - javeedf/arista.eos: Ansible Network Collection for Arista EOS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

javeedf/arista.eos

 
 

Repository files navigation

Arista EOS Collection

CI

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.

Supported connections

The Arista EOS collection supports network_cli and httpapi connections.

Included content

Click the Content button to see the list of content included in this collection.

Installing 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
    version: 0.0.1

Using this collection

This collection includes network resource modules.

Using modules from the Arista EOS collection in your playbooks

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

Alternately, you can call modules by their short name if you list the arista.eos collection in the playbook's collections, as follows:

---
- hosts: eos01
  gather_facts: false
  connection: network_cli

  collections:
    - arista.eos

  tasks:
    - name: Delete vrf
      eos_static_routes:
        config:
          - vrf: testvrf
        state: "deleted"

See Also:

Contributing to this collection

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.

You can also join us on:

See the Ansible Community Guide for details on contributing to Ansible.

Changelogs

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

About

Ansible Network Collection for Arista EOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Roff 0.1%
0