Package: eos-downloader
Arista Software DownloaderScript to download Arista softwares to local folder, Cloudvision or EVE-NG.pipinstalleos-downloaderCLI commandsA new CLI is available to execute commands. This CLI is going to replaceeos-downloadscript which is now marked asdeprecatedardl
Usage:ardl[OPTIONS]COMMAND[ARGS]...AristaNetworkDownloadCLI

Options:--versionShowtheversionandexit.--tokenTEXTAristaTokenfromyourcustomeraccount[envvar:ARISTA_TOKEN]--helpShowthismessageandexit.

Commands:debugDebugcommandstoworkwithardlgetDownloadAristafromAristawebsiteWarningTo use this CLI you need to get a valid token from yourArista Account page.
For technical reason, it is only available for customers with active maintenance contracts and not for personnal accountsDownload EOS PackageNoteSupported packages are: EOS, cEOS, vEOS-lab, cEOS64CLI gives an option to get latest version available. By default it takes latestFreleaseardlgeteos--image-typecEOS--latestIf you want to get latest M release, you can use--release-type:ardlgeteos--image-typecEOS--release-typeM--latestYou can download a specific EOS packages with following commands:# Example for a cEOS package$ardlgeteos--version4.28.3M--image-typecEOSAvailable options are :Usage:ardlgeteos[OPTIONS]DownloadEOSimagefromAristawebsite

Options:--image-type[64|INT|2GB-INT|cEOS|cEOS64|vEOS|vEOS-lab|EOS-2GB|default]EOSImagetype[required]--versionTEXTEOSversion-l,--latestGetlatestversioningivenbranch.If--branchisnotuse,getthelatestbranchwithspecificreleasetype-rtype,--release-type[F|M]EOSreleasetypetosearch-b,--branchTEXTEOSBranchtolistreleases--docker-nameTEXTDockerimagename(default:arista/ceos)[default:arista/ceos]--outputPATHPathtosaveimage[default:.]--log-level,--log[debug|info|warning|error|critical]Logginglevelofthecommand--eve-ngRunEVE-NGvEOSprovisioning(onlyifCLIrunsonanEVE-NGserver)--disable-ztpDisableZTPprocessinvEOSimage(onlyavailablewith--eve-ng)--import-dockerImportdockerimage(onlyavailablewith--image_typecEOSlab)--helpShowthismessageandexit.You can use--latestand--release-typeoption to get latest EOS version matching a specific release type# Get latest M release❯ardlgeteos--latest-rtypem
🪐eos-downloaderisstarting...-ImageType:default-Version:None
🔎SearchingfileEOS-4.29.3M.swi->Foundfileat/support/download/EOS-USA/ActiveReleases/4.29/EOS-4.29.3M/EOS-4.29.3M.swi
...
✅Downloadedfileiscorrect.
✅processingdone!List available EOS versions from Arista websiteYou can easily get list of available version using CLI as shown below:❯ardlinfoeos-versions
Usage:ardlinfoeos-versions[OPTIONS]ListAvailableEOSversiononArista.comwebsite.Comeswithsomefilterstogetlatestrelease(ForM)aswellasbranchfiltering-TogetlatestMreleaseavailable(withoutanybranch):ardlinfoeos-versions--latest-rtypem-TogetlatestFreleaseavailable:ardlinfoeos-versions--latest-rtypeF

Options:-l,--latestGetlatestversioningivenbranch.If--branchisnotuse,getthelatestbranchwithspecificreleasetype-rtype,--release-type[F|M]EOSreleasetypetosearch-b,--branchTEXTEOSBranchtolistreleases-v,--verboseHumanreadableoutput.Defaultisnonetouseoutputinscript)--log-level,--log[debug|info|warning|error|critical]Logginglevelofthecommand--helpShowthismessageandexit.Example❯ardlinfoeos-versions-rtypem--branch4.28['4.28.6.1M','4.28.6M','4.28.5.1M','4.28.5M','4.28.4M','4.28.3M']Download CVP packageSupported packages are: OVA, KVM, RPM, Upgrade$ardlgetcvp--formatupgrade--version2022.2.1--log-leveldebug--output~/DownloadsAvailable options are :--format[ova|rpm|kvm|upgrade]CVPImagetype[required]--versionTEXTCVPversion[required]--outputPATHPathtosaveimage[default:.]--log-level,--log[debug|info|warning|error|critical]Logginglevelofthecommand--helpShowthismessageandexit.RequirementsRepository requires Python>=3.6with following requirements:cvprac
cryptography
paramiko
requests
requests-toolbelt
scp
tqdmOn EVE-NG, you may have to install/upgradepyOpenSSLin version23.0.0:# Error when running ardl: AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'$pipinstallpyopenssl--upgradeDockerPlease refer todocker documentationAuthorFrom an original idea of@Mark Raysoninarista-netdevops-community/eos-scriptsLicenseCode is underApache2License