You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
13
14
14
15
> [!CAUTION]
@@ -22,43 +23,9 @@ pip install eos-downloader
22
23
ardl --token <your-token> get eos --format 64 --latest --release-type M
23
24
```
24
25
25
-
> [!NOTE]
26
-
> The main branch is not the stable branch and can be broken between releases. It is safe to consider using tags for stable versions. All versions on pypi servers are considered stable.
27
-
28
-
## CLI commands
29
-
30
-
The CLI comes with a set of options to make life easier:
31
-
32
-
- Token (`--token`) can be loaded from environment variable: `ARISTA_TOKEN`
33
-
- Log level management (`--log-level`). Can be set to any value from `debug` to `critical`
34
-
- A switch to enable rich exception management (`--debug-enabled`)
35
-
36
-
```bash
37
-
ardl --help
38
-
Usage: ardl [OPTIONS] COMMAND [ARGS]...
39
-
40
-
Arista Network Download CLI
41
-
42
-
Options:
43
-
--version Show the version and exit.
44
-
--token TEXT Arista Token from your customer account
--debug-enabled, --debug Activate debug mode for ardl cli
49
-
--help Show this message and exit.
50
-
51
-
Commands:
52
-
debug Debug commands to work with ardl
53
-
get Download Arista from Arista website
54
-
info List information from Arista website
55
-
```
56
-
57
-
> [!WARNING]
58
-
> To use this CLI you need to get a valid token from your [Arista Account page](https://www.arista.com/en/users/profile).
59
-
> For technical reason, it is only available for customers with active maintenance contracts and not for personnal accounts
26
+
Full documentation is available on [our website](https://titom73.github.io/eos-downloader/).
60
27
61
-
###Download EOS package from arista website
28
+
## Download EOS package from arista website
62
29
63
30
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
64
31
@@ -79,120 +46,10 @@ ardl get eos --version 4.29.4M --import-docker
79
46
ardl get eos --version 4.33.0F --eve-ng
80
47
```
81
48
82
-
### Get information about softwares versions
83
-
84
-
`ardl` comes witth a tool to get version information from Arista website.
85
-
86
-
#### Get information about available versions
87
-
88
-
```bash
89
-
ardl info versions --help
90
-
Usage: ardl info versions [OPTIONS]
91
-
92
-
List available versions of Arista packages (eos or CVP) packages
93
-
94
-
Options:
95
-
--format [json|text|fancy] Output format
96
-
--package [eos|cvp]
97
-
-b, --branch TEXT
98
-
--release-type TEXT
99
-
--help Show this message and exit.
100
-
```
101
-
102
-
With this CLI, you can specify either a branch or a release type when applicable to filter information:
103
-
104
-
```bash
105
-
# Get F version in branch 4.29 using default fancy mode
106
-
ardl info versions --branch 4.29 --release-type F
107
-
108
-
╭──────────────────────────── Available versions ──────────────────────────────╮
On EVE-NG, you may have to install/upgrade __pyOpenSSL__ in version `23.0.0`:
185
-
186
-
```bash
187
-
# Error when running ardl: AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
188
-
189
-
$ pip install pyopenssl --upgrade
190
-
```
191
-
192
49
## Author
193
50
194
51
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)
195
52
196
53
## License
197
54
198
-
Code is under [Apache2](LICENSE) License
55
+
Code is under [Apache2](https://github.com/titom73/eos-downloader/blob/main/LICENSE) License
0 commit comments