Skip to content

Commit c599690

Browse files
committed
add fixture for nb type test
1 parent 23111c3 commit c599690

File tree

1 file changed

+44
-39
lines changed

1 file changed

+44
-39
lines changed

test/integration/fixtures/TestNodeBalancer_Create_Type.yaml

Lines changed: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -148,50 +148,54 @@ interactions:
148148
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
149149
"placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg":
150150
5}, "site_type": "core"}, {"id": "nz-akl-1", "label": "Auckland, NZ", "country":
151-
"nz", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata", "Distributed
152-
Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
151+
"nz", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall", "Vlans",
152+
"Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
153153
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
154154
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "us-den-1",
155-
"label": "Denver, CO", "country": "us", "capabilities": ["Linodes", "Cloud Firewall",
155+
"label": "Denver, CO", "country": "us", "capabilities": ["Linodes", "Disk Encryption",
156+
"Cloud Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok",
157+
"resolvers": {"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
158+
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
159+
0}, "site_type": "distributed"}, {"id": "de-ham-1", "label": "Hamburg, DE",
160+
"country": "de", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
156161
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
157162
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
158163
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
159-
0}, "site_type": "distributed"}, {"id": "de-ham-1", "label": "Hamburg, DE",
160-
"country": "de", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
161-
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
162-
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
163-
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "fr-mrs-1",
164-
"label": "Marseille, FR", "country": "fr", "capabilities": ["Linodes", "Cloud
164+
0}, "site_type": "distributed"}, {"id": "fr-mrs-1", "label": "Marseille, FR",
165+
"country": "fr", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
166+
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
167+
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
168+
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
169+
0}, "site_type": "distributed"}, {"id": "za-jnb-1", "label": "Johannesburg,
170+
ZA", "country": "za", "capabilities": ["Linodes", "Disk Encryption", "Cloud
165171
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
166172
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
167173
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
168-
0}, "site_type": "distributed"}, {"id": "za-jnb-1", "label": "Johannesburg,
169-
ZA", "country": "za", "capabilities": ["Linodes", "Cloud Firewall", "Vlans",
170-
"Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
171-
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
172-
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "my-kul-1",
173-
"label": "Kuala Lumpur, MY", "country": "my", "capabilities": ["Linodes", "Cloud
174+
0}, "site_type": "distributed"}, {"id": "my-kul-1", "label": "Kuala Lumpur,
175+
MY", "country": "my", "capabilities": ["Linodes", "Disk Encryption", "Cloud
174176
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
175177
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
176178
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
177179
0}, "site_type": "distributed"}, {"id": "co-bog-1", "label": "Bogot\u00e1, CO",
178-
"country": "co", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
179-
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
180-
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
181-
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "mx-qro-1",
182-
"label": "Quer\u00e9taro, MX", "country": "mx", "capabilities": ["Linodes",
183-
"Cloud Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok",
184-
"resolvers": {"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
180+
"country": "co", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
181+
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
182+
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
185183
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
186-
0}, "site_type": "distributed"}, {"id": "us-hou-1", "label": "Houston, TX",
187-
"country": "us", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
188-
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
189-
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
190-
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "cl-scl-1",
191-
"label": "Santiago, CL", "country": "cl", "capabilities": ["Linodes", "Cloud
184+
0}, "site_type": "distributed"}, {"id": "mx-qro-1", "label": "Quer\u00e9taro,
185+
MX", "country": "mx", "capabilities": ["Linodes", "Disk Encryption", "Cloud
192186
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
193187
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
194188
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
189+
0}, "site_type": "distributed"}, {"id": "us-hou-1", "label": "Houston, TX",
190+
"country": "us", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
191+
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
192+
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
193+
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
194+
0}, "site_type": "distributed"}, {"id": "cl-scl-1", "label": "Santiago, CL",
195+
"country": "cl", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
196+
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
197+
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
198+
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
195199
0}, "site_type": "distributed"}, {"id": "gb-lon", "label": "London 2, UK", "country":
196200
"gb", "capabilities": ["Linodes", "Block Storage Encryption", "Disk Encryption",
197201
"Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes",
@@ -322,7 +326,7 @@ interactions:
322326
Content-Type:
323327
- application/json
324328
Expires:
325-
- Thu, 13 Feb 2025 19:49:44 GMT
329+
- Tue, 25 Feb 2025 18:53:25 GMT
326330
Pragma:
327331
- no-cache
328332
Strict-Transport-Security:
@@ -348,7 +352,7 @@ interactions:
348352
code: 200
349353
duration: ""
350354
- request:
351-
body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":1807800,"type":"common"}'
355+
body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":1898807,"type":"common"}'
352356
form: {}
353357
headers:
354358
Accept:
@@ -360,11 +364,12 @@ interactions:
360364
url: https://api.linode.com/v4beta/nodebalancers
361365
method: POST
362366
response:
363-
body: '{"id": 1283785, "label": "go-test-def", "region": "ap-west", "hostname":
364-
"172-232-86-171.ip.linodeusercontent.com", "ipv4": "172.232.86.171", "ipv6":
365-
"1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
366-
"client_conn_throttle": 20, "client_udp_sess_throttle": 0, "tags": [], "transfer":
367-
{"in": null, "out": null, "total": null}}'
367+
body: '{"id": 1315518, "label": "go-test-def", "region": "ap-west", "type": "common",
368+
"hostname": "172-232-87-61.ip.linodeusercontent.com", "ipv4": "172.232.87.61",
369+
"ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated":
370+
"2018-01-02T03:04:05", "client_conn_throttle": 20, "client_udp_sess_throttle":
371+
0, "lke_cluster": null, "tags": [], "transfer": {"in": null, "out": null, "total":
372+
null}}'
368373
headers:
369374
Access-Control-Allow-Credentials:
370375
- "true"
@@ -383,13 +388,13 @@ interactions:
383388
Connection:
384389
- keep-alive
385390
Content-Length:
386-
- "368"
391+
- "405"
387392
Content-Security-Policy:
388393
- default-src 'none'
389394
Content-Type:
390395
- application/json
391396
Expires:
392-
- Thu, 13 Feb 2025 19:49:44 GMT
397+
- Tue, 25 Feb 2025 18:53:25 GMT
393398
Pragma:
394399
- no-cache
395400
Strict-Transport-Security:
@@ -422,7 +427,7 @@ interactions:
422427
- application/json
423428
User-Agent:
424429
- linodego/dev https://github.com/linode/linodego
425-
url: https://api.linode.com/v4beta/nodebalancers/1283785
430+
url: https://api.linode.com/v4beta/nodebalancers/1315518
426431
method: DELETE
427432
response:
428433
body: '{}'
@@ -450,7 +455,7 @@ interactions:
450455
Content-Type:
451456
- application/json
452457
Expires:
453-
- Thu, 13 Feb 2025 19:49:44 GMT
458+
- Tue, 25 Feb 2025 18:53:25 GMT
454459
Pragma:
455460
- no-cache
456461
Strict-Transport-Security:

0 commit comments

Comments
 (0)