I understand it’s a bit of a tall order, I just wanted to see if there was any interest in something like this within the FOG community, or if it is planned for the future at all. I did not know about the pyFog project before, but it looks like it may suit my needs for now. Thanks!
Posts made by Justin Roberts
-
RE: FOG API?
-
RE: FOG API?
I am hoping to use FOG as part of a project that I support, which requires machines to be imaged on a frequent, but not regular basis. Originally I was getting by with just scheduled tasks. But this was creating issues because occasionally the scheduled task would not kick off in time for when I would need to deploy a new image and I would need to do it manually.
Ideally, this service would function similarly to the REST API that the Cuckoo Sandbox uses ([url]http://docs.cuckoosandbox.org/en/latest/usage/api/[/url]). But really, all I need is a way to simply (through GET/POST requests) interface with FOG to do remote tasks. For example, [url]http://fog.local/api/deploy/fog_host_1[/url], which would submit a task to FOG, that would deploy the default image for “fog_host_1”. The only functions I need to be able to do is return a list of All Hosts, Deploy to a specific host, and upload from a specific host.
-
RE: FOG API?
Specifically, I’d like to be able to start/stop tasks from a remote machine, via a script, without needing to go through the web UI. I guess I’m not sure if there are any plugins that would support this kind of functionality currently.
-
FOG API?
Hey guys,
Not sure if this has been brought up / discussed here before. I think it could be useful for FOG to have an API service so we can fully automate simple FOG tasks like deploying/uploading images, instead of requiring a cron job or using the web UI.
-Justin