Skip to main content

Receives swarm intent command

SUB 

{agent-base-topic}/exec/command

An operator submits a standard start-task envelope whose task name is set-swarm-intent to the Agent's own exec/command. A non-empty swarm-id founds or joins that Swarm; an empty swarm-id is a graceful Departure.

MQTT​

QoS1
retainfalse

Message Set swarm intent​

Found, join or leave a Swarm at runtime

Receives swarm intent command
{
"com-uuid": "5f3e2c1a-8b7d-4e6f-9a1b-2c3d4e5f6789",
"task-uuid": "1a2b3c4d-5e6f-4789-9abc-def012345678",
"command": "start-task",
"execution-unit": "SimUSV1",
"sender": "operator",
"task": {
"name": "set-swarm-intent",
"params": {
"swarm-id": "2d5082f9-3dca-498c-9157-f152456f9179"
}
}
}