Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Execution Actuator #4

Open
vs49688 opened this issue Jan 29, 2019 · 0 comments
Open

External Execution Actuator #4

vs49688 opened this issue Jan 29, 2019 · 0 comments
Labels
actuator enhancement New feature or request
Milestone

Comments

@vs49688
Copy link
Contributor

vs49688 commented Jan 29, 2019

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 takes a JSON dump of the following format from stdin:
{
	"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> -- Attempt to kill a single agent.

Any nonzero return value is considered a failure.

@vs49688 vs49688 added enhancement New feature or request actuator labels Jan 29, 2019
@vs49688 vs49688 added this to the pipe-dream milestone Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actuator enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant