Docker container for device-aggregator
5.0K
This repo provides:
┌───────────────┐ ┌───────────────┐
│ Udev Script │ │ ZEDlet │
└───────────────┘ └───────────────┘
│ │
└────────┬────────┘
▼
┌─────────────────────┐
│ Unix Domain Socket │
└─────────────────────┘
│
▼
┌───────────────────────────┐
│ Device Scanner Daemon │
└───────────────────────────┘
│
▼
┌─────────────────────┐
│ Unix Domain Socket │
└─────────────────────┘
│
▼
┌──────────────────┐
│ Consumer Process │
└──────────────────┘
cargo buildcargo buildRunning vagrant up will setup a complete environment. It will build device-scanner, scanner-proxy, and device-aggregator, package them as RPMs and install them on the correct nodes.
To interact with the device-scanner in real time the following command can be used to keep the stream open such that updates can be seen as the data changes:
cat - | ncat -U /var/run/device-scanner.sock | jq
If interaction is not required, device info can be retrieved from the device-scanner by running the following command:
echo '"Stream"' | socat - UNIX-CONNECT:/var/run/device-scanner.sock | jq
cargo testContent type
Image
Digest
Size
27.6 MB
Last updated
over 6 years ago
docker pull imlteam/device-aggregator