Skip to content

Commit fc401f5

Browse files
authored
instance_tests (#690)
1 parent 81eeacd commit fc401f5

35 files changed

+1226
-1
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"automatic": [
3+
{
4+
"id": 3,
5+
"label": "auto-backup-1",
6+
"status": "successful",
7+
"created": "2025-02-05T08:00:00",
8+
"available": true
9+
},
10+
{
11+
"id": 4,
12+
"label": "auto-backup-2",
13+
"status": "successful",
14+
"created": "2025-02-06T08:00:00",
15+
"available": true
16+
}
17+
],
18+
"snapshot": {
19+
"current": {
20+
"id": 5,
21+
"label": "snapshot-current",
22+
"status": "running",
23+
"available": false
24+
},
25+
"in_progress": null
26+
}
27+
}
28+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": 126,
3+
"label": "cloned-instance",
4+
"region": "us-east",
5+
"type": "g6-standard-1",
6+
"status": "provisioning"
7+
}
8+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"id": 3,
3+
"label": "new-config",
4+
"kernel": "linode/latest-64bit",
5+
"root_device": "/dev/sda"
6+
}
7+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"id": 1,
3+
"label": "config-1",
4+
"kernel": "linode/latest-64bit",
5+
"root_device": "/dev/sda"
6+
}
7+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": 1,
3+
"ipam_address": "192.168.1.2",
4+
"label": "eth0",
5+
"purpose": "vpc",
6+
"primary": true,
7+
"active": true,
8+
"vpc_id": 100,
9+
"subnet_id": 123,
10+
"ipv4": {
11+
"vpc": "10.0.0.1",
12+
"nat_1_1": "192.168.1.1"
13+
},
14+
"ip_ranges": ["192.168.1.0/24"]
15+
}
16+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": 1,
3+
"ipam_address": "192.168.1.10",
4+
"label": "eth0",
5+
"purpose": "public",
6+
"primary": true,
7+
"active": true,
8+
"vpc_id": 101,
9+
"subnet_id": 202,
10+
"ipv4": {
11+
"vpc": "vpc-1",
12+
"nat_1_1": "203.0.113.1"
13+
},
14+
"ip_ranges": ["192.168.1.0/24"]
15+
}
16+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"id": 1,
4+
"ipam_address": "192.168.1.2",
5+
"label": "eth0",
6+
"purpose": "vpc",
7+
"primary": true,
8+
"active": true,
9+
"vpc_id": 100,
10+
"subnet_id": 123,
11+
"ipv4": {
12+
"vpc": "10.0.0.1",
13+
"nat_1_1": "192.168.1.1"
14+
},
15+
"ip_ranges": ["192.168.1.0/24"]
16+
},
17+
{
18+
"id": 2,
19+
"ipam_address": "192.168.1.3",
20+
"label": "eth1",
21+
"purpose": "public",
22+
"primary": false,
23+
"active": true
24+
}
25+
]
26+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": 1,
3+
"ipam_address": "192.168.1.10",
4+
"label": "eth0",
5+
"purpose": "public",
6+
"primary": true,
7+
"active": true,
8+
"vpc_id": 101,
9+
"subnet_id": 202,
10+
"ipv4": {
11+
"vpc": "vpc-2",
12+
"nat_1_1": "203.0.113.3"
13+
},
14+
"ip_ranges": ["192.168.1.0/24"]
15+
}
16+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"data": [
3+
{
4+
"id": 1,
5+
"label": "config-1",
6+
"kernel": "linode/latest-64bit",
7+
"root_device": "/dev/sda"
8+
},
9+
{
10+
"id": 2,
11+
"label": "config-2",
12+
"kernel": "linode/latest-64bit",
13+
"root_device": "/dev/sdb"
14+
}
15+
],
16+
"page": 1,
17+
"pages": 1,
18+
"results": 2
19+
}
20+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"id": 1,
3+
"label": "updated-config",
4+
"kernel": "linode/latest-64bit",
5+
"root_device": "/dev/sdb"
6+
}
7+

0 commit comments

Comments
 (0)