Closed ripta closed 5 years ago
Apparently build failed because it timed out waiting for docker credentials. D:
@ripta Thanks for the PR! that's weird.. I'll restart the build and see if that makes a difference.
Edit: I need to fix the build process up...
SGTM. Let me know if there's anything I can do to help!
Bump. Any progress on getting this merged?
@vpm-bradleyhession there's concerns with this PR where when new ENIs are brought up, the src/dst checks are not disabled properly.
Any updates as to when this PR will be fixed/merged?
@ranimufid we have an internal re-write which we will publish soon to this repo. However, it does not serve the purpose of when there's multiple ENIs.
If you can describe your use-case, we maybe able to accommodate.
@ottoyiu, sadly the need to disable src/dest on multiple ENIs is my exact use case :(
Closing, because we no longer need this feature. Specifically, recent versions of amazon-vpc-cni-k8s definitely work without needing to change srcdst.
Not to mention the rewrite @ottoyiu mentioned above will most likely cause merge conflicts. If anyone wants it though, feel free to take the patch as-is!
Some CNI plugins, most notably the amazon-vpc-cni-k8s one, assigns a primary and secondary network interface.
Calling
ModifyInstanceAttribute
to changeSourceDestCheck
fails with the following error if that instance has more than one network interface:Instead, this patch looks for each network interface belonging to that instance, and calls
ModifyNetworkInterfaceAttribute
. Only interfaces that need to be updated will generate that API call.This is my first foray into the AWS Go SDK mock objects, but I've attempted to update the tests as well.