Skip to content

Commit adfb26d

Browse files
committed
fix: issue cassette register test to have api cassette
1 parent f725be9 commit adfb26d

File tree

7 files changed

+4047
-0
lines changed

7 files changed

+4047
-0
lines changed
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
interactions:
2+
- request:
3+
body: '{}'
4+
headers:
5+
Accept-Encoding:
6+
- gzip, deflate
7+
Connection:
8+
- keep-alive
9+
Content-Length:
10+
- '2'
11+
accept:
12+
- application/json
13+
user-agent:
14+
- scaleway-sdk-python/2.0.0
15+
method: GET
16+
uri: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips?organization=d3520a52-2c75-4ba0-bda8-82dd087f07f2&project=d3520a52-2c75-4ba0-bda8-82dd087f07f2
17+
response:
18+
body:
19+
string: '{"ips": [{"id": "5f331579-2541-490c-8ea6-bcd96d8511ae", "address":
20+
null, "prefix": "2001:bc8:710:ee8a::/64", "reverse": null, "server": null,
21+
"organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
22+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
23+
"ipam_id": "6e3614f4-b303-44d7-8fa2-2d5fe626f633"}, {"id": "5fef6df2-db35-490d-a5ea-af92b3e04f11",
24+
"address": null, "prefix": "2001:bc8:710:ee89::/64", "reverse": null, "server":
25+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
26+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
27+
"ipam_id": "c64dae1f-580a-45ea-843c-322863f6d998"}, {"id": "714c91b5-2b61-47dd-b178-669b2b70033f",
28+
"address": null, "prefix": "2001:bc8:710:ee87::/64", "reverse": null, "server":
29+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
30+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
31+
"ipam_id": "4385d456-25a1-4b1c-aa64-903c8ff35164"}, {"id": "16fdaf6e-47f9-4f8f-bc5f-91edef5ad188",
32+
"address": null, "prefix": "2001:bc8:710:ee86::/64", "reverse": null, "server":
33+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
34+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
35+
"ipam_id": "d357181e-365e-443c-baea-777bbf8f79c6"}, {"id": "55b3113f-7580-48fb-869e-0f7abf4d62e5",
36+
"address": null, "prefix": "2001:bc8:710:ee85::/64", "reverse": null, "server":
37+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
38+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
39+
"ipam_id": "26f5be25-8a42-4327-82ae-dc63b19d4e07"}, {"id": "8fe87ce3-ade0-4ca8-8390-cd948524e203",
40+
"address": null, "prefix": "2001:bc8:710:ee84::/64", "reverse": null, "server":
41+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
42+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
43+
"ipam_id": "75fbda84-b9b4-47fa-8416-0e1ff6a57fb8"}, {"id": "4ccabdab-d6a7-4fd6-b09d-184b6c03c131",
44+
"address": null, "prefix": "2001:bc8:710:ee83::/64", "reverse": null, "server":
45+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
46+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
47+
"ipam_id": "fdf95005-ca8f-466d-8e6f-dc7fc7a208ab"}, {"id": "648a4baf-3d28-4c94-adce-ade6ca5cf80b",
48+
"address": null, "prefix": "2001:bc8:710:ee82::/64", "reverse": null, "server":
49+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
50+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
51+
"ipam_id": "5aabe227-21a4-4378-99d8-35a795e438e4"}, {"id": "14c7cb43-2343-49f9-945e-f4fc405ace7d",
52+
"address": null, "prefix": "2001:bc8:710:ee7d::/64", "reverse": null, "server":
53+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
54+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
55+
"ipam_id": "2600249a-5a07-465e-9d94-db4deb057fcb"}, {"id": "5128b0cf-ab32-4bea-8a26-c3f352d62a56",
56+
"address": null, "prefix": "2001:bc8:710:ee7c::/64", "reverse": null, "server":
57+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
58+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
59+
"ipam_id": "f670985f-b46e-4607-9666-6280ed1d79a6"}, {"id": "8b8d7d2c-20e7-488b-a0df-943ecfcd6c96",
60+
"address": null, "prefix": "2001:bc8:710:ee7b::/64", "reverse": null, "server":
61+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
62+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
63+
"ipam_id": "e1833d96-31d5-41e6-81df-c15b8b407266"}, {"id": "0f993e69-e63b-4826-af21-be70a4f5f8b8",
64+
"address": null, "prefix": "2001:bc8:710:ee7a::/64", "reverse": null, "server":
65+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
66+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
67+
"ipam_id": "d19e8d7c-51db-4a6f-81a2-d9f189d9e271"}, {"id": "2697d615-8a8b-4319-9cb8-96dce57539e9",
68+
"address": null, "prefix": "2001:bc8:710:ee79::/64", "reverse": null, "server":
69+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
70+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
71+
"ipam_id": "849c97f8-2e64-43e3-8523-1a2fb8d249f6"}, {"id": "a62bd280-6070-4bf6-ae67-3b6ea904784d",
72+
"address": null, "prefix": "2001:bc8:710:ca66::/64", "reverse": null, "server":
73+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
74+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
75+
"ipam_id": "0bb1a2b7-b6ac-49e6-b31d-f5777bb49a96"}, {"id": "0e421547-768e-4d5e-aef4-e25a0e4ff24d",
76+
"address": null, "prefix": "2001:bc8:710:ca65::/64", "reverse": null, "server":
77+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
78+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
79+
"ipam_id": "d7888a6a-a93a-42e8-9221-79009b298711"}, {"id": "a985cf78-0b68-42e8-8803-0258913400a2",
80+
"address": null, "prefix": "2001:bc8:710:ca64::/64", "reverse": null, "server":
81+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
82+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
83+
"ipam_id": "d3fa06f3-84b6-45ed-8da8-a2a52dbcccdc"}, {"id": "db8c70fa-afb2-41b6-acb6-888cf5d16733",
84+
"address": null, "prefix": "2001:bc8:710:ca63::/64", "reverse": null, "server":
85+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
86+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
87+
"ipam_id": "028a3a97-f94c-4bc3-a035-addb49ac4ce9"}, {"id": "6ba83da5-69de-4284-bc7d-ebd673c891ed",
88+
"address": null, "prefix": "2001:bc8:710:ca5a::/64", "reverse": null, "server":
89+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
90+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
91+
"ipam_id": "f85601d9-f4aa-4822-9434-e9fdfc6491a0"}, {"id": "42619bbc-2795-4a21-9503-e31660c1a5a3",
92+
"address": null, "prefix": "2001:bc8:710:ca59::/64", "reverse": null, "server":
93+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
94+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
95+
"ipam_id": "916185ea-ac10-4baf-b817-4b904b66873c"}, {"id": "7017895f-bbb1-4321-9770-0dfd71c26d07",
96+
"address": null, "prefix": "2001:bc8:710:ca4d::/64", "reverse": null, "server":
97+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
98+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
99+
"ipam_id": "96712809-6ae3-4913-8387-ed09144fe217"}, {"id": "f5c86106-0dea-4955-a923-2d2fefa0e08e",
100+
"address": null, "prefix": "2001:bc8:710:ca44::/64", "reverse": null, "server":
101+
{"id": "52897497-f1f8-4cc2-b0f6-191ec3e457eb", "name": "scw-tf-cluster-tf-pool-34c3436ff9184f829e063d0"},
102+
"organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
103+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "attached", "tags": ["kapsule=f4295f3a-a0cf-46b6-bbd5-f66cec577157",
104+
"node-name=scw-tf-cluster-tf-pool-34c3436ff9184f829e063d0"], "ipam_id": "0b3c7454-ca1a-4555-be1c-8c17ada2b5ec"},
105+
{"id": "891677b2-2da1-463d-9f71-f41dee1d3506", "address": null, "prefix":
106+
"2001:bc8:710:ca43::/64", "reverse": null, "server": null, "organization":
107+
"d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
108+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
109+
"ipam_id": "a93c8bb5-07f9-4ece-ae4c-1e3d39609262"}, {"id": "f7f1c1bb-05cc-49ab-afbc-41226229b88d",
110+
"address": null, "prefix": "2001:bc8:710:ab3a::/64", "reverse": null, "server":
111+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
112+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
113+
"ipam_id": "3aec48b3-8d4a-4547-b037-fd49ed4e2a33"}, {"id": "acf1dfb1-bae4-4713-8533-71c0648406b9",
114+
"address": null, "prefix": "2001:bc8:710:28bc::/64", "reverse": null, "server":
115+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
116+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
117+
"ipam_id": "73072837-0714-4418-991e-9fa0d771f0f2"}, {"id": "2702e253-1191-4a85-bacb-9a3b9671f3c1",
118+
"address": null, "prefix": "2001:bc8:710:28b9::/64", "reverse": null, "server":
119+
null, "organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
120+
"zone": "fr-par-1", "type": "routed_ipv6", "state": "detached", "tags": [],
121+
"ipam_id": "710c6ba0-2002-45f2-b8dd-ab98ebaf7af3"}, {"id": "0d7781cb-689f-4e1b-aec1-3858f877da51",
122+
"address": "51.15.249.59", "prefix": null, "reverse": null, "server": {"id":
123+
"52897497-f1f8-4cc2-b0f6-191ec3e457eb", "name": "scw-tf-cluster-tf-pool-34c3436ff9184f829e063d0"},
124+
"organization": "d3520a52-2c75-4ba0-bda8-82dd087f07f2", "project": "d3520a52-2c75-4ba0-bda8-82dd087f07f2",
125+
"zone": "fr-par-1", "type": "routed_ipv4", "state": "attached", "tags": ["kapsule=f4295f3a-a0cf-46b6-bbd5-f66cec577157",
126+
"node-name=scw-tf-cluster-tf-pool-34c3436ff9184f829e063d0"], "ipam_id": "135296ab-154c-4fe9-a7df-a4b0f5f785a8"}]}'
127+
headers:
128+
content-length:
129+
- '9979'
130+
content-security-policy:
131+
- default-src 'none'; frame-ancestors 'none'
132+
content-type:
133+
- application/json
134+
date:
135+
- Wed, 27 Aug 2025 17:01:56 GMT
136+
link:
137+
- </ips?page=1&per_page=50&organization=d3520a52-2c75-4ba0-bda8-82dd087f07f2&project=d3520a52-2c75-4ba0-bda8-82dd087f07f2>;
138+
rel="last"
139+
server:
140+
- Scaleway API Gateway (fr-par-2;edge02)
141+
strict-transport-security:
142+
- max-age=63072000
143+
x-content-type-options:
144+
- nosniff
145+
x-frame-options:
146+
- DENY
147+
x-request-id:
148+
- be44ff6f-5b21-42fa-a7d8-61739154d27c
149+
x-total-count:
150+
- '26'
151+
status:
152+
code: 200
153+
message: OK
154+
version: 1

0 commit comments

Comments
 (0)