-
Notifications
You must be signed in to change notification settings - Fork 7
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 compatibility for VyOS bare-metal setup #41
Conversation
Required to be able to delete these custom chains when live-reloading
Required for live-reloading, because we cannot completely reload nftables in this case.
…d add result to template vars
…nftables config after start if LiveReload is enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM so far. I like it :)
…on-existing ports References cloudandheat#7
This is required to allow default boolean values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overall, I have a few nits.
I tested this in a modified yaook/k8s cluster. For future reference, here is a non-exhaustive list of things I did:
|
I fed this into the yaook/k8s CI: https://gitlab.com/yaook/k8s/-/jobs/3773064413 This CI run used the same image and agent I used in my tests above, so that proves that the cloud use cases aren't fatally broken. That's enough for me to merge this 👍 |
This PR adds compatibility for a VyOS bare-metal setup by:
port_manager
component exchangeableNotes:
ToDos:
CheckPortExists
in OpenStack PortManagerhandleAuxUpdated
causes push of empty config on startup #45For VyOS 1.3, this agent config file would work:
And this controller config could be used:
And this sudo rule in
/etc/sudoers.d/lbaas
: