Skip to content
المشاريع

حول

Python CLI to download Arista softwares like EOS and CVP

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

tests Coverage PyPI - Python Version Code style: black Checked with mypy PyPI - Downloads/month

Arista Software Downloader

Overview

A project to download Arista softwares to local folder, Cloudvision or EVE-NG. It comes in 2 way: a framework with object to automate Arista software download and a CLI for human activities.

Key Features:

  • 🚀 Smart Caching: Automatically caches downloaded files and Docker images to save bandwidth and time
  • 📦 Multiple Formats: Support for EOS (64-bit, vEOS, cEOS) and CloudVision Portal
  • 🐳 Docker Integration: Direct import to Docker/Podman registries
  • 🔧 EVE-NG Support: Automated provisioning for network simulation
  • 🧭 Interactive Mode: Guided wizard (--interactive) to pick format, version and options without memorizing flags
  • ⚡ Fast Iterations: Subsequent runs complete instantly using cached resources

[!CAUTION] This script should not be deployed on EOS device. If you do that, there is no support to expect from Arista TAC team.

# install eos-downloader from pypi
pip install eos-downloader

# download EOS swi for EOS 64bits (uses cache on subsequent runs)
ardl --token <your-token> get eos --format 64 --latest --release-type M

# force re-download even if cached
ardl --token <your-token> get eos --format 64 --latest --release-type M --force

Full documentation is available on our website.

Download EOS package from arista website

This command gives you option to download EOS images localy. Some options are available based on image type like importing your cEOS container in your local registry

# Get latest version of EOS using docker format.
ardl get eos --latest --format cEOS

# Get latest version of maintenance type in specific branch 4.29
ardl get eos --branch 4.29 --format cEOS --release-type M

# Get a specific version
ardl get eos --version 4.29.4M

# Get a specific version and import to docker using default arista/ceos:{version}{release_type}
ardl get eos --version 4.29.4M --import-docker

# Get a specific version and import to EVE-NG
ardl get eos --version 4.33.0F --eve-ng

# Get 64-bit vEOS lab image (vmdk for VMware, qcow2 for KVM)
ardl get eos --version 4.35.1F --format vEOS64-lab
ardl get eos --version 4.35.1F --format vEOS64-lab-qcow2

# Force re-download/re-import (bypass cache)
ardl get eos --version 4.29.4M --import-docker --force

# Don't know the flags? Use the interactive wizard
ardl get eos --interactive

Smart Caching

eos-downloader automatically caches downloads and Docker images:

  • Files: If a file exists in the output directory, it's reused (no re-download)
  • Docker Images: If an image:tag exists locally, import is skipped
  • Force Mode: Use --force to bypass cache and force fresh download/import

This makes repeated runs instant and saves bandwidth! 🚀

Agent skill

An optional eos-downloader skill provides basic ardl recipes for EOS/cEOS downloads, local Docker imports and containerlab image preparation. It requires the CLI to be installed and Arista access configured. The skill uses the Agent Skills format for Codex, Claude Code and other compatible assistants.

Install it from the repository for Codex and Claude Code with the Skills CLI:

npx skills add https://github.com/titom73/eos-downloader \
  --skill eos-downloader --agent codex --agent claude-code

The remote command requires the skill to be present on the repository's default branch. To use a local checkout, including unpublished changes:

npx skills add ./skills/eos-downloader --agent codex --agent claude-code

Omit the --agent options to choose other supported assistants. Add --global to install across projects. Alternatively, copy the skills/eos-downloader folder into your assistant's skills directory. Installation is optional; the CLI works independently.

Contributing

A contributing guide is available in docs folder

Quick Start:

# 1. Install UV (one-time setup)
curl -LsSf https://astral.sh/uv/install.sh | sh
# or on macOS: brew install uv

# 2. Clone the repository
git clone https://github.com/titom73/eos-downloader.git
cd eos-downloader

# 3. Install development dependencies (creates .venv automatically)
uv sync --all-extras

# 4. Install pre-commit hooks
uv run pre-commit install

# 5. Run tests
uv run pytest

# 6. Start developing!
uv run ardl --help

Author

From an original idea of @Mark Rayson in arista-netdevops-community/eos-scripts

License

Code is under Apache2 License

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…