chore(test): подтвердить экспорт шаблона WireGuard на стенде

This commit is contained in:
Denozordec committed 2026-10-09 08:19:26 +07:00
1 parent c16fc0c5b5
commit d13c773856
9 files changed
+542 -8

No files matched your search

@@ -0,0 +1,59 @@
{
"date": "2026-10-09",
"backendSource": "c16fc0c",
"frontendSource": "c16fc0c",
"name": "mm-acceptance-wg-1791508569068",
"httpMocks": false,
"cases": [
{
"serverId": 1,
"width": 1280,
"localPreviewEndpointCorrect": true,
"liveEndpointCorrect": true,
"clientPlaceholders": true,
"includePrivateKey": false,
"selectedPeerConfirmed": true,
"status": 200,
"noPageOverflow": true
},
{
"serverId": 1,
"width": 320,
"localPreviewEndpointCorrect": true,
"liveEndpointCorrect": true,
"clientPlaceholders": true,
"includePrivateKey": false,
"selectedPeerConfirmed": true,
"status": 200,
"noPageOverflow": true
},
{
"serverId": 2,
"width": 1280,
"localPreviewEndpointCorrect": true,
"liveEndpointCorrect": true,
"clientPlaceholders": true,
"includePrivateKey": false,
"selectedPeerConfirmed": true,
"status": 200,
"noPageOverflow": true
},
{
"serverId": 2,
"width": 320,
"localPreviewEndpointCorrect": true,
"liveEndpointCorrect": true,
"clientPlaceholders": true,
"includePrivateKey": false,
"selectedPeerConfirmed": true,
"status": 200,
"noPageOverflow": true
}
],
"pageErrors": [],
"badApi": [],
"limits": [
"No configuration or keys persisted",
"Peer .conf remains a manual client template; no import or throughput tested"
]
}
@@ -0,0 +1,42 @@
{
"date": "2026-10-09",
"revision": "c16fc0c5b53ba8fcb6690ef6f0a695f59875f171",
"backendHealthy": true,
"frontendHttpStatus": 200,
"networkNoneAssertions": true,
"backup": {
"bytes": 2314923,
"mode": "0600",
"pgRestoreListPassed": true,
"retainedOnTestServerOnly": true
},
"before": {
"servers": 2,
"speedHistory": 9,
"retentionDays": 14,
"migrations": 9
},
"after": {
"servers": 2,
"speedHistory": 9,
"retentionDays": 14,
"migrations": 9
},
"access": [
{
"host": "161.104.46.222",
"protocol": "SSH",
"available": true
},
{
"host": "194.226.121.150",
"protocol": "RouterOS REST",
"available": true
},
{
"host": "104.165.244.7",
"protocol": "RouterOS REST",
"available": true
}
]
}
@@ -0,0 +1,377 @@
{
"date": "2026-10-09",
"backendSource": "c16fc0c",
"frontendSource": "c16fc0c",
"name": "mm-acceptance-wg-1791508569068",
"subnet": "198.18.255.240/30",
"listenPort": 51879,
"realRouterOs": true,
"changes": [
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/interfaces",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "POST",
"path": "/api/wireguard/peers",
"status": 201
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*E",
"status": 200
},
{
"method": "PATCH",
"path": "/api/wireguard/interfaces/1/*E",
"status": 200
},
{
"method": "GET",
"path": "/api/wireguard",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "POST",
"path": "/api/wireguard/export",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/1/*A",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/interfaces/1/*E",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/peers/2/*7",
"status": 200
},
{
"method": "DELETE",
"path": "/api/wireguard/interfaces/2/*A",
"status": 200
}
],
"pings": [
{
"serverId": 1,
"target": "198.18.255.242",
"interface": "mm-acceptance-wg-1791508569068",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "54ms498us",
"avg-rtt": "54ms498us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "54ms500us",
"avg-rtt": "54ms499us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "54ms546us",
"avg-rtt": "54ms514us"
}
]
},
{
"serverId": 2,
"target": "198.18.255.241",
"interface": "mm-acceptance-wg-1791508569068",
"received": 3,
"rows": [
{
"sent": "1",
"received": "1",
"packet-loss": "0",
"time": "54ms503us",
"avg-rtt": "54ms503us"
},
{
"sent": "2",
"received": "2",
"packet-loss": "0",
"time": "54ms689us",
"avg-rtt": "54ms596us"
},
{
"sent": "3",
"received": "3",
"packet-loss": "0",
"time": "54ms570us",
"avg-rtt": "54ms587us"
}
]
}
],
"cleanup": [
{
"serverId": 1,
"/interface/wireguard": true,
"/interface/wireguard/peers": true,
"/ip/address": true,
"/ip/route": true,
"/ip/firewall/filter": true,
"/ip/firewall/nat": true,
"/ip/firewall/mangle": true
},
{
"serverId": 2,
"/interface/wireguard": true,
"/interface/wireguard/peers": true,
"/ip/address": true,
"/ip/route": true,
"/ip/firewall/filter": true,
"/ip/firewall/nat": true,
"/ip/firewall/mangle": true
}
],
"nativeKeyGenerationConfirmed": true,
"connectedState": [
{
"serverId": 1,
"interface": {
"rosId": "*E",
"appId": "1:*E",
"name": "mm-acceptance-wg-1791508569068",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
},
"addresses": [
"198.18.255.241/30"
],
"peers": [
{
"rosId": "*A",
"name": "mm-acceptance-wg-1791508569068-peer",
"allowedAddresses": "198.18.255.242/32",
"endpoint": "104.165.244.7:51879",
"handshake": "0s",
"rx": "180",
"tx": "272",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
}
]
},
{
"serverId": 2,
"interface": {
"rosId": "*A",
"appId": "2:*A",
"name": "mm-acceptance-wg-1791508569068",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
},
"addresses": [
"198.18.255.242/30"
],
"peers": [
{
"rosId": "*7",
"name": "mm-acceptance-wg-1791508569068-peer",
"allowedAddresses": "198.18.255.241/32",
"endpoint": "194.226.121.150:51879",
"handshake": "0s",
"rx": "124",
"tx": "180",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
}
]
}
],
"handshakeConfirmed": true,
"bidirectionalPingPassed": true,
"catalogMatchesNative": true,
"exports": [
{
"serverId": 1,
"format": "rsc",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
},
{
"serverId": 1,
"format": "conf",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
},
{
"serverId": 1,
"format": "peer-conf",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
},
{
"serverId": 2,
"format": "rsc",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
},
{
"serverId": 2,
"format": "conf",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
},
{
"serverId": 2,
"format": "peer-conf",
"status": 200,
"privateKeyAbsent": true,
"selectedParametersMatch": true,
"configurationNotPersisted": true
}
],
"peerClientDefaults": [
{
"serverId": 1,
"endpointIsExportingServer": true,
"clientAddressPlaceholder": true,
"clientRoutesPlaceholder": true,
"noImplicitDefaultRoute": true,
"readyForClientImport": false
},
{
"serverId": 2,
"endpointIsExportingServer": true,
"clientAddressPlaceholder": true,
"clientRoutesPlaceholder": true,
"noImplicitDefaultRoute": true,
"readyForClientImport": false
}
],
"afterBrowser": [
{
"serverId": 1,
"interface": {
"rosId": "*E",
"appId": "1:*E",
"name": "mm-acceptance-wg-1791508569068",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
},
"addresses": [
"198.18.255.241/30"
],
"peers": [
{
"rosId": "*A",
"name": "mm-acceptance-wg-1791508569068-peer",
"allowedAddresses": "198.18.255.242/32",
"endpoint": "104.165.244.7:51879",
"handshake": "1m5s",
"rx": "1140",
"tx": "848",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
}
]
},
{
"serverId": 2,
"interface": {
"rosId": "*A",
"appId": "2:*A",
"name": "mm-acceptance-wg-1791508569068",
"listenPort": "51879",
"mtu": "1420",
"running": "true",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
},
"addresses": [
"198.18.255.242/30"
],
"peers": [
{
"rosId": "*7",
"name": "mm-acceptance-wg-1791508569068-peer",
"allowedAddresses": "198.18.255.241/32",
"endpoint": "194.226.121.150:51879",
"handshake": "1m5s",
"rx": "700",
"tx": "1140",
"disabled": "false",
"userComment": "Temporary UX acceptance mm-acceptance-wg-1791508569068"
}
]
}
],
"limits": [
"Only own WireGuard interface/peer/IP and connected route changed; no default routes/firewall changes",
"Export verification is read-only; fixture interfaces and linked objects removed by harness",
"Private/public/preshared keys omitted from report; native generation and peer association checked in memory",
"Handshake and short ICMP connectivity, not throughput, RBAC or interrupted mutation",
"WireGuard audit revisions intentionally retained"
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB