From 2a60947fc432f31b0e36d63929d0bb8cb48d74c5 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Fri, 9 Feb 2024 15:51:48 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Updated=20Router=20Config=20at?= =?UTF-8?q?=20Fri=20Feb=20=209=2015:51:48=20EST=202024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- os/routers/glmain/config.yaml | 6 ++++-- os/routers/glmain/gen-mappings.py | 3 ++- os/routers/glmain/output/etc/ethers | 5 +++++ os/routers/glmain/output/summary.yaml | 9 ++++++++- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/os/routers/glmain/config.yaml b/os/routers/glmain/config.yaml index 312a747..e85c670 100644 --- a/os/routers/glmain/config.yaml +++ b/os/routers/glmain/config.yaml @@ -74,6 +74,8 @@ apl: mac: '04:99:B9:86:2D:AE' - name: 'pod-livingroom' mac: '04:99:B9:88:ED:3B' -routers: - - name: 'velica1-office' +router: + - name: 'velica-office' mac: '94:83:C4:41:77:BA' + - name: 'gl-basement' + mac: '94:83:C4:31:D5:CE' diff --git a/os/routers/glmain/gen-mappings.py b/os/routers/glmain/gen-mappings.py index 0c8eb69..70de256 100755 --- a/os/routers/glmain/gen-mappings.py +++ b/os/routers/glmain/gen-mappings.py @@ -22,7 +22,8 @@ ip_prefix_map = { "hub": "10.0.12.", "cam": "10.0.13.", "iot": "10.0.14.", - "apl": "10.0.15." + "apl": "10.0.15.", + "router": "10.0.16.", } def cap1_and_join(*args: str) -> str: diff --git a/os/routers/glmain/output/etc/ethers b/os/routers/glmain/output/etc/ethers index 167832d..9421286 100644 --- a/os/routers/glmain/output/etc/ethers +++ b/os/routers/glmain/output/etc/ethers @@ -68,3 +68,8 @@ CC:6A:10:8B:7D:D3 myq-garage.apl.internal 04:99:B9:86:2D:AE pod-korie.apl.internal 04:99:B9:88:ED:3B 10.0.15.5 04:99:B9:88:ED:3B pod-livingroom.apl.internal +#Router +94:83:C4:41:77:BA 10.0.16.1 +94:83:C4:41:77:BA velica-office.router.internal +94:83:C4:31:D5:CE 10.0.16.2 +94:83:C4:31:D5:CE gl-basement.router.internal diff --git a/os/routers/glmain/output/summary.yaml b/os/routers/glmain/output/summary.yaml index 1ec13bc..3af12b2 100644 --- a/os/routers/glmain/output/summary.yaml +++ b/os/routers/glmain/output/summary.yaml @@ -104,4 +104,11 @@ Apl: host: "pod-korie.apl.internal" Pod-livingroom: ip: "10.0.15.5" - host: "pod-livingroom.apl.internal" \ No newline at end of file + host: "pod-livingroom.apl.internal" +Router: + Velica-office: + ip: "10.0.16.1" + host: "velica-office.router.internal" + Gl-basement: + ip: "10.0.16.2" + host: "gl-basement.router.internal" \ No newline at end of file