-
Notifications
You must be signed in to change notification settings - Fork 133
OpenStack: Filter fixed IP addresses with CIDR notation #317
OpenStack: Filter fixed IP addresses with CIDR notation #317
Conversation
Welcome @ederst! |
Hi @ederst. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
bcaa6d7
to
66c7f80
Compare
66c7f80
to
1083fdf
Compare
70e68af
to
49de004
Compare
@justinsb, @hakman, @olemarkus anyone? |
b4bc58c
to
71c0731
Compare
71c0731
to
b1e37b2
Compare
@hakman, @justinsb, @olemarkus: I still want this to be merged, or a definitive no :D |
Hey @ederst. Sorry for the delay here. I will try to put it on our discussion list at this week's call. |
d073858
to
b9cf184
Compare
/ok-to-test |
ad85f72
to
d27b1d2
Compare
This allows filtering the fixed IP addresses returned by the OpenStack compute API with a filter defined as CIDR notation. When specifying the filter then the first fixed IP address matching the CIDR notation will be returned. If no filter is specified then the first found IP will be returned.
d27b1d2
to
fd04eb3
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ederst, hakman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Currently,
etcd-manager
returns the first found fixed IP address on VMs with multiple IP addresses in OpenStack.However, there are multiple implications, for example:
etcd-manager
is executed due to inconsistent sorting of the results returned by the OpenStack compute APITo mitigate this, let users specify a filter with CIDR notation so that instead of the first found fixed IP address the first IP address matching the CIDR notation will be returned.
When no filter is specified
etcd-manager
will still return the first found fixed IP address.