Repository navigation
Refactor Metallb svc controller and speaker to support dual-stack - #1065
Conversation
c93e057 to
1c79047
Compare
3a85781 to
96db081
Compare
6a0203e to
b2b80fb
Compare
fedepaol
left a comment
There was a problem hiding this comment.
Did a quick round over the controller, haven't looked at the speaker or tests yet.
b2b80fb to
ba7cae6
Compare
2b75810 to
921acad
Compare
|
A general comment: we should also extend unit tests to cover dual stack. |
07b2a79 to
2705a1c
Compare
2705a1c to
a090f06
Compare
b22d9b0 to
d157fb9
Compare
d157fb9 to
95eec90
Compare
175ab05 to
05df297
Compare
|
LGTM, let's rebase to import the tests and 🤞 |
8e70dc2 to
c1a5c6d
Compare
… dual-stack support - update service controller to process multiple loadbalancer and cluster IPs - update allocator to allow allocating multiple IPs from different address family from the same pool - added new package ipfamily and unit-test to retrieve address family from addresses and cidr - update controller and allocator unit-test to handle multiple IPs and added dual-stack test cases Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
- speaker is changes to return multiple IPs for loadbalancer service - added new custom IPs equality API - updated speaker APIs to handle multiple IPs Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
c1a5c6d to
dd9c071
Compare
|
New tests passed, single stack passed. |
…tallb#1065) * Refactor Metallb service controller to handle multiple IPs needed for dual-stack support - update service controller to process multiple loadbalancer and cluster IPs - update allocator to allow allocating multiple IPs from different address family from the same pool - added new package ipfamily and unit-test to retrieve address family from addresses and cidr - update controller and allocator unit-test to handle multiple IPs and added dual-stack test cases Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com> * Refactor speaker's bgp and layer2 controllers to support multiple IPs - speaker is changes to return multiple IPs for loadbalancer service - added new custom IPs equality API - updated speaker APIs to handle multiple IPs Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com> * Enable CI run for dual-stack Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
|
There is no documentation, testsvc_dualstack.yaml is not in the project. What does the service deploy need to look like to set dualstack static ip's ? Like if I want to set the ip's 192.168.1.151 and 68d9:f187:b07b:15c2::151 |
|
|
ok then I misunderstood, I will continue to use 2 services. |
…tallb#1065) * Refactor Metallb service controller to handle multiple IPs needed for dual-stack support - update service controller to process multiple loadbalancer and cluster IPs - update allocator to allow allocating multiple IPs from different address family from the same pool - added new package ipfamily and unit-test to retrieve address family from addresses and cidr - update controller and allocator unit-test to handle multiple IPs and added dual-stack test cases Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com> * Refactor speaker's bgp and layer2 controllers to support multiple IPs - speaker is changes to return multiple IPs for loadbalancer service - added new custom IPs equality API - updated speaker APIs to handle multiple IPs Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com> * Enable CI run for dual-stack Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
Refactor Metallb service controller to support dual stack, this PR is continuation of the effort started by
PR #727 while trying to share most of the code between single stack and dual stack services, also it modifies to speaker code to return more than one address instead of one Loadbalancer IP.
- Testing