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.