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

add initial version of hypervisor tooling #18

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

MofX
Copy link
Collaborator

@MofX MofX commented Nov 12, 2024

Adds tooling to generated the hypervisor configuration (lua scripts) using a yaml configuration file and a yaml model of this configuration described in yaml and python. The reason for having the model "twice", is that the yaml definition of the model describes how the configuration is parsed into a python object model. The python model is required to do some postprocessing of the configuration, before jinja2 is used to generate the final configuration.

The used hypervisor version can support additional features or require a different generated configuration. For that reason the configuration model can be extended by a configuration specialization bundled together with the hypervisor.

Note that this a first preview and the documentation (aside from source comments) is missing. For instructions how to test this, please contact me directly, because it cannot work out-of-the-box right now

thir820
thir820 previously approved these changes Nov 13, 2024
MofX added 2 commits November 26, 2024 09:33
In some debian packages the data.tar is not compressed
and named only data.tar without any extension.
Adds tooling to generated the hypervisor configuration (lua scripts)
using a yaml configuration file and a yaml model of this configuration
described in yaml and python. The reason for having the model "twice", is that
the yaml definition of the model describes how the configuration is parsed into
a python object model. The python model is required to do some postprocessing
of the configuration, before jinja2 is used to generate the final configuration.

The used hypervisor version can support additional features or require a different
generated configuration. For that reason the configuration model can be extended
by a configuration specialization bundled together with the hypervisor.
@MofX MofX force-pushed the hypervisor_tooling branch from d46dc33 to ff2f7ca Compare November 26, 2024 08:34
@antonjahn antonjahn marked this pull request as ready for review November 30, 2024 06:41
@MofX MofX requested a review from thir820 December 3, 2024 10:56
@MofX
Copy link
Collaborator Author

MofX commented Dec 3, 2024

I think this can be merged now. It is in a state where it works and mainly needs more documentation, but that is a separate task.

@antonjahn antonjahn merged commit 3496a7f into main Dec 3, 2024
1 check passed
@antonjahn antonjahn deleted the hypervisor_tooling branch December 3, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants