mrg-iot exp
The exp group owns the whole experiment lifecycle in two verbs: deploy brings an experiment up, and undeploy takes it down. list and status show what you have.

The lifecycle
exp deploy does everything in one command: it creates the experiment and its network model, allocates the hardware, brings it online, creates an XDC, and attaches the two. exp status shows the deployment and where each of those steps stands. exp undeploy is the inverse: it releases the hardware and, unless you ask to keep them, deletes the experiment and the XDC as well.
Naming the experiment
The exp verbs take the experiment name as a positional NAME or as --name/-n; every other group takes --experiment/-e. Either way it defaults to your username.
--devices is greedy, so give NAME before it: exp deploy myexp -d d1 d2, not exp deploy -d d1 d2 myexp.
Defaults
| Argument | Default |
|---|---|
--project, -p | neuiot if you can use it, otherwise the first project you belong to. |
NAME / --name, -n | Your username. |
--devices, -d | No default. Required by exp deploy. |
--xdc, -x | <experiment>xdc |
--realization, -r | realiot |
Names you choose (experiment, realization, XDC) must match ^[a-z][a-z0-9]*$: a lowercase letter first, then lowercase letters and digits only, max 32 characters. Device names like s-echodot-1 are exempt.
Commands
| Command | What it does |
|---|---|
exp list | List deployments. |
exp status | Show one deployment and where each of its steps stands. |
exp deploy | Deploy devices as an experiment, up to an attached XDC. |
exp undeploy | Release the hardware, and delete the experiment and XDC. |
Back to the full walkthrough: Using mrg-iot.