Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.92 KB

README.md

File metadata and controls

58 lines (41 loc) · 2.92 KB

Remote TPCM 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 manipulate remotly TPCM (ThirdPartyContainerManager) by using REST-API, and a config file

Contents

🚀 Description and Objective

The remote_tpcm script allow to deploy, remove and list container install on a Dell Enterprise SONiC.
This script is for purpose test only and explain howto deploy remotely, a container from a DockerHub Source.

📋 Requirements

  • Python 3.8.10 version minimum

🏁 Usage and Configuration

Before start, the remote_tpcm.conf must be configure.
The config file must be in the same repository as remote_tpcm.py
The remote_tpcm.conf(https://github.com/gpaquis/SONiC_TPCM/blob/main/src/remote_tpcm.conf) contain entry to deploy the container from DockerHub.

TPCM support deployment via HTTP/HTTPS/SFTP/SSH/USB, but this script don't support this deployment methode.
See Roadmap for more details and next feature.

Runing the script and options:

Options Value Description Mandatory
List List TPCM install on DES
--action Install Install TPCM on DES Yes
Remove Remove TPCM from DES
Upgrade Upgrade TPCM
--switch_ip IPV4 IP address of the DES management interface 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 remote_tpcm.py --action [List|Install|Remove|Uprade] --switch_ip 192.168.101.101 --sonic_username admin --sonic_password YourPaSsWoRd

📅 Roadmap

Add Update process for memory/storage assing to the TPCM
Add support for http/https/ssh/scp.
Allow to deploy more than one container at same time.

👏 How to Contribute

We welcome contributions to the project.