Skip to main content

Manage edge devices for use with the CHI@Edge IoT/Edge testbed.

Project description

python-chi-edge

Python application PyPI

CLI for enrolling and managing your own edge devices in the Chameleon testbed.

What this is for

You have a single-board computer (Like a Raspberry Pi 4/5, Nvidia Jetson, ...) and you want to add it to CHI@Edge so that it can be used for Computer Science related Research and Education, by yourself, classmates or coworkers, or the larger Chameleon user community. This tool handles device registration, OS image configuration, and ongoing device management.

You do NOT need this tool to use devices that are already enrolled. If you just want to reserve and run containers on existing CHI@Edge hardware, use the web dashboard or the python-chi SDK.

Prerequisites

Install

pip install python-chi-edge

Enrollment workflow

1. Register your device

chi-edge device register \
  --contact-email you@example.com \
  --machine-name raspberrypi5 \
  my-device

After this stage, the device will appear with (2/4 checks) passing.

2. Bake the OS image

Download the appropriate balenaOS image for your device, then configure it for the testbed:

chi-edge device bake --image balena.img <device-uuid>

3. Flash and boot

Write the baked image to your device's storage (microSD or eMMC) using balenaEtcher or dd, then power on. The device should appear healthy (4/4 checks) within a few minutes.

Device management

Command Description
chi-edge device list List your registered devices
chi-edge device show <name> Show device details and health
chi-edge device set Update device configuration
chi-edge device delete <name> Remove a device
chi-edge device sync <name> Force device re-sync

Configuration

Uses OpenStack clouds.yaml or environment variables for authentication. Specify the cloud with --os-cloud or set OS_CLOUD.

Documentation

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_chi_edge-0.3.2.tar.gz (113.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_chi_edge-0.3.2-py3-none-any.whl (127.8 kB view details)

Uploaded Python 3

File details

Details for the file python_chi_edge-0.3.2.tar.gz.

File metadata

  • Download URL: python_chi_edge-0.3.2.tar.gz
  • Upload date:
  • Size: 113.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for python_chi_edge-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ca781bdfb44c0f1bbb42dc06bffcdb352170bb4f3dacaf24c80b769eb06eff3c
MD5 60faabe27ae34714305707eda0cc1072
BLAKE2b-256 f47e1f6035868b015aa21f0605ed8965d37a683dcdcbd7ea0cfaf917ad5b9da7

See more details on using hashes here.

File details

Details for the file python_chi_edge-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: python_chi_edge-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for python_chi_edge-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 83e2612cc349345c49f297c21d043b0a8f77635da61fb932091eb49366f6c747
MD5 0f67026edd61ee937b46d3eebf208fe1
BLAKE2b-256 8cc77b0b4ac262a33c6c24df4fa46ce8f57e34fd5d81ce358dd5e23b86794d2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page