Skip to content

Commit e55147a

Browse files
Re-run fixtures
1 parent 8d6b050 commit e55147a

File tree

3 files changed

+102
-113
lines changed

3 files changed

+102
-113
lines changed

test/integration/fixtures/TestInstance_withPG.yaml

Lines changed: 43 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -18,61 +18,69 @@ interactions:
1818
"capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "Managed
1919
Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5",
2020
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
21-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
21+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
2222
5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN",
2323
"country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans",
2424
"VPCs", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5",
2525
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
26-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
26+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
2727
5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia",
2828
"country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans",
2929
"VPCs", "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5",
3030
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
31-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
31+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
32+
5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country":
33+
"dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers":
34+
{"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"},
35+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
36+
5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country":
37+
"dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers":
38+
{"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"},
39+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
3240
5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country":
3341
"us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes",
3442
"Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5",
3543
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
36-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
44+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
3745
5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country":
3846
"us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"],
3947
"status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5",
4048
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
41-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
49+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
4250
5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA",
4351
"country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed
4452
Databases"], "status": "ok", "resolvers": {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5",
4553
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
46-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
54+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
4755
5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country":
48-
"us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage",
49-
"Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal",
50-
"Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", "Metadata"],
51-
"status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5",
56+
"us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers",
57+
"Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall",
58+
"Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases",
59+
"Placement Group"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5",
5260
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
53-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
61+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
5462
5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK",
5563
"country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud
5664
Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"],
5765
"status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20",
5866
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
59-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
67+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
6068
5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country":
61-
"sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage",
62-
"Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20",
69+
"sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"],
70+
"status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20",
6371
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
64-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
72+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
6573
5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country":
66-
"de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage",
67-
"Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5",
74+
"de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"],
75+
"status": "ok", "resolvers": {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5",
6876
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
69-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
77+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
7078
5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country":
7179
"jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Managed Databases"],
7280
"status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5",
7381
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
74-
"placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg":
75-
5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}'
82+
"placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg":
83+
5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}'
7684
headers:
7785
Access-Control-Allow-Credentials:
7886
- "true"
@@ -87,10 +95,6 @@ interactions:
8795
Cache-Control:
8896
- private, max-age=900
8997
- private, max-age=60, s-maxage=60
90-
Connection:
91-
- keep-alive
92-
Content-Length:
93-
- "7144"
9498
Content-Security-Policy:
9599
- default-src 'none'
96100
Content-Type:
@@ -100,6 +104,7 @@ interactions:
100104
Strict-Transport-Security:
101105
- max-age=31536000
102106
Vary:
107+
- Accept-Encoding
103108
- Authorization, X-Filter
104109
- Authorization, X-Filter
105110
X-Accepted-Oauth-Scopes:
@@ -119,7 +124,7 @@ interactions:
119124
code: 200
120125
duration: ""
121126
- request:
122-
body: '{"label":"linodego-test-1712862693761548000","region":"eu-west","affinity_type":"anti_affinity:local","is_strict":false}'
127+
body: '{"label":"linodego-test-1718723007764225000","region":"us-east","affinity_type":"anti_affinity:local","is_strict":false}'
123128
form: {}
124129
headers:
125130
Accept:
@@ -131,7 +136,7 @@ interactions:
131136
url: https://api.linode.com/v4beta/placement/groups
132137
method: POST
133138
response:
134-
body: '{"id": 356, "label": "linodego-test-1712862693761548000", "region": "eu-west",
139+
body: '{"id": 4021, "label": "linodego-test-1718723007764225000", "region": "us-east",
135140
"affinity_type": "anti_affinity:local", "is_strict": false, "is_compliant":
136141
true, "members": []}'
137142
headers:
@@ -147,10 +152,8 @@ interactions:
147152
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
148153
Cache-Control:
149154
- private, max-age=60, s-maxage=60
150-
Connection:
151-
- keep-alive
152155
Content-Length:
153-
- "175"
156+
- "176"
154157
Content-Security-Policy:
155158
- default-src 'none'
156159
Content-Type:
@@ -178,7 +181,7 @@ interactions:
178181
code: 200
179182
duration: ""
180183
- request:
181-
body: '{"region":"eu-west","type":"g6-nanode-1","label":"go-test-ins-g14gx0ib8h49","root_pass":"h4#|k51Ic\u003cdoX\u00262W59A!fF8N.|}n:5}Yt=s\u003e0yJ\\D/6M8gc/~6PHGYG09nEd4kh5","image":"linode/debian9","placement_group":{"id":356},"booted":false}'
184+
body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-5skg99rf1a38","root_pass":"Jb\u00262S#q7072\u003cXj;imqjH7zr5n96A)OVLK8j\\Z31@{+Ei0R72jG]\u003cEGbr.5F/=-\u0026l","image":"linode/debian9","firewall_id":34216,"placement_group":{"id":4021},"booted":false}'
182185
form: {}
183186
headers:
184187
Accept:
@@ -190,17 +193,18 @@ interactions:
190193
url: https://api.linode.com/v4beta/linode/instances
191194
method: POST
192195
response:
193-
body: '{"id": 25124077, "label": "go-test-ins-g14gx0ib8h49", "group": "", "status":
196+
body: '{"id": 25195351, "label": "go-test-ins-5skg99rf1a38", "group": "", "status":
194197
"provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
195-
"type": "g6-nanode-1", "ipv4": ["139.144.245.159"], "ipv6": "1234::5678/128",
196-
"image": "linode/debian9", "region": "eu-west", "specs": {"disk": 25600, "memory":
198+
"type": "g6-nanode-1", "ipv4": ["143.42.181.72"], "ipv6": "1234::5678/128",
199+
"image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory":
197200
1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
198201
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
199202
false, "available": false, "schedule": {"day": null, "window": null}, "last_successful":
200203
null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid":
201-
"e7dea8a2851fa88da8866ef434a553491200ea8c", "has_user_data": false, "placement_group":
202-
{"id": 356, "label": "linodego-test-1712862693761548000", "affinity_type": "anti_affinity:local",
203-
"is_strict": false}}'
204+
"2e8c6f5e2c38ef3261c570ae22ac2b65435af20b", "has_user_data": false, "placement_group":
205+
{"id": 4021, "label": "linodego-test-1718723007764225000", "affinity_type":
206+
"anti_affinity:local", "is_strict": false}, "disk_encryption": "enabled", "lke_cluster_id":
207+
null}'
204208
headers:
205209
Access-Control-Allow-Credentials:
206210
- "true"
@@ -214,10 +218,6 @@ interactions:
214218
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
215219
Cache-Control:
216220
- private, max-age=60, s-maxage=60
217-
Connection:
218-
- keep-alive
219-
Content-Length:
220-
- "881"
221221
Content-Security-Policy:
222222
- default-src 'none'
223223
Content-Type:
@@ -227,6 +227,7 @@ interactions:
227227
Strict-Transport-Security:
228228
- max-age=31536000
229229
Vary:
230+
- Accept-Encoding
230231
- Authorization, X-Filter
231232
X-Accepted-Oauth-Scopes:
232233
- linodes:read_write
@@ -254,7 +255,7 @@ interactions:
254255
- application/json
255256
User-Agent:
256257
- linodego/dev https://github.com/linode/linodego
257-
url: https://api.linode.com/v4beta/linode/instances/25124077
258+
url: https://api.linode.com/v4beta/linode/instances/25195351
258259
method: DELETE
259260
response:
260261
body: '{}'
@@ -271,8 +272,6 @@ interactions:
271272
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
272273
Cache-Control:
273274
- private, max-age=60, s-maxage=60
274-
Connection:
275-
- keep-alive
276275
Content-Length:
277276
- "2"
278277
Content-Security-Policy:
@@ -311,7 +310,7 @@ interactions:
311310
- application/json
312311
User-Agent:
313312
- linodego/dev https://github.com/linode/linodego
314-
url: https://api.linode.com/v4beta/placement/groups/356
313+
url: https://api.linode.com/v4beta/placement/groups/4021
315314
method: DELETE
316315
response:
317316
body: '{}'
@@ -328,8 +327,6 @@ interactions:
328327
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
329328
Cache-Control:
330329
- private, max-age=60, s-maxage=60
331-
Connection:
332-
- keep-alive
333330
Content-Length:
334331
- "2"
335332
Content-Security-Policy:

0 commit comments

Comments
 (0)