Skip to content

Commit 27e0b0d

Browse files
committed
test: Update statd test data
1 parent 3c79086 commit 27e0b0d

File tree

10 files changed

+79
-45
lines changed

10 files changed

+79
-45
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
HARDWARE COMPONENTS 
2-
────────────────────────────────────────────────────────────
1+
HARDWARE COMPONENTS 
2+
────────────────────────────────────────────────────────────────────────────────────────────────────
33
Board Information
4-
Model : VM
4+
Model : Standard PC (i440FX + PIIX, 1996)
55
Manufacturer : QEMU
6-
────────────────────────────────────────────────────────────
6+
Base MAC Address : 00:a0:85:00:03:00
7+
────────────────────────────────────────────────────────────────────────────────────────────────────
78
USB Ports
8-
NAME STATE OPER 
9-
USB locked enabled
9+
NAME STATE OPER 
10+
USB1 locked enabled
1011
USB2 locked enabled

test/case/statd/system/ietf-hardware.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "mainboard",
66
"class": "iana-hardware:chassis",
77
"mfg-name": "QEMU",
8-
"model-name": "VM",
8+
"model-name": "Standard PC (i440FX + PIIX, 1996)",
99
"infix-hardware:phys-address": "00:a0:85:00:03:00",
1010
"state": {
1111
"admin-state": "unknown",
@@ -21,7 +21,7 @@
2121
"admin-state": "locked",
2222
"oper-state": "enabled"
2323
},
24-
"name": "USB",
24+
"name": "USB1",
2525
"class": "infix-hardware:usb"
2626
},
2727
{

test/case/statd/system/ietf-system.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@
120120
"search": []
121121
},
122122
"clock": {
123-
"boot-datetime": "2025-04-30T09:47:32+00:00",
124-
"current-datetime": "2025-04-30T09:48:01+00:00"
123+
"boot-datetime": "2025-12-27T14:11:20+00:00",
124+
"current-datetime": "2025-12-27T14:11:42+00:00"
125125
},
126126
"platform": {
127127
"os-name": "Infix",
128-
"os-version": "v25.04.0-rc1-3-g8daf1571-dirty",
129-
"os-release": "v25.04.0-rc1-3-g8daf1571-dirty",
128+
"os-version": "v25.11.0-119-g3c790862",
129+
"os-release": "v25.11.0-119-g3c790862",
130130
"machine": "x86_64"
131131
},
132132
"infix-system:services": {
@@ -385,6 +385,38 @@
385385
}
386386
}
387387
]
388+
},
389+
"infix-system:resource-usage": {
390+
"memory": {
391+
"total": "355076",
392+
"free": "134432",
393+
"available": "225160"
394+
},
395+
"load-average": {
396+
"load-1min": "0.00",
397+
"load-5min": "0.00",
398+
"load-15min": "0.00"
399+
},
400+
"filesystem": [
401+
{
402+
"mount-point": "/",
403+
"size": "142720",
404+
"used": "142720",
405+
"available": "0"
406+
},
407+
{
408+
"mount-point": "/var",
409+
"size": "86427",
410+
"used": "281",
411+
"available": "79270"
412+
},
413+
{
414+
"mount-point": "/cfg",
415+
"size": "14073",
416+
"used": "67",
417+
"available": "12860"
418+
}
419+
]
388420
}
389421
}
390422
}

test/case/statd/system/operational.json

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
"ietf-hardware:hardware": {
33
"component": [
44
{
5-
"name": "mainboard",
65
"class": "iana-hardware:chassis",
6+
"infix-hardware:phys-address": "00:a0:85:00:03:00",
77
"mfg-name": "QEMU",
8-
"model-name": "VM",
8+
"model-name": "Standard PC (i440FX + PIIX, 1996)",
9+
"name": "mainboard",
910
"state": {
1011
"admin-state": "unknown",
1112
"oper-state": "enabled"
@@ -17,7 +18,7 @@
1718
},
1819
{
1920
"class": "infix-hardware:usb",
20-
"name": "USB",
21+
"name": "USB1",
2122
"state": {
2223
"admin-state": "locked",
2324
"oper-state": "enabled"
@@ -49,8 +50,8 @@
4950
},
5051
"ietf-system:system-state": {
5152
"clock": {
52-
"boot-datetime": "2025-04-30T09:47:32+00:00",
53-
"current-datetime": "2025-04-30T09:48:01+00:00"
53+
"boot-datetime": "2025-12-27T14:11:20+00:00",
54+
"current-datetime": "2025-12-27T14:11:42+00:00"
5455
},
5556
"infix-system:dns-resolver": {
5657
"options": {},
@@ -95,30 +96,30 @@
9596
{
9697
"available": "0",
9798
"mount-point": "/",
98-
"size": "70912",
99-
"used": "70912"
99+
"size": "142720",
100+
"used": "142720"
100101
},
101102
{
102-
"available": "79314",
103+
"available": "79270",
103104
"mount-point": "/var",
104-
"size": "86459",
105-
"used": "267"
105+
"size": "86427",
106+
"used": "281"
106107
},
107108
{
108-
"available": "12861",
109+
"available": "12860",
109110
"mount-point": "/cfg",
110111
"size": "14073",
111-
"used": "66"
112+
"used": "67"
112113
}
113114
],
114115
"load-average": {
115-
"load-15min": "0.01",
116-
"load-1min": "0.16",
117-
"load-5min": "0.03"
116+
"load-15min": "0.00",
117+
"load-1min": "0.00",
118+
"load-5min": "0.00"
118119
},
119120
"memory": {
120-
"available": "259640",
121-
"free": "187776",
121+
"available": "225160",
122+
"free": "134432",
122123
"total": "355076"
123124
}
124125
},
@@ -449,8 +450,8 @@
449450
"platform": {
450451
"machine": "x86_64",
451452
"os-name": "Infix",
452-
"os-release": "v25.04.0-rc1-3-g8daf1571-dirty",
453-
"os-version": "v25.04.0-rc1-3-g8daf1571-dirty"
453+
"os-release": "v25.11.0-119-g3c790862",
454+
"os-version": "v25.11.0-119-g3c790862"
454455
}
455456
}
456-
}
457+
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
NAME="Infix"
22
ID=infix
3-
PRETTY_NAME="Infix OS — Immutable.Friendly.Secure v25.04.0-rc1-3-g8daf1571-dirty"
3+
PRETTY_NAME="Infix OS — Immutable.Friendly.Secure v25.11.0-119-g3c790862"
44
ID_LIKE="buildroot"
5-
DEFAULT_HOSTNAME=ix
6-
VERSION="v25.04.0-rc1-3-g8daf1571-dirty"
7-
VERSION_ID=v25.04.0-rc1-3-g8daf1571-dirty
8-
BUILD_ID="v25.04.0-rc1-3-g8daf1571-dirty"
5+
DEFAULT_HOSTNAME=infix
6+
VERSION="v25.11.0-119-g3c790862"
7+
VERSION_ID=v25.11.0-119-g3c790862
8+
BUILD_ID="v25.11.0-119-g3c790862"
99
IMAGE_ID="infix-x86_64"
1010
ARCHITECTURE="x86_64"
1111
HOME_URL=https://github.com/kernelkit/infix/
1212
VENDOR_NAME="KernelKit"
13-
VENDOR_HOME="https://github.com/kernelkit"
14-
DOCUMENTATION_URL="https://github.com/kernelkit/infix/tree/main/doc"
13+
VENDOR_HOME="https://kernelkit.org"
14+
DOCUMENTATION_URL="https://kernelkit.org/infix/"
1515
SUPPORT_URL="mailto:[email protected]"
16-
INFIX_DESC="Infix is an operating system based on Linux and modeled with YANG. It can be set up both as a switch, with offloading using switchdev, a router with firewalling, or a secure end device. All while supporting advanced networking scenarios and running Docker containers."
16+
INFIX_DESC="Infix is an immutable, friendly, and secure operating system that turns any ARM or x86 device into a powerful, manageable network appliance. Deploy on anything from 5 Raspberry Pi boards to enterprise switches as routers, IoT gateways, or edge devices. Infix models Linux networking features using YANG so you can manage your devices using NETCONF/RESTCONF APIs and focus on your business logic running in isolated containers."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
28.16 15.60
1+
21.81 14.08
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"vendor": "QEMU", "product-name": "VM", "part-number": null, "serial-number": null, "mac-address": "00:a0:85:00:03:00", "factory-password-hash": "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A", "vpd": {"product": {"board": "product", "available": false, "trusted": true, "data": {}}}, "usb-ports": [{"name": "USB", "path": "/sys/bus/usb/devices/usb1"}, {"name": "USB2", "path": "/sys/bus/usb/devices/usb2"}]}
1+
{"vendor": "QEMU", "product-name": "Standard PC (i440FX + PIIX, 1996)", "product-version": "pc-i440fx-8.0", "part-number": null, "serial-number": null, "mac-address": "00:a0:85:00:03:00", "factory-password-hash": "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A", "vpd": {"product": {"board": "product", "available": false, "trusted": true, "data": {}}}, "usb-ports": [{"name": "USB1", "path": "/sys/bus/usb/devices/usb1"}, {"name": "USB2", "path": "/sys/bus/usb/devices/usb2"}]}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0
1+
2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0
1+
2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1746006481
1+
1766844702
22

0 commit comments

Comments
 (0)