Permalink
Browse files

IPv6: Set localhost and wildcard constants

Use IPv6 values for these. Requires updates of numerous golden files
and to upstream, this needs to be configurable, based on the IP mode
desired by the user.
  • Loading branch information...
pmichali committed Mar 5, 2018
1 parent 65dc3e9 commit 814036ffac2f602ad1bc7658f79827d3afeedf7c
Showing with 18,346 additions and 18,346 deletions.
  1. +2 −2 pilot/pkg/proxy/envoy/v1/resources.go
  2. +1 −1 pilot/pkg/proxy/envoy/v1/testdata/envoy-sidecar-auth.json.golden
  3. +1 −1 pilot/pkg/proxy/envoy/v1/testdata/envoy-sidecar.json.golden
  4. +2 −2 pilot/pkg/proxy/envoy/v1/testdata/lds-httpproxy.json.golden
  5. +4 −4 pilot/pkg/proxy/envoy/v1/testdata/lds-ingress.json.golden
  6. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-mixer-check-report-config.json.golden
  7. +483 −483 pilot/pkg/proxy/envoy/v1/testdata/lds-mixerclient-filter.json.golden
  8. +4 −4 pilot/pkg/proxy/envoy/v1/testdata/lds-router-with-gateway.json.golden
  9. +516 −516 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule-auth.json.golden
  10. +171 −171 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule-nomixer.json.golden
  11. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule-tcp-auth.json.golden
  12. +154 −154 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule-tcp-nomixer.json.golden
  13. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule-tcp.json.golden
  14. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-egress-rule.json.golden
  15. +502 −502 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-fault-auth.json.golden
  16. +194 −194 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-fault-nomixer.json.golden
  17. +477 −477 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-fault.json.golden
  18. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-http-dns-no-endpoints.json.golden
  19. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-http-dns.json.golden
  20. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-http-none.json.golden
  21. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-http-static.json.golden
  22. +512 −512 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-multi-match-fault-auth.json.golden
  23. +204 −204 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-multi-match-fault-nomixer.json.golden
  24. +486 −486 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-multi-match-fault.json.golden
  25. +426 −426 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-none-auth-optin.json.golden
  26. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-none-auth-optout.json.golden
  27. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-none-auth.json.golden
  28. +130 −130 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-none-nomixer.json.golden
  29. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-none.json.golden
  30. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-tcp-dns.json.golden
  31. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-tcp-none.json.golden
  32. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-tcp-static.json.golden
  33. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-weighted-auth.json.golden
  34. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-weighted-external-service.json.golden
  35. +130 −130 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-weighted-nomixer.json.golden
  36. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v0-weighted.json.golden
  37. +516 −516 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule-auth.json.golden
  38. +171 −171 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule-nomixer.json.golden
  39. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule-tcp-auth.json.golden
  40. +154 −154 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule-tcp-nomixer.json.golden
  41. +382 −382 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule-tcp.json.golden
  42. +503 −503 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-egress-rule.json.golden
  43. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-fault-auth.json.golden
  44. +130 −130 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-fault-nomixer.json.golden
  45. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-fault.json.golden
  46. +479 −479 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-multi-match-fault-auth.json.golden
  47. +152 −152 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-multi-match-fault-nomixer.json.golden
  48. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-multi-match-fault.json.golden
  49. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-none-auth.json.golden
  50. +130 −130 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-none-nomixer.json.golden
  51. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-none.json.golden
  52. +400 −400 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-weighted-auth.json.golden
  53. +130 −130 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-weighted-nomixer.json.golden
  54. +437 −437 pilot/pkg/proxy/envoy/v1/testdata/lds-v1-weighted.json.golden
  55. +430 −430 pilot/pkg/proxy/envoy/v1/testdata/lds-websocket.json.golden
  56. +1 −1 pilot/pkg/proxy/envoy/v1/testdata/rds-router-gateway-wildcard-server1.json.golden
@@ -106,10 +106,10 @@ const (
RedisDefaultOpTimeout = 30 * time.Second
// WildcardAddress binds to all IP addresses
WildcardAddress = "0.0.0.0"
WildcardAddress = "[::]"
// LocalhostAddress for local binding
LocalhostAddress = "127.0.0.1"
LocalhostAddress = "[::1]"
// EgressTraceOperation denotes the name of trace operation for Envoy
EgressTraceOperation = "egress"
@@ -6,7 +6,7 @@
},
"admin": {
"access_log_path": "/dev/stdout",
"address": "tcp://127.0.0.1:15000"
"address": "tcp://[::1]:15000"
},
"cluster_manager": {
"clusters": [
@@ -6,7 +6,7 @@
},
"admin": {
"access_log_path": "/dev/stdout",
"address": "tcp://127.0.0.1:15000"
"address": "tcp://[::1]:15000"
},
"cluster_manager": {
"clusters": [
@@ -1,8 +1,8 @@
{
"listeners": [
{
"address": "tcp://127.0.0.1:15002",
"name": "http_127.0.0.1_15002",
"address": "tcp://[::1]:15002",
"name": "http_[::1]_15002",
"filters": [
{
"type": "read",
@@ -1,8 +1,8 @@
{
"listeners": [
{
"address": "tcp://0.0.0.0:80",
"name": "http_0.0.0.0_80",
"address": "tcp://[::]:80",
"name": "http_[::]_80",
"filters": [
{
"type": "read",
@@ -76,8 +76,8 @@
"bind_to_port": true
},
{
"address": "tcp://0.0.0.0:443",
"name": "http_0.0.0.0_443",
"address": "tcp://[::]:443",
"name": "http_[::]_443",
"filters": [
{
"type": "read",
Oops, something went wrong.

0 comments on commit 814036f

Please sign in to comment.