kubernetes/test/e2e/network
Kubernetes Submit Queue f9f8dc30c5
Merge pull request #52748 from leblancd/v6_e2e_host_port
Automatic merge from submit-queue (batch tested with PRs 52748, 56623). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add brackets around IPv6 addrs in e2e test IP:port endpoints

There are several locations in the e2e tests where endpoints of the
form IPv6:port use IPv6 addresses directly, without surrounding brackets.
Brackets are required around IPv6 addresses in this case, in order to
distinguish the colons in the IPv6 address from the colon immediately
preceding the port.

Also, wherever the curl command might be used with an IPv6 address
surrounded in brackets, the "-g" argument is added to the curl
command line arguments so that the brackets can be interpreted
correctly.

fixes #52746



**What this PR does / why we need it**:
This PR adds brackets around IPv6 addresses when they appear as part of an IPv6-addr:port endpoint
in the e2e tests. This is needed because any connections that attempt to use IPv6-addr:port
endpoint without brackets surrounding the IPv6-addr will fail.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52746

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-12-04 14:22:10 -08:00
..
BUILD Update generated files 2017-11-09 12:14:08 +01:00
dns.go Merge pull request #54946 from bradtopol/adddnscrdcmprobeconform 2017-11-13 14:47:05 -08:00
dns_common.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
dns_configmap.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
doc.go Moves networking e2e tests to test/e2e/network 2017-07-22 09:43:42 -07:00
example_cluster_dns.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
firewall.go update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
framework.go Add [sig-network] prefix to network e2e tests 2017-07-25 08:56:35 +08:00
ingress.go Don't call BeforeEach() again in ingress suite 2017-11-20 20:01:22 -08:00
kube_proxy.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
network_policy.go Add named port egress test 2017-11-06 14:34:01 -08:00
network_tiers.go e2e: network tiers should retry on 404 errors 2017-09-06 13:16:28 -07:00
networking.go Don't share nodePort service in session affinity tests 2017-11-05 22:42:33 -08:00
networking_perf.go Add IPv6 option for e2e iPerf test 2017-10-03 11:19:50 -04:00
no_snat.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
OWNERS Moves networking e2e tests to test/e2e/network 2017-07-22 09:43:42 -07:00
proxy.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
service.go Merge pull request #52748 from leblancd/v6_e2e_host_port 2017-12-04 14:22:10 -08:00
service_latency.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
serviceloadbalancers.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
util_iperf.go fix newline in raw string in e2e net perf case 2017-10-25 13:26:43 +08:00