Skip to content

Python script to deploy Firmware by using RestAPI for Dell Enterprise SONiC

License

Notifications You must be signed in to change notification settings

gpaquis/SONiC_FirmwareUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Remote Firmware Update tools for Dell Enterprise SONiC

Contributions welcome License GitHub issues

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

Contents

🚀 Description and Objective

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

📋 Requirements

  • Python 3.8.10 version minimum
  • an HTTP/S server hosting the firmware image

🏁 Usage and Configuration

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

📅 Roadmap

NONE

👏 How to Contribute

We welcome contributions to the project.

About

Python script to deploy Firmware by using RestAPI for Dell Enterprise SONiC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages