summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/responses/load-balancers.json
blob: 6de3b500a00cd33247bb2e014adc22295fe42e6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
  "loadBalancers": [
    {
      "application": "application1",
      "changedAt": 123,
      "cluster": "id1",
      "dnsZone": "zone-id-1",
      "hostname": "lb-tenant1.application1.instance1-id1",
      "id": "tenant1:application1:instance1:id1",
      "idSeed": ":tenant1:application1:instance1:id1:",
      "instance": "instance1",
      "networks": [
        "10.2.3.0/24",
        "10.4.5.0/24"
      ],
      "ports": [
        4443
      ],
      "public": false,
      "reals": [
        {
          "hostname": "host1.yahoo.com",
          "ipAddress": "127.0.1.1",
          "port": 4443
        },
        {
          "hostname": "host10.yahoo.com",
          "ipAddress": "127.0.10.1",
          "port": 4443
        }
      ],
      "serviceId": "service",
      "settings": {
        "allowedUrns": [
          {
            "type": "aws-private-link",
            "urn": "arne"
          }
        ]
      },
      "state": "active",
      "tenant": "tenant1"
    },
    {
      "application": "zone-config-servers",
      "changedAt": 123,
      "cluster": "zone-config-servers",
      "dnsZone": "zone-id-1",
      "hostname": "lb-hosted-vespa.zone-config-servers-zone-config-servers",
      "id": "hosted-vespa:zone-config-servers:default:zone-config-servers",
      "idSeed": "hosted-vespazone-config-serversdefaultzone-config-servers",
      "instance": "default",
      "networks": [
        "10.2.3.0/24",
        "10.4.5.0/24"
      ],
      "ports": [
        4443
      ],
      "public": true,
      "reals": [
        {
          "hostname": "cfg1.yahoo.com",
          "ipAddress": "127.0.201.1",
          "port": 4443
        },
        {
          "hostname": "cfg2.yahoo.com",
          "ipAddress": "127.0.202.1",
          "port": 4443
        }
      ],
      "state": "active",
      "tenant": "hosted-vespa"
    },
    {
      "application": "application4",
      "changedAt": 123,
      "cluster": "id4",
      "dnsZone": "zone-id-1",
      "hostname": "lb-hosted-vespa.pre-provision-1",
      "id": "tenant4:application4:instance4:id4",
      "idSeed": ":hosted-vespa:pre-provision:default:1:",
      "instance": "instance4",
      "networks": [
        "10.2.3.0/24",
        "10.4.5.0/24"
      ],
      "ports": [
        4443
      ],
      "public": true,
      "reals": [
        {
          "hostname": "host13.yahoo.com",
          "ipAddress": "127.0.13.1",
          "port": 4443
        },
        {
          "hostname": "host14.yahoo.com",
          "ipAddress": "127.0.14.1",
          "port": 4443
        }
      ],
      "state": "active",
      "tenant": "tenant4"
    }
  ]
}