Skip to content
프로젝트

소개

Arista Network Test Automation (ANTA) Framework

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Arista Network Test Automation (ANTA) Framework

Code Ruff Numpy Quality Gate Status codecov
License License
GitHub CI Commit GitHub commit activity (branch) GitHub release Contributors
PyPI PyPI Version Python Versions Python format PyPI - Downloads

ANTA is a 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) tests on a preproduction network
    • Automate tests on a live network (periodically or on demand)
  • ANTA can be used:

anta nrfu

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 the ANTA CLI:

$ anta --help
Usage: anta [OPTIONS] COMMAND [ARGS]...

  Arista Network Test Automation (ANTA) CLI.

Options:
  --help                          Show this message and exit.
  --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]

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 selected inventory devices.
  psirt  [PREVIEW] Run ANTA tests for Arista security advisories.

You can also still choose to install it directly with pip:

pip install anta[cli]

Documentation

The documentation is published on the ANTA package website.

Rendered Markdown for LLMs is available through the llms.txt index, which lists versions with exports. Choose the version matching your installed ANTA package when available.

Contribution guide

Contributions are welcome. Please refer to the contribution guide.

Credits

Thank you to Jeremy Schulman for aio-eapi, the upstream source for ANTA's asynceapi client.

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 guidance.

관련 프로젝트 살펴보기

불러오는 중…