Skip to content

Commit 2707e23

Browse files
Add GET fixtures
1 parent 0d67823 commit 2707e23

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

test/fixtures/linode_instances_124_interfaces_123.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ipv4": true,
55
"ipv6": true
66
},
7-
"id": 1234,
7+
"id": 123,
88
"mac_address": "22:00:AB:CD:EF:01",
99
"public": {
1010
"ipv4": {
@@ -17,7 +17,7 @@
1717
"shared": [
1818
{
1919
"address": "172.30.0.51",
20-
"linode_id": 12345
20+
"linode_id": 125
2121
}
2222
]
2323
},
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": 456,
3+
"mac_address": "22:00:AB:CD:EF:01",
4+
"created": "2024-01-01T00:01:01",
5+
"updated": "2024-01-01T00:01:01",
6+
"default_route": {
7+
"ipv4":true
8+
},
9+
"version": 1,
10+
"vpc": {
11+
"vpc_id": 123456,
12+
"subnet_id": 789,
13+
"ipv4" : {
14+
"addresses": [
15+
{ "address": "192.168.22.3",
16+
"primary": true }
17+
],
18+
"ranges": [
19+
{ "range": "192.168.22.16/28"},
20+
{ "range": "192.168.22.32/28"}
21+
]
22+
}
23+
},
24+
"public": null,
25+
"vlan": null
26+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"id": 789,
3+
"mac_address": "22:00:AB:CD:EF:01",
4+
"created": "2024-01-01T00:01:01",
5+
"updated": "2024-01-01T00:01:01",
6+
"default_route": {},
7+
"version": 1,
8+
"vpc": null,
9+
"public": null,
10+
"vlan": {
11+
"vlan_label": "my_vlan",
12+
"ipam_address": "10.0.0.1/24"
13+
}
14+
}

0 commit comments

Comments
 (0)