1
0
Fork 0
No description
Find a file
Daniel Baumann ecf5ca3300
Adding upstream version 0.13.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 11:32:40 +01:00
.devcontainer Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.github Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.vscode Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
anta Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
docs Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
examples Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
tests Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.dockerignore Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.gitignore Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.pre-commit-config.yaml Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.sourcery.yaml Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
.yamllint.yml Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
Dockerfile Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
LICENSE Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
mkdocs.yml Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
pylintrc Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00
pyproject.toml Adding upstream version 0.13.0. 2025-02-05 11:32:40 +01:00

License Linting and Testing Anta Code style: black GitHub commit activity (branch) github release PyPI - Downloads coverage

Arista Network Test Automation (ANTA) Framework

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:

anta nrfu

# Install ANTA CLI
$ pip install anta

# 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

Warning

The ANTA CLI options have changed after version 0.11 and have moved away from the top level anta and are now required at their respective commands (e.g. anta nrfu). This breaking change occurs after users feedback on making the CLI more intuitive. This change should not affect user experience when using environment variables.

Documentation

The documentation is published on ANTA package website. Also, a demo repository is available to facilitate your journey with ANTA.

Contribution guide

Contributions are welcome. Please refer to the contribution guide

Credits

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.