Built and maintained by Gerald PAQUIS and Contributors
This Repo contains a Python script for deploy remotly a new firmware release stored on a http/s server by using REST-API
The script allow to deploy a new firmware and change the boot index on a Dell Enterprise SONiC.
This script is for purpose test only and explain howto upgrade the Firmware.
This script don't restart the switch after the upgrade
- Python 3.8.10 version minimum
- an HTTP/S server hosting the firmware image
The script support only deployment from HTTP/HTTPS, don't support local deployment.
See Roadmap for more details and next feature.
Runing the script and options:
Options | Value | Description | Mandatory |
---|---|---|---|
--method | http or https | Remote web servers | Yes |
--switch_ip | IPV4 | IP address of the DES management interface | Yes |
--server_ip | IPV4 | IP address of the Web Server | Yes |
--filename | type string | Firmware name with full path | Yes |
--sonic_username | type string | Login used to access to the DES | Yes |
--sonic_password | type string | Password used to access to the DES | Yes |
python3 SONiC_FirmwareUpdater.py --method [http|https] --switch_ip 192.168.101.101 --server_ip 192.168.1.100 --filename firmware.bin --sonic_username admin --sonic_password YourPaSsWoRd
NONE
We welcome contributions to the project.