test: statd: Update unit testfiles

This commit is contained in:
Mattias Walström
2025-04-23 13:45:49 +02:00
parent dc0871a093
commit 44be4e57f0
8 changed files with 92 additions and 15 deletions
+23 -12
View File
@@ -1,4 +1,15 @@
{
"ietf-system:system": {
"hostname": "target",
"authentication": {
"user": [
{
"name": "admin",
"password": "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A"
}
]
}
},
"ietf-system:system-state": {
"infix-system:software": {
"compatible": "infix-x86_64",
@@ -95,25 +106,25 @@
}
},
"infix-system:dns-resolver": {
"options": {
"timeout": 3,
"attempts": 5
},
"options": {},
"server": [
{
"address": "1.2.3.4",
"origin": "static"
},
{
"address": "192.168.2.1",
"origin": "dhcp",
"interface": "e7"
}
],
"search": [
"example.com",
"kernelkit.org"
]
"search": []
},
"clock": {
"boot-datetime": "2025-04-23T11:42:01+00:00",
"current-datetime": "2025-04-23T11:42:27+00:00"
},
"platform": {
"os-name": "Infix",
"os-version": "v25.03.0-48-gfb8e3e5b-dirty",
"os-release": "v25.03.0-48-gfb8e3e5b-dirty",
"machine": "x86_64"
}
}
}
+32
View File
@@ -23,7 +23,33 @@
}
]
},
"ietf-system:system": {
"authentication": {
"user": [
{
"name": "admin",
"password": "$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A"
}
]
},
"hostname": "target"
},
"ietf-system:system-state": {
"clock": {
"boot-datetime": "2025-04-23T11:42:01+00:00",
"current-datetime": "2025-04-23T11:42:27+00:00"
},
"infix-system:dns-resolver": {
"options": {},
"search": [],
"server": [
{
"address": "192.168.2.1",
"interface": "e7",
"origin": "dhcp"
}
]
},
"infix-system:ntp": {
"sources": {
"source": [
@@ -117,6 +143,12 @@
}
],
"variant": ""
},
"platform": {
"machine": "x86_64",
"os-name": "Infix",
"os-release": "v25.03.0-48-gfb8e3e5b-dirty",
"os-version": "v25.03.0-48-gfb8e3e5b-dirty"
}
}
}
@@ -0,0 +1,16 @@
NAME="Infix"
ID=infix
PRETTY_NAME="Infix -- a Network Operating System v25.03.0-48-gfb8e3e5b-dirty"
ID_LIKE="buildroot"
DEFAULT_HOSTNAME=ix
VERSION="v25.03.0-48-gfb8e3e5b-dirty"
VERSION_ID=v25.03.0-48-gfb8e3e5b-dirty
BUILD_ID="v25.03.0-48-gfb8e3e5b-dirty"
IMAGE_ID="infix-x86_64"
ARCHITECTURE="x86_64"
HOME_URL=https://github.com/kernelkit/infix/
VENDOR_NAME="KernelKit"
VENDOR_HOME="https://github.com/kernelkit"
DOCUMENTATION_URL="https://github.com/kernelkit/infix/tree/main/doc"
SUPPORT_URL="mailto:kernelkit@googlegroups.com"
INFIX_DESC="Infix is a Network Operating System based on Linux. It can be set up both as a switch, with offloading using switchdev, and a router with firewalling."
@@ -1,3 +0,0 @@
options timeout:3 attempts:5
search example.com kernelkit.org
nameserver 1.2.3.4
@@ -0,0 +1 @@
25.89 16.45
@@ -0,0 +1,17 @@
root:*:::::::
daemon:*:::::::
bin:*:::::::
sys:*:::::::
sync:*:::::::
mail:*:::::::
www-data:*:::::::
sys-cli:*:::::::
backup:*:::::::
nobody:*:::::::
yangnobody:*:::::::
avahi:*:::::::
chrony:*:::::::
dbus:*:::::::
frr:*:::::::
sshd:*:::::::
admin:$5$mI/zpOAqZYKLC2WU$i7iPzZiIjOjrBF3NyftS9CCq8dfYwHwrmUK097Jca9A:::::::
@@ -0,0 +1 @@
target
+2
View File
@@ -0,0 +1,2 @@
1745408547