Instance Templates Example?

21 views
Skip to first unread message

Simon V

unread,
May 8, 2025, 1:10:33 PMMay 8
to yamcs
Hello,

Are there more examples or documentation on instance templates?

I would like to test creating an instance via the HTTP API which mentions a template definition, but I have not been able to find much on it other than this minimal example in the yamcs repo.

Thank you!
Simon

fabia...@spaceapplications.com

unread,
May 12, 2025, 3:49:13 AMMay 12
to yamcs
Hi, that's pretty much all there is to it.
You define the arguments in meta.yaml, and the instance configuration in template.yaml in that folder structure.

Or use the Yamcs Web UI, which will show a "Create instance" button on the homepage when there is any template discovered, and render all arguments in a form.

Any create instance configuration files are saved under [yamcs-data]/instance-def/

This is not something we commonly use, so let us know if you run into bugs.
Reply all
Reply to author
Forward
0 new messages