Arista Network Test Automation (ANTA) Framework
Project description
Arista Network Test Automation (ANTA) Framework
| Code | |
|---|---|
| License | |
| GitHub | |
| PyPi |
ANTA is Python framework that automates tests for Arista devices.
- ANTA provides a set of tests to validate the state of your network
- ANTA can be used to:
- Automate NRFU (Network Ready For Use) test on a preproduction network
- Automate tests on a live network (periodically or on demand)
- ANTA can be used with:
- As a Python library in your own application
- The ANTA CLI
Install ANTA library
The library will NOT install the necessary dependencies for the CLI.
# Install ANTA as a library
pip install anta
Install ANTA CLI
If you plan to use ANTA only as a CLI tool you can use pipx to install it.
pipx is a tool to install and run python applications in isolated environments. Refer to pipx instructions to install on your system.
pipx installs ANTA in an isolated python environment and makes it available globally.
This is not recommended if you plan to contribute to ANTA
# Install ANTA CLI with pipx
$ pipx install anta[cli]
# Run ANTA CLI
$ anta --help
Usage: anta [OPTIONS] COMMAND [ARGS]...
Arista Network Test Automation (ANTA) CLI
Options:
--version Show the version and exit.
--log-file FILE Send the logs to a file. If logging level is
DEBUG, only INFO or higher will be sent to
stdout. [env var: ANTA_LOG_FILE]
-l, --log-level [CRITICAL|ERROR|WARNING|INFO|DEBUG]
ANTA logging level [env var:
ANTA_LOG_LEVEL; default: INFO]
--help Show this message and exit.
Commands:
check Commands to validate configuration files
debug Commands to execute EOS commands on remote devices
exec Commands to execute various scripts on EOS devices
get Commands to get information from or generate inventories
nrfu Run ANTA tests on devices
You can also still choose to install it with directly with pip:
pip install anta[cli]
Documentation
The documentation is published on ANTA package website.
Contribution guide
Contributions are welcome. Please refer to the contribution guide
Credits
Thank you to Jeremy Schulman for aio-eapi.
Thank you to Angélique Phillipps, Colin MacGiollaEáin, Khelil Sator, Matthieu Tache, Onur Gashi, Paul Lavelle, Guillaume Mulocher and Thomas Grimonet for their contributions and guidances.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anta-1.7.0.tar.gz.
File metadata
- Download URL: anta-1.7.0.tar.gz
- Upload date:
- Size: 203.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
322a5498aedf341e062a67a39de36839497bbe33ed2cabf3d1430468cd0566e4
|
|
| MD5 |
54cc5e32367bca25d6f3fa5b85811d03
|
|
| BLAKE2b-256 |
641a8bcdb94aac245812bb574dce7f7684cc178bbc5f2af0979691b6faab382b
|
Provenance
The following attestation bundles were made for anta-1.7.0.tar.gz:
Publisher:
release.yml on aristanetworks/anta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anta-1.7.0.tar.gz -
Subject digest:
322a5498aedf341e062a67a39de36839497bbe33ed2cabf3d1430468cd0566e4 - Sigstore transparency entry: 768614582
- Sigstore integration time:
-
Permalink:
aristanetworks/anta@dbfdcbbd0abc62cda35cb1bfa22a889f442dcd4a -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/aristanetworks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dbfdcbbd0abc62cda35cb1bfa22a889f442dcd4a -
Trigger Event:
release
-
Statement type:
File details
Details for the file anta-1.7.0-py3-none-any.whl.
File metadata
- Download URL: anta-1.7.0-py3-none-any.whl
- Upload date:
- Size: 260.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c536c4e792043c3f04f10657aa50c9b8a2214d1c4324b644293b763d572d1384
|
|
| MD5 |
6884aceb4fe39cd50709a7f97ac9057c
|
|
| BLAKE2b-256 |
fe66fe217d84655caaf2257a8f6ce5b30b9557abbdc377c23fdf52a46c836bd0
|
Provenance
The following attestation bundles were made for anta-1.7.0-py3-none-any.whl:
Publisher:
release.yml on aristanetworks/anta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anta-1.7.0-py3-none-any.whl -
Subject digest:
c536c4e792043c3f04f10657aa50c9b8a2214d1c4324b644293b763d572d1384 - Sigstore transparency entry: 768614589
- Sigstore integration time:
-
Permalink:
aristanetworks/anta@dbfdcbbd0abc62cda35cb1bfa22a889f442dcd4a -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/aristanetworks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dbfdcbbd0abc62cda35cb1bfa22a889f442dcd4a -
Trigger Event:
release
-
Statement type: