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

Abstract away each sites device configs into a central set of templates #17

Open
michael-robbins opened this issue Sep 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@michael-robbins
Copy link
Member

michael-robbins commented Sep 13, 2023

Currently each site has its own device configs that are very similar for their function (eg a firewall across the hubs will be roughly the same + site specific extras)

So we should try abstract away each sites fw-0 device into a single template and render them out correctly.

This is a bit of a 'how long is a piece of string' type issue, so just start with fw-0 for hubs first, then we can go from there in future issues if this is a success.

A great example of the abstraction possibilities is the VLAN network configuration, this is all stored in each sites networks.yaml and also hardcoded in the device config, if we could use the tera templates to interpret the networks.yaml config and produce the VLAN configuration in the device config that would be awesome!

@michael-robbins michael-robbins added the enhancement New feature or request label Sep 13, 2023
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

No branches or pull requests

1 participant