POETSII / Orchestrator

The Orchestrator is the configuration and run-time management system for POETS platforms.
1 stars 1 forks source link

Permit cluster size definition via the Launcher #296

Closed mvousden closed 2 years ago

mvousden commented 2 years ago

This changeset resolves #294 by adding two CLI switches to the launcher (x and y) to allow the operator to configure the Tinsel-facing cluster shape. When any of these switches are used, the values of environment variables HOSTLINK_BOXES_X and HOSTLINK_BOXES_Y read by the Mothership (and Hostlink) are changed to the arguments passed in. The launcher will warn if these are not integers (which Tinsel mandates), but will allow the operator to continue regardless (Hostlink will vomit down the line).

Note that this will not stop users from loading an 8-box file and placing devices on boxes that have no Motherships associated with them. When the operator attempts to deploy such an application, the deploy logic will post and give up.

Tested by running a (single-box) 3x3 plate on Heaney.