-
Notifications
You must be signed in to change notification settings - Fork 16
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
Tie up the API with the FRR configuration mechanism #4
Commits on Jun 27, 2023
-
Adding various utility packages stolen form metallb Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa00d59 - Browse repository at this point
Copy the full SHA fa00d59View commit details -
The FRR module is implemented the same way (copied) as MetalLB. The only difference is the starting point, which is the frr-k8s api. We have a translation layer that takes the FRR-K8s config, then translates it, and then generate the FRR configuration and calls the reloader script. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ad8895 - Browse repository at this point
Copy the full SHA 0ad8895View commit details -
Wire up the FRR package and the controller
Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 956ead3 - Browse repository at this point
Copy the full SHA 956ead3View commit details -
Makefile: restart the ds when running make deploy
Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35c082e - Browse repository at this point
Copy the full SHA 35c082eView commit details -
Add the extra frr containers and wire up the config
Here we add the same containers we had in MetalLB and we change the dockerfile accordingly. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08ef923 - Browse repository at this point
Copy the full SHA 08ef923View commit details -
Add a script to configure the DS and create an external frr container
Add a dev-env like script that configures both the external container and the frr-k8s configuration. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24a6962 - Browse repository at this point
Copy the full SHA 24a6962View commit details -
Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 474b031 - Browse repository at this point
Copy the full SHA 474b031View commit details -
Move the frr interaction behind an interface
This will make easier to test the controller by injecting a mock frr handler. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 601fbba - Browse repository at this point
Copy the full SHA 601fbbaView commit details -
Add a controller based test suite
This is meant to test only the controller behaviour, to see if it reacts correctly to the events. Testing of the conversion of the api should not depend on the api server. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d553cee - Browse repository at this point
Copy the full SHA d553ceeView commit details -
Add unit tests for api to config
Here we unit test the conversion function. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2415e57 - Browse repository at this point
Copy the full SHA 2415e57View commit details -
The flag was not implemented, here we cover with a test and support it. Signed-off-by: Federico Paolinelli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7ba67a - Browse repository at this point
Copy the full SHA f7ba67aView commit details