From 88227ea07c824c4c31a30e74c036bd2af6a6596d Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Tue, 7 Sep 2021 18:29:49 -0400 Subject: [PATCH] add stats --- next.config.js | 10 ++++++- public/stats.html | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 public/stats.html diff --git a/next.config.js b/next.config.js index 14eb4e17..bfccd253 100644 --- a/next.config.js +++ b/next.config.js @@ -6,5 +6,13 @@ module.exports = withMDX({ pageExtensions: ["ts", "tsx", "mdx"], trailingSlash: true, basePath: process.env.NEXT_PUBLIC_BASE_PATH, - eslint: { ignoreDuringBuilds: true } + eslint: { ignoreDuringBuilds: true }, + rewrites: async () => { + return [ + { + source: '/stats(/?)', + destination: '/stats.html', + }, + ]; + }, }); diff --git a/public/stats.html b/public/stats.html new file mode 100644 index 00000000..0321f5fd --- /dev/null +++ b/public/stats.html @@ -0,0 +1,67 @@ + + + + Network Statistics + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IST: + Router Graphs | + IST Network Services +
 

EXTERNAL DEVICES

+ EXT-RT-MC (Rogers, 10 Gbps)
+ Rogers Interfaces (10 Gbps) +
+ EXT-RT-MC (ORION, 10 Gbps)
+ ORION Interfaces (10 Gbps) +
+ EXT-RT-RAC (OpenFace, 10 Gbps)
+ OpenFace Interface (10 Gbps) +
 

CORE DEVICES

+ CN-RT-MC (10 Gbps)
+ CN-RT-MC +
+ CN-RT-RAC (10 Gbps)
+ CN-RT-RAC +
+ + + +