From 93cdfe64bd347eb2990f72a929b69e936117feaf Mon Sep 17 00:00:00 2001 From: csenet Date: Wed, 4 Feb 2026 19:40:21 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Info=E7=94=BB=E9=9D=A2=E3=81=A7IX?= =?UTF-8?q?=E6=8E=A5=E7=B6=9A=E6=83=85=E5=A0=B1=E3=81=AE=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IX接続の場合はNOC/トンネル終端アドレスの代わりに IX名、ピアリングタイプ、VLAN-IDを表示するように変更 Co-Authored-By: Claude Opus 4.5 --- src/interface.ts | 3 +++ src/pages/Info/Info.tsx | 46 ++++++++++++++++++++++++++++++----------- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/src/interface.ts b/src/interface.ts index 2961c3e..37948cd 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -161,6 +161,9 @@ export interface InfosData { noc: string noc_ip: string term_ip: string + ix?: string + ix_peer_type?: string + ix_vlan_id?: string link_v4_our: string link_v4_your: string link_v6_our: string diff --git a/src/pages/Info/Info.tsx b/src/pages/Info/Info.tsx index 5adf245..6283665 100644 --- a/src/pages/Info/Info.tsx +++ b/src/pages/Info/Info.tsx @@ -147,18 +147,40 @@ export default function Info() { 接続方式 {info.service} - - 接続NOC - {info.noc} - - - トンネル終端アドレス(貴団体側) - {info.term_ip} - - - トンネル終端アドレス(HomeNOC側) - {info.noc_ip} - + {!info.ix && ( + <> + + 接続NOC + {info.noc} + + + トンネル終端アドレス(貴団体側) + {info.term_ip} + + + トンネル終端アドレス(HomeNOC側) + {info.noc_ip} + + + )} + {info.ix && ( + <> + + IX + {info.ix} + + + ピアリングタイプ + {info.ix_peer_type} + + {info.ix_peer_type === 'PI/CUG' && info.ix_vlan_id && ( + + VLAN-ID + {info.ix_vlan_id} + + )} + + )} 当団体との間の境界アドレス