chore(ux): подтвердить четырёхбайтовые ASN в IPv6 BGP

This commit is contained in:
Denozordec committed 2026-10-12 10:19:49 +07:00
1 parent fef7bc5520
commit 22b0e8ae8e
10 files changed
+491 -12

No files matched your search

@@ -0,0 +1,387 @@
{
"date": "2026-10-12",
"block": "12.5.162",
"name": "mm-bgp162-1791774990658",
"devices": [
{
"serverId": 1,
"catalog": {
"id": "*280000C",
"serverId": 1,
"serverName": "CHR",
"serverSite": "",
"serverCountry": "",
"name": "mm-bgp162-1791774990658-1",
"peerIp": "fd00:162:1::2",
"remoteAs": 4200000163,
"localAs": 4200000162,
"localId": "198.18.255.1",
"remoteId": "198.18.255.2",
"state": "Established",
"type": "eBGP",
"uptime": "250ms",
"holdTime": 180,
"keepalive": 60,
"prefixesRx": 1,
"prefixesTx": null,
"inputMessages": 2,
"outputMessages": 2,
"capabilities": [
"MP-BGP",
"Route Refresh",
"Extended Next-Hop",
"Graceful Restart",
"4-byte-AS"
],
"lastError": null,
"afi": "ipv6"
},
"route": {
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::2/128",
"dynamic": "true",
"gateway": "fd00:162:1::2",
"immediate-gw": "fd00:162:1::2%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
},
{
"serverId": 2,
"catalog": {
"id": "*280000A",
"serverId": 2,
"serverName": "CHR",
"serverSite": "",
"serverCountry": "",
"name": "mm-bgp162-1791774990658-1",
"peerIp": "fd00:162:1::1",
"remoteAs": 4200000162,
"localAs": 4200000163,
"localId": "198.18.255.2",
"remoteId": "198.18.255.1",
"state": "Established",
"type": "eBGP",
"uptime": "100ms",
"holdTime": 180,
"keepalive": 60,
"prefixesRx": 1,
"prefixesTx": null,
"inputMessages": 2,
"outputMessages": 2,
"capabilities": [
"MP-BGP",
"Route Refresh",
"Extended Next-Hop",
"Graceful Restart",
"4-byte-AS"
],
"lastError": null,
"afi": "ipv6"
},
"route": {
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::1/128",
"dynamic": "true",
"gateway": "fd00:162:1::1",
"immediate-gw": "fd00:162:1::1%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
}
],
"cleanup": [
{
"serverId": 1,
"/routing/bgp/connection": true,
"/routing/bgp/instance": true,
"/routing/filter/rule": true,
"/ipv6/firewall/address-list": true,
"/interface/gre": true,
"/interface/bridge": true,
"/ipv6/address": true,
"/ipv6/route": true,
"/ip/address": true,
"/ip/route": true,
"/ipv6/firewall/filter": true
},
{
"serverId": 2,
"/routing/bgp/connection": true,
"/routing/bgp/instance": true,
"/routing/filter/rule": true,
"/ipv6/firewall/address-list": true,
"/interface/gre": true,
"/interface/bridge": true,
"/ipv6/address": true,
"/ipv6/route": true,
"/ip/address": true,
"/ip/route": true,
"/ipv6/firewall/filter": true
}
],
"initial": [
{
"serverId": 1,
"sessions": [
{
".id": "*280000C",
"ebgp": "",
"established": "true",
"hold-time": "3m",
"input.filter": "mm-bgp162-1791774990658-in",
"input.procid": "20",
"instance": "mm-bgp162-1791774990658",
"keepalive-time": "1m",
"last-started": "2026-10-12 06:16:41",
"local.address": "fd00:162:1::1",
"local.afi": "ipv6",
"local.as": "4200000162",
"local.bytes": "98",
"local.capabilities": "mp,rr,enhe,gr,as4",
"local.cluster-id": "198.18.255.1",
"local.eor": "",
"local.id": "198.18.255.1",
"local.messages": "2",
"name": "mm-bgp162-1791774990658-1",
"output.filter-chain": "mm-bgp162-1791774990658-out",
"output.network": "mm-bgp162-1791774990658",
"output.procid": "20",
"prefix-count": "0",
"remote.address": "fd00:162:1::2",
"remote.afi": "ipv6",
"remote.as": "4200000163",
"remote.bytes": "98",
"remote.capabilities": "mp,rr,enhe,gr,as4",
"remote.eor": "",
"remote.id": "198.18.255.2",
"remote.messages": "2",
"uptime": "250ms"
}
],
"routes": [
{
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::2/128",
"dynamic": "true",
"gateway": "fd00:162:1::2",
"immediate-gw": "fd00:162:1::2%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
]
},
{
"serverId": 2,
"sessions": [
{
".id": "*280000A",
"ebgp": "",
"established": "true",
"hold-time": "3m",
"input.filter": "mm-bgp162-1791774990658-in",
"input.procid": "20",
"instance": "mm-bgp162-1791774990658",
"keepalive-time": "1m",
"last-started": "2026-10-12 05:16:42",
"local.address": "fd00:162:1::2",
"local.afi": "ipv6",
"local.as": "4200000163",
"local.bytes": "98",
"local.capabilities": "mp,rr,enhe,gr,as4",
"local.cluster-id": "198.18.255.2",
"local.eor": "",
"local.id": "198.18.255.2",
"local.messages": "2",
"name": "mm-bgp162-1791774990658-1",
"output.filter-chain": "mm-bgp162-1791774990658-out",
"output.network": "mm-bgp162-1791774990658",
"output.procid": "20",
"prefix-count": "0",
"remote.address": "fd00:162:1::1",
"remote.afi": "ipv6",
"remote.as": "4200000162",
"remote.bytes": "98",
"remote.capabilities": "mp,rr,enhe,gr,as4",
"remote.eor": "",
"remote.id": "198.18.255.1",
"remote.messages": "2",
"uptime": "100ms"
}
],
"routes": [
{
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::1/128",
"dynamic": "true",
"gateway": "fd00:162:1::1",
"immediate-gw": "fd00:162:1::1%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
]
}
],
"pings": [
{
"serverId": 1,
"sent": 3,
"received": 3
},
{
"serverId": 2,
"sent": 3,
"received": 3
}
],
"withdrawal": {
"elapsedMs": 135,
"ownIpv6RouteWithdrawn": true
},
"recovery": [
{
"serverId": 1,
"sessions": [
{
".id": "*280000D",
"ebgp": "",
"established": "true",
"hold-time": "3m",
"input.filter": "mm-bgp162-1791774990658-in",
"input.procid": "20",
"instance": "mm-bgp162-1791774990658",
"keepalive-time": "1m",
"last-started": "2026-10-12 06:17:16",
"local.address": "fd00:162:1::1",
"local.afi": "ipv6",
"local.as": "4200000162",
"local.bytes": "98",
"local.capabilities": "mp,rr,enhe,gr,as4",
"local.cluster-id": "198.18.255.1",
"local.eor": "",
"local.id": "198.18.255.1",
"local.messages": "2",
"name": "mm-bgp162-1791774990658-1",
"output.filter-chain": "mm-bgp162-1791774990658-out",
"output.network": "mm-bgp162-1791774990658",
"output.procid": "20",
"prefix-count": "1",
"remote.address": "fd00:162:1::2",
"remote.afi": "ipv6",
"remote.as": "4200000163",
"remote.bytes": "98",
"remote.capabilities": "mp,rr,enhe,gr,as4",
"remote.eor": "",
"remote.id": "198.18.255.2",
"remote.messages": "2",
"uptime": "380ms"
}
],
"routes": [
{
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::2/128",
"dynamic": "true",
"gateway": "fd00:162:1::2",
"immediate-gw": "fd00:162:1::2%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
]
},
{
"serverId": 2,
"sessions": [
{
".id": "*280000A",
"ebgp": "",
"established": "true",
"hold-time": "3m",
"input.filter": "mm-bgp162-1791774990658-in",
"input.procid": "20",
"instance": "mm-bgp162-1791774990658",
"keepalive-time": "1m",
"last-started": "2026-10-12 05:17:16",
"last-stopped": "2026-10-12 05:17:16",
"local.address": "fd00:162:1::2",
"local.afi": "ipv6",
"local.as": "4200000163",
"local.bytes": "98",
"local.capabilities": "mp,rr,enhe,gr,as4",
"local.cluster-id": "198.18.255.2",
"local.eor": "",
"local.id": "198.18.255.2",
"local.messages": "2",
"name": "mm-bgp162-1791774990658-1",
"output.filter-chain": "mm-bgp162-1791774990658-out",
"output.network": "mm-bgp162-1791774990658",
"output.procid": "20",
"prefix-count": "1",
"remote.address": "fd00:162:1::1",
"remote.afi": "ipv6",
"remote.as": "4200000162",
"remote.bytes": "98",
"remote.capabilities": "mp,rr,enhe,gr,as4",
"remote.eor": "",
"remote.id": "198.18.255.1",
"remote.messages": "2",
"uptime": "280ms"
}
],
"routes": [
{
".id": "*2014F000",
"active": "true",
"bgp": "true",
"distance": "20",
"dst-address": "fd00:162:ff::1/128",
"dynamic": "true",
"gateway": "fd00:162:1::1",
"immediate-gw": "fd00:162:1::1%mm-bgp162-1791774990658-g",
"inactive": "false",
"routing-table": "main",
"scope": "40",
"target-scope": "10"
}
]
}
],
"recoveryPings": [
{
"serverId": 1,
"sent": 3,
"received": 3
},
{
"serverId": 2,
"sent": 3,
"received": 3
}
],
"passed": true
}
@@ -0,0 +1,32 @@
{
"date": "2026-10-12",
"block": "12.5.162",
"runtime": {
"backend": "ux-bgp161b",
"frontend": "ux-bfd158"
},
"cases": [
{
"width": 1440,
"rows": 2,
"ipv6PeersRendered": true,
"establishedRendered": true,
"fourByteAsnRendered": true,
"noOverflow": true,
"errors": []
},
{
"width": 320,
"rows": 2,
"ipv6PeersRendered": true,
"establishedRendered": true,
"fourByteAsnRendered": true,
"noOverflow": true,
"errors": []
}
],
"bounds": [
"Readonly production API with real two CHR IPv6 peers over own GRE/IPv4 outer; no response substitution",
"Native IPv6 NLRI/Ping/withdrawal/cleanup are checked separately; no public IPv6 WAN, independent WAN, arbitrary external peer, scale or throughput claim"
]
}