-
Notifications
You must be signed in to change notification settings - Fork 742
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
IPv6 integration tests #1658
IPv6 integration tests #1658
Conversation
|
||
for _, pod := range podNetworkingValidationInput.PodList { | ||
|
||
podIP, podIPNet, err := net.ParseCIDR(pod.PodIPv4Address + "/32") | ||
podIP = pod.PodIPv4Address |
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.
Nit: Looks like indentation is bit off.
@@ -40,8 +41,10 @@ func main() { | |||
StartTCPServer(addr) | |||
} else if serverMode == "udp" { | |||
StartUDPServer(addr) | |||
} else if serverMode == "http" { |
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.
Nit: Need to update "// Supported modes are tcp, udp" for var serverMode string on line 29
// express or implied. See the License for the specific language governing | ||
// permissions and limitations under the License. | ||
|
||
package ipv6 |
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.
Maybe as a follow up can we also add test cases around the new env variables? ENABLE IPV4 and IPV6?
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.
They are covered by UT though. In general we can't toggle these 2 env variables on a live cluster as the cluster can either be an IPv4 or an IPv6 cluster.
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
What type of PR is this?
feature tests
What does this PR do / Why do we need it:
PR adds integration tests for IPv6 support.
Testing done on this change:
Verified the
ipv6
integration test suite on an IPv6 cluster.Automation added to e2e:
Yes.
test/integration-new/cni/ipv6
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
N/A
Does this change require updates to the CNI daemonset config files to work?:
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.