No project description provided
Project description
Arista Software Downloader
Script to download Arista softwares to local folder, Cloudvision or EVE-NG.
scripts
eos-download
usage: eos-download [-h]
EOS downloader script.
optional arguments:
-h, --help show this help message and exit
--token TOKEN arista.com user API key - can use ENV:ARISTA_TOKEN
--image IMAGE Type of EOS image required
--version VERSION EOS version to download from website
--destination DESTINATION
Path where to save EOS package downloaded
--eve Option to install EOS package to EVE-NG
--noztp Option to deactivate ZTP when used with EVE-NG
--import_docker Option to import cEOS image to docker
--docker_name DOCKER_NAME
Docker image name to use, (default is arista/ceos)
--verbose VERBOSE Script verbosity
-
Token are read from
ENV:ARISTA_TOKENunless you specify a specific token with CLI. -
Supported platforms:
INT: International version64: 64 bits version2GBfor 2GB flash platform2GB-INT: for 2GB running InternationalvEOS: Virtual EOS imagevEOS-lab: Virtual Lab EOSvEOS64-lab: Virtual Lab EOS running 64BcEOS: Docker version of EOScEOS64: Docker version of EOS running in 64 bits
Examples
- Download vEOS-lab image and install in EVE-NG
eos-download --image vEOS-lab --version 4.25.7M --eve --noztp
- Download Docker image
eos-download --image cEOS --version 4.27.1F
- Download Docker image and install
eos-download --image cEOS --version 4.27.1F --import_docker --docker_name test/ceos
Note: ARISTA_TOKEN should be set in your .profile and not set for each command. If not set, you can use --token knob.
# Export Token
export ARISTA_TOKEN="xxxxxxx"
Cloudvision Image uploader
Create an image bundle on Cloudvision.
cvp-upload -h
usage: cvp-upload [-h]
[--token TOKEN]
[--image IMAGE]
--cloudvision CLOUDVISION
[--create_bundle]
[--timeout TIMEOUT]
[--verbose VERBOSE]
Cloudvision Image uploader script.
optional arguments:
-h, --help show this help message and exit
--token TOKEN CVP Authentication token - can use ENV:ARISTA_AVD_CV_TOKEN
--image IMAGE Type of EOS image required
--cloudvision CLOUDVISION
Cloudvision instance where to upload image
--create_bundle Option to create image bundle with new uploaded image
--timeout TIMEOUT Timeout connection. Default is set to 1200sec
--verbose VERBOSE Script verbosity
Requirements
Repository requires Python >=3.6 with following requirements:
cvprac
cryptography
paramiko
requests
requests-toolbelt
scp
tqdm
Installation
Python PIP
$ pip install git+https://github.com/titom73/arista-downloader
Author
From an original idea of @Mark Rayson in arista-netdevops-community/eos-scripts
License
Code is under Apache2 License
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 eos_downloader-0.4.0.tar.gz.
File metadata
- Download URL: eos_downloader-0.4.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
103815bf618509ee38c6cb53305163375747db7eb0fc5716bc2eb4b5f397839e
|
|
| MD5 |
dcec73c2e7aad5f1acf8ba9062b51717
|
|
| BLAKE2b-256 |
b9b7cb6932cb510649c94e74de80ca6ac1bc56ed833fdffc5d93a18949fb56b8
|
File details
Details for the file eos_downloader-0.4.0-py3-none-any.whl.
File metadata
- Download URL: eos_downloader-0.4.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e656d6c8b7c4ca5d12ad65f09fe32d6e936420678a574c00f561d754f7ec58
|
|
| MD5 |
f8c3bafac569461110f52c899a53d7b0
|
|
| BLAKE2b-256 |
960d6f1afce75cd184e7c1a4521f6236844ddf91bf274b3af099416f0e62d20b
|