This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Home
Tim Laverty edited this page Aug 17, 2017
·
13 revisions
This service allows management of a pool of simulated devices. The primarily objective is to allow testing the end-to-end flow of device-to-cloud (D2C) telemetry and invoking cloud-to-device (C2D) methods.
The microservice provides a RESTful endpoint to create a simulation (only one), start, and stop a simulation containing multiple devices. Each simulation is composed of a set of virtual devices of different types. The devices are registered with an IoTHub, send telemetry, and receive commands.
- Get list of device types that can be simulated
- Create a simulation for a set of customized device types
- Create a "seed" or "default" simulation with 2 devices per type
- Only one simulation per deployment can be created
- Simulations start immediately, unless specified differently
- Get details of the running simulation
- Stop existing simulation
- Start existing simulation
- Invoke methods on the devices
- Stateful devices, i.e. devices can simulate long-running flows, state machines, etc.
- Web service: API for the UI to retrieve information and start/stop
- Storage: simulation details, and status of the simulation On/Off
- Simulation actors: background processes sending events
- IoT Hub Manager, used to manage devices a. Requires an Azure IotHub.
- Storage, used to store the simulation status a. Requires a DocDb instance.