-
Notifications
You must be signed in to change notification settings - Fork 3.4k
datapath: Remove LoadBalancerNodeAddresses & LocalAddresses methods #30458
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
datapath: Remove LoadBalancerNodeAddresses & LocalAddresses methods #30458
Conversation
One bit of background here: I'm working on removing all "wrappers" for retrieving data from the Table[NodeAddress] with the goal of making it obvious that we need to observe the table for changes and thus perform reconciliation if it changes. NodeAddressing in particular hides the fact that the data is dynamic. |
a346fa0
to
ec45a20
Compare
/test |
ec45a20
to
56ed413
Compare
/test |
da40232
to
04ee127
Compare
/test |
04ee127
to
c1df40e
Compare
This pull request has been automatically marked as stale because it |
This pull request has not seen any activity since it was marked stale. |
c1df40e
to
b7c84d0
Compare
b7c84d0
to
22c2e8d
Compare
The next steps after this is to remove the rest of |
/test |
4967bdc
to
69c1a53
Compare
/test |
69c1a53
to
b19c569
Compare
/test |
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.
LGTM for ci-structure
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.
clustermesh changes LGTM 👍 looks like you have a conflict though
b19c569
to
c06478e
Compare
/test |
The recently introduced darwin build check in the "Check if build works for every commit" started to fail now due to the use of the unix package and the RT_* constants. Inline these constants into the tables package in order to keep it buildable for non-Linux platforms. Signed-off-by: Jussi Maki <jussi@isovalent.com>
LoadBalancerNodeAddresses() and LocalAddresses() methods in NodeAddressing were simple queries around the Table[NodeAddress]. Since all use-sites are now modularized and it's easy to pass Table[NodeAddress] in, remove these methods from NodeAddressing. NodeAddressing concept itself will be eventually removed, with node addresses available via Table[NodeAddress] and the rest via LocalNodeStore. Signed-off-by: Jussi Maki <jussi@isovalent.com>
c06478e
to
92e036a
Compare
/test |
LoadBalancerNodeAddresses() and LocalAddresses() methods in NodeAddressing were simple queries around the Table[NodeAddress]. Since all use-sites are now modularized and it's easy to pass Table[NodeAddress] in, remove these methods from NodeAddressing.
NodeAddressing concept itself will be eventually removed, with node addresses available via Table[NodeAddress] and the rest via LocalNodeStore.