aboutsummaryrefslogtreecommitdiffhomepage
path: root/dummy-data
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-10-13 22:23:31 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-10-13 22:23:31 +0200
commit81c90009b48f22d65bc8b59944b18c9503fc5676 (patch)
treea694bead62fddc38d9950347372641ffc8cede55 /dummy-data
parent494529f0a95641d82ee64b8a2db89826de64edfd (diff)
downloadhomer-81c90009b48f22d65bc8b59944b18c9503fc5676.tar.gz
homer-81c90009b48f22d65bc8b59944b18c9503fc5676.tar.zst
homer-81c90009b48f22d65bc8b59944b18c9503fc5676.zip
Refine demo content
Diffstat (limited to 'dummy-data')
-rw-r--r--dummy-data/README.md2
-rw-r--r--dummy-data/proxmox/api2/json/nodes/node1/qemu35
-rw-r--r--dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html1
-rw-r--r--dummy-data/proxmox/api2/json/nodes/node1/status (renamed from dummy-data/proxmox/api2/json/nodes/node1/status/index.html)0
4 files changed, 36 insertions, 2 deletions
diff --git a/dummy-data/README.md b/dummy-data/README.md
index deed875..eeff4ec 100644
--- a/dummy-data/README.md
+++ b/dummy-data/README.md
@@ -11,5 +11,5 @@ The principle is simple: save a sample output of the API used in the service in
11Example: 11Example:
12``` 12```
13mkdir pihole 13mkdir pihole
14curl http://my-pihile.me/admin/api.php -o pihole/api.php # /admin is omited because for PiHole, the implementation expect it to be in the base url (`url` or `enpoint` property) 14curl http://my-pihole.me/admin/api.php -o pihole/api.php # /admin is omited because for PiHole, the implementation expect it to be in the base url (`url` or `enpoint` property)
15``` \ No newline at end of file 15``` \ No newline at end of file
diff --git a/dummy-data/proxmox/api2/json/nodes/node1/qemu b/dummy-data/proxmox/api2/json/nodes/node1/qemu
new file mode 100644
index 0000000..35e1d2f
--- /dev/null
+++ b/dummy-data/proxmox/api2/json/nodes/node1/qemu
@@ -0,0 +1,35 @@
1{
2 "data": [{
3 "disk": 0,
4 "mem": 983848043,
5 "cpus": 2,
6 "pid": 1218,
7 "maxdisk": 107374182400,
8 "netin": 43863882954,
9 "diskread": 0,
10 "diskwrite": 0,
11 "name": "HAOS",
12 "netout": 10426448652,
13 "cpu": 0.00879886290177172,
14 "uptime": 3390069,
15 "status": "running",
16 "maxmem": 3221225472,
17 "vmid": 100
18 }, {
19 "cpu": 0.00219971572544293,
20 "name": "debian1",
21 "netout": 919020028,
22 "vmid": 101,
23 "maxmem": 4294967296,
24 "uptime": 3390064,
25 "status": "running",
26 "maxdisk": 107374182400,
27 "pid": 1295,
28 "cpus": 2,
29 "disk": 0,
30 "mem": 2755160795,
31 "diskread": 0,
32 "diskwrite": 0,
33 "netin": 5105600872
34 }]
35} \ No newline at end of file
diff --git a/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html b/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html
deleted file mode 100644
index 9ce2e04..0000000
--- a/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html
+++ /dev/null
@@ -1 +0,0 @@
1{"data":[{"disk":0,"mem":983848043,"cpus":2,"pid":1218,"maxdisk":107374182400,"netin":43863882954,"diskread":0,"diskwrite":0,"name":"HAOS","netout":10426448652,"cpu":0.00879886290177172,"uptime":3390069,"status":"running","maxmem":3221225472,"vmid":100},{"cpu":0.00219971572544293,"name":"debian1","netout":919020028,"vmid":101,"maxmem":4294967296,"uptime":3390064,"status":"running","maxdisk":107374182400,"pid":1295,"cpus":2,"disk":0,"mem":2755160795,"diskread":0,"diskwrite":0,"netin":5105600872}]} \ No newline at end of file
diff --git a/dummy-data/proxmox/api2/json/nodes/node1/status/index.html b/dummy-data/proxmox/api2/json/nodes/node1/status
index 72c06b7..72c06b7 100644
--- a/dummy-data/proxmox/api2/json/nodes/node1/status/index.html
+++ b/dummy-data/proxmox/api2/json/nodes/node1/status