Package to manage a Turing Pi 2 cluster using the BMC API
Project description
BMC
WARNING, This package is likely to change dramatically as I learn more about the Turing Pi 2 BMC API.
BMC is a simple package to interact with the Turing Pi 2 BMC API enabling features such as turning on power to nodes.
Due to a change in how the API works in the Turing Pi 2, this package is not compatible with BMC < 2.0.0.
Usage
from ipaddress import IPv4Address
from bmc.cluster import Cluster
cluster = Cluster(cluster_ip=IPv4Address('192.168.1.170'), verify=False)
sdcard = cluster.get_sdcard()
print(sdcard)
TODO
https://docs.turingpi.com/docs/turing-pi2-bmc-api
- Fix set_usb_mode
- Add support usb_boot
- Add support clear_usb_boot
- Add support node_to_msd
- Add support reboot
- Add support reload
- Add support reset
- Add support uart
- Add support about
- Add support info
- Add support firmware
- Add support flash
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file Turing_Pi_BMC-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: Turing_Pi_BMC-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 428e463ff3e9326a84305b822a388371212153c18104a063bcfdfee53f95c83c |
|
MD5 | 7c0ab33436bd5895f4441068a283e4ad |
|
BLAKE2b-256 | 3618b41fbed6074472582eb4b8836f9c47d04db3cbf90a2b702412a507b4df85 |