Open vs49688 opened 5 years ago
Rather simple concept, invoke a program that will start agents.
The program shall have two commands:
Usage: ./extlaunch.py launch ./extlaunch.py kill <uuid>
launch
{ "resource_path": "fl012", "amqp_uri": "amqp://user:pass@asdfasdfasd", "no_verify_peer": true, "no_verify_host": true, "cert_data": "asdfasd==", "amqp_routing_key": "iamthemaster", "uuids": [ "ef449411-1407-4702-ad12-06a639c065fb", "a72188ba-24a7-4dd8-95c0-dea896a70141", "b725ad16-db6c-4744-995e-b254e4fcfd08" ], "config": { "limit": 10, "program": "/home/user/Desktop/nimrod-embedded/extlaunch.py" } }
How it invokes the agents, Nimrod doesn't care. For the case of Embedded Nimrod, it'll generate a script and invoke ssh to another node, bypassing the requirement of needing access to the host's keys.
kill <uuid>
Any nonzero return value is considered a failure.
Rather simple concept, invoke a program that will start agents.
The program shall have two commands:
launch
takes a JSON dump of the following format from stdin:How it invokes the agents, Nimrod doesn't care. For the case of Embedded Nimrod, it'll generate a script and invoke ssh to another node, bypassing the requirement of needing access to the host's keys.
kill <uuid>
-- Attempt to kill a single agent.Any nonzero return value is considered a failure.