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.3.tar.gz (113.6 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.3-py3-none-any.whl (128.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_chi_edge-0.3.3.tar.gz
  • Upload date:
  • Size: 113.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3.tar.gz
Algorithm Hash digest
SHA256 0a879a677f96050875694cb4e7d13f706ff42a4acb01ddea820e5a94f039d74d
MD5 ce9f8bf15909d3c50939ec92888f2855
BLAKE2b-256 0767895a28e9546ac277fead62268d5ba0a541e40aa59ffed52e037e2cf7ce27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_chi_edge-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 128.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9f3afbf67c249a6dc9265fa08394b36a752f00bb9814e1a2711b9869439b11b9
MD5 c2596fbb0b74ee1949f027dc42e8a1fe
BLAKE2b-256 af39bc02dc34ef2efeee00a52b2a68aff444954363c8dc98cf816a7a5ecd17d3

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