Skip to content

Use platform_map.yml from the templates to map platforms to kinds and their parameters#79

Merged
bortok merged 27 commits intodevfrom
maps
Oct 6, 2023
Merged

Use platform_map.yml from the templates to map platforms to kinds and their parameters#79
bortok merged 27 commits intodevfrom
maps

Conversation

@bortok
Copy link
Copy Markdown
Contributor

@bortok bortok commented Sep 24, 2023

This removes the need to use symlinks with templates to chose which kind template to use for the platforms configured in netbox. Now the mapping between platforms and kinds relies on platform_map.yml.

In addition, platform_map.yml provides a way to override default values for most of the fields in the templates. For example, you can use it to replace the docker image tag in the template with a different value, without changing the template.

@bortok bortok added the enhancement New feature or request label Sep 24, 2023
@bortok bortok linked an issue Sep 24, 2023 that may be closed by this pull request
Comment thread nrx/nrx.py
Comment thread nrx/nrx.py
Comment thread nrx/nrx.py
@bortok bortok merged commit 03c52c9 into dev Oct 6, 2023
@bortok bortok deleted the maps branch October 6, 2023 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

map platforms to kinds

1 participant