Merging upstream version 0.12.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f45bc3d463
commit
8d2f70e3c7
77 changed files with 23610 additions and 2331 deletions
33
eos_downloader/defaults.py
Normal file
33
eos_downloader/defaults.py
Normal file
|
@ -0,0 +1,33 @@
|
|||
# coding: utf-8 -*-
|
||||
"""
|
||||
Default values for eos_downloader.
|
||||
|
||||
This module contains default configuration values used by the eos_downloader package.
|
||||
|
||||
Attributes
|
||||
----------
|
||||
DEFAULT_REQUEST_HEADERS : dict
|
||||
Default HTTP headers used for API requests. Contains Content-Type and User-Agent headers.
|
||||
DEFAULT_SOFTWARE_FOLDER_TREE : str
|
||||
API endpoint URL for retrieving the EOS software folder structure.
|
||||
DEFAULT_DOWNLOAD_URL : str
|
||||
API endpoint URL for getting download links for EOS images.
|
||||
DEFAULT_SERVER_SESSION : str
|
||||
API endpoint URL for obtaining session codes from Arista's servers.
|
||||
EVE_QEMU_FOLDER_PATH : str
|
||||
Path to the folder where the downloaded EOS images will be stored on an EVE-NG server.
|
||||
"""
|
||||
|
||||
DEFAULT_REQUEST_HEADERS = {
|
||||
"Content-Type": "application/json",
|
||||
"User-Agent": "Chrome/123.0.0.0",
|
||||
}
|
||||
DEFAULT_SOFTWARE_FOLDER_TREE = (
|
||||
"https://www.arista.com/custom_data/api/cvp/getFolderTree/"
|
||||
)
|
||||
|
||||
DEFAULT_DOWNLOAD_URL = "https://www.arista.com/custom_data/api/cvp/getDownloadLink/"
|
||||
|
||||
DEFAULT_SERVER_SESSION = "https://www.arista.com/custom_data/api/cvp/getSessionCode/"
|
||||
|
||||
EVE_QEMU_FOLDER_PATH = "/opt/unetlab/addons/qemu/"
|
Loading…
Add table
Add a link
Reference in a new issue