mirror of
https://github.com/hansjone/netx.git
synced 2026-10-18 06:30:48 +08:00
MCP: add bizMonitor server, align ops/topology tools, harden CLI exec
- New packages/netx-bizmonitor-mcp: 8 read-only cutover/biz-state tools mirroring the netxops bizMonitor group. - Align netx-mcp (15) and netx-topology-mcp (16) with backend HTTP contracts; surface partial batch failures as tool errors. - CLI hard gate: single-line show/display only; exec job IDs, path containment, owner and ne:exec checks. - Cisco IOSv collection: stable prompt/echo handling over CR. - Remove legacy netx_api/mcp and mcp_server.py; add mcp.all.json; sync skills and docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d8da7acb7d
commit
9085cac742
63 changed files with 3251 additions and 1092 deletions
3
tests/fixtures/zte_vpnv6/README.md
vendored
Normal file
3
tests/fixtures/zte_vpnv6/README.md
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# ZTE vpnv6 只读回放样本
|
||||
|
||||
这3个小样本于2026-10-15从工作区现有 `D:/project/chatgpt/test/show-zte/` 同名文件原样复制,作为 `test_bgp_peer_ipv4_and_ipv6_wrap` 的仓库内测试输入。内容为 show bgp 的summary及vrf邻居in/out只读输出,不含配置日志或口令。未在本次任务中连接设备采集。保留字节原貌;请勿把它们解释为合成数据或本次现场实测。
|
||||
13
tests/fixtures/zte_vpnv6/show-bgp-vpnv6
vendored
Normal file
13
tests/fixtures/zte_vpnv6/show-bgp-vpnv6
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
MDN-BCP-CN1-ZM8SP#show bgp vpnv6 unicast summary | one-line
|
||||
08:04:10 Indonesia Sat Sep 19 2026
|
||||
BGP router ID : 124.195.96.248
|
||||
Local AS : 4761
|
||||
All peers : 2
|
||||
Established : 2
|
||||
All prefixes : 0
|
||||
Neighbor Ver As MsgRcvd MsgSend Up/Down State/PfxRcd
|
||||
FC00:A000:0:61:114::75
|
||||
4 4761 14476867 2679817 5w4d 0
|
||||
FC00:A000:0:61:114::76
|
||||
4 4761 14609910 2680356 5w4d 0
|
||||
MDN-BCP-CN1-ZM8SP#
|
||||
40
tests/fixtures/zte_vpnv6/show-bgp-vpnv6-neighbor-router-in-vrf
vendored
Normal file
40
tests/fixtures/zte_vpnv6/show-bgp-vpnv6-neighbor-router-in-vrf
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
MDN-BCP-CN1-ZM8SP#show bgp vpnv6 unicast vrf vpn.giims neighbor in 2407::45:0:0:5:1 | one-line
|
||||
09:50:02 Indonesia Sat Sep 19 2026
|
||||
Routes Learned From This Neighbor:
|
||||
Status codes: * valid, < last valid, i - internal, s - stale
|
||||
Origin codes: i - IGP, e - EGP, ? - incomplete
|
||||
Local router ID 124.195.96.248, Local AS 4761, Local port 179
|
||||
Remote router ID 10.83.48.3, Remote AS 65254, Remote port 54486
|
||||
Total number of routes: 9
|
||||
Valid routes : 9
|
||||
Invalid routes : 0
|
||||
Network Next Hop Metric LocPrf RtPrf Path
|
||||
|
||||
* 2407::45:0:0:2:780/125
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:7c4/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:7c5/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:800/123
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:844/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:845/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:880/123
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:8c4/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
* 2407::45:0:0:2:8c5/128
|
||||
2407::45:0:0:5:1
|
||||
20 65254 ?
|
||||
MDN-BCP-CN1-ZM8SP#
|
||||
11
tests/fixtures/zte_vpnv6/show-bgp-vpnv6-neighbor-router-out-vrf
vendored
Normal file
11
tests/fixtures/zte_vpnv6/show-bgp-vpnv6-neighbor-router-out-vrf
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
MDN-BCP-CN1-ZM8SP#show bgp vpnv6 unicast vrf vpn.giims neighbor out 2407::45:0:0:5:1 | one-line
|
||||
09:51:15 Indonesia Sat Sep 19 2026
|
||||
Routes Sent To This Neighbor:
|
||||
Origin codes: i - IGP, e - EGP, ? - incomplete
|
||||
Total number of routes: 1
|
||||
Network Next Hop From Metric LocPrf Path
|
||||
|
||||
2407::45:0:0:5:0/127
|
||||
2407::45:0:0:5:0
|
||||
4761 ?
|
||||
MDN-BCP-CN1-ZM8SP#
|
||||
Loading…
Add table
Add a link
Reference in a new issue