https://github.com/dell-networking/poc-using-des-tpcm
Examples of how to leverage Third Party Container Manager (TPCM) with Dell Enterprise SONiC
https://github.com/dell-networking/poc-using-des-tpcm
Last synced: 10 months ago
JSON representation
Examples of how to leverage Third Party Container Manager (TPCM) with Dell Enterprise SONiC
- Host: GitHub
- URL: https://github.com/dell-networking/poc-using-des-tpcm
- Owner: Dell-Networking
- License: gpl-3.0
- Created: 2023-10-12T03:28:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T02:44:49.000Z (over 2 years ago)
- Last Synced: 2025-03-26T13:18:41.803Z (about 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Remote TPCM tools for Dell Enterprise SONiC
[](#-how-to-contribute)
[](https://github.com/gpaquis/SONiC_TPCM/blob/main/License.md)
[](https://github.com/gpaquis/SONiC_TPCM/issues)
Built and maintained by [Gerald PAQUIS](https://github.com/gpaquis) and [Contributors](https://github.com/gpaquis/SONiC_TPCM/graphs/contributors)
--------------------
This Repo contains a Python script for manipulate remotly TPCM (ThirdPartyContainerManager) by using REST-API, and a config file
## Contents
- [Description and Objective](#-description-and-objective)
- [Requirements](#-requirements)
- [Usage and Configuration](#Usage-and-Configuration)
- [Roadmap](#Roadmap)
- [How to Contribute](#-how-to-contribute)
## 🚀 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](#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.