Skip to content

Conversation

@kradalby
Copy link
Collaborator

this PR "wraps" the policy in a manager interface, and implements it for the policy v1.

This work has two goals,

  • A stepping stone to change how often we recreate the policy when used in netmap creations
  • An interface that can be implemented by a new policy implementation to make it easier to run both or tests both. Making us able to introduce a new one, while having the old available while we work out bugs and so on.

@kradalby
Copy link
Collaborator Author

For the curious, I've been working on an idea for a new policy here #2214

kradalby added a commit to kradalby/headscale that referenced this pull request Nov 25, 2024
Signed-off-by: Kristoffer Dalby <[email protected]>
@kradalby kradalby merged commit f7b0cbb into juanfont:main Nov 26, 2024
124 of 125 checks passed
@kradalby kradalby deleted the kradalby/policy-manager-inf3 branch November 26, 2024 14:28
kradalby added a commit to kradalby/headscale that referenced this pull request Feb 7, 2025
Signed-off-by: Kristoffer Dalby <[email protected]>
kradalby added a commit to kradalby/headscale that referenced this pull request Feb 7, 2025
Signed-off-by: Kristoffer Dalby <[email protected]>
kradalby added a commit to kradalby/headscale that referenced this pull request Feb 13, 2025
Signed-off-by: Kristoffer Dalby <[email protected]>
kradalby added a commit to kradalby/headscale that referenced this pull request Feb 14, 2025
Signed-off-by: Kristoffer Dalby <[email protected]>
kradalby added a commit to kradalby/headscale that referenced this pull request Feb 18, 2025
Signed-off-by: Kristoffer Dalby <[email protected]>
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.

2 participants