2025-02-05 13:50:07 +01:00
[![tests ](https://github.com/titom73/eos-downloader/actions/workflows/pr-management.yml/badge.svg?event=push )](https://github.com/titom73/eos-downloader/actions/workflows/pr-management.yml)
![PyPI - Python Version ](https://img.shields.io/pypi/pyversions/eos-downloader )
[![Code style: black ](https://img.shields.io/badge/code%20style-black-000000.svg )](https://github.com/psf/black)
![Checked with mypy ](http://www.mypy-lang.org/static/mypy_badge.svg )
![GitHub release ](https://img.shields.io/github/v/release/titom73/arista-downloader )
![PyPI - Downloads/month ](https://img.shields.io/pypi/dm/eos-downloader )
[![pre-commit ](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white )](https://github.com/pre-commit/pre-commit)
2025-02-05 13:43:43 +01:00
# Arista Software Downloader
2025-02-10 06:39:52 +01:00
## 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.
2025-02-05 13:43:43 +01:00
2025-02-05 13:52:40 +01:00
> [!CAUTION]
> This script should not be deployed on EOS device. If you do that, there is no support to expect from Arista TAC team.
2025-02-05 13:43:43 +01:00
```bash
2025-02-10 06:39:52 +01:00
# install eos-downloader from pypi
2025-02-05 13:43:43 +01:00
pip install eos-downloader
2025-02-10 06:39:52 +01:00
# download EOS swi for EOS 64bits
ardl --token < your-token > get eos --format 64 --latest --release-type M
2025-02-05 13:43:43 +01:00
```
2025-02-10 06:39:52 +01:00
Full documentation is available on [our website ](https://titom73.github.io/eos-downloader/ ).
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
## Download EOS package from arista website
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
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
2025-02-05 13:43:43 +01:00
```bash
2025-02-10 06:39:52 +01:00
# Get latest version of EOS using docker format.
ardl get eos --latest --format cEOS
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
# Get latest version of maintenance type in specific branch 4.29
ardl get eos --branch 4.29 --format cEOS --release-type M
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
# Get a specific version
ardl get eos --version 4.29.4M
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
# Get a specific version and import to docker using default arista/ceos:{version}{release_type}
ardl get eos --version 4.29.4M --import-docker
2025-02-05 13:43:43 +01:00
2025-02-10 06:39:52 +01:00
# Get a specific version and import to EVE-NG
ardl get eos --version 4.33.0F --eve-ng
2025-02-05 13:43:43 +01:00
```
## Author
From an original idea of [@Mark Rayson ](https://github.com/Sparky-python ) in [arista-netdevops-community/eos-scripts ](https://github.com/arista-netdevops-community/eos-scripts )
## License
2025-02-10 06:39:52 +01:00
Code is under [Apache2 ](https://github.com/titom73/eos-downloader/blob/main/LICENSE ) License