Add device traffic counters and ambiguous MAC detection
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 13s

This commit is contained in:
2026-08-07 14:29:51 +03:00
parent 3157e9e8f7
commit e774486b99
15 changed files with 528 additions and 7 deletions
+3
View File
@@ -22,6 +22,8 @@ test('control uses the dataplane socket protocol', async () => {
await client.apply();
const devices = await client.observeDevices();
assert.equal(devices.running, true);
const traffic = await client.observeTraffic();
assert.equal(traffic.running, true);
assert.equal(client.running, true);
await client.restart();
assert.equal((await client.stop()).running, false);
@@ -29,6 +31,7 @@ test('control uses the dataplane socket protocol', async () => {
'GET /status /run/dataplane.sock',
'POST /apply /run/dataplane.sock',
'GET /devices /run/dataplane.sock',
'GET /device-traffic /run/dataplane.sock',
'POST /restart /run/dataplane.sock',
'POST /stop /run/dataplane.sock',
]);