From fdcf87f8bd91e5fc7acde04ade559559a4271e8f Mon Sep 17 00:00:00 2001 From: catvayor Date: Sat, 20 Apr 2024 01:54:15 +0200 Subject: [PATCH] AP-staging vlan --- netconf-hive.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/netconf-hive.nix b/netconf-hive.nix index 1c6a1c5..b76b0dd 100644 --- a/netconf-hive.nix +++ b/netconf-hive.nix @@ -8,12 +8,19 @@ let }; "admin-ap".ids = 3001; "users".ids = [ { begin = 3045; end = 4094; } ]; + + "ap-staging".ids = 2000; }; AP = { enable = true; interface-mode = "trunk"; vlans = [ "users" "admin-ap" ]; }; + AP-staging = { + enable = true; + interface-mode = "access"; + vlans = [ "ap-staging" ]; + }; in { netcore01 = { deployement.targetHost = "jourdan01.dgn"; @@ -27,6 +34,18 @@ in { "ge-0/0/16" = AP; "ge-0/0/17" = AP; + "ge-0/0/42" = { + enable = true; + interface-mode = "access"; + vlans = [ "admin-core" ]; + }; + "ge-0/0/43" = AP-staging; + "ge-0/0/47" = { # ilo + enable = true; + interface-mode = "access"; + vlans = [ "admin-core" ]; + }; + "xe-0/1/0" = { enable = true; interface-mode = "trunk"; @@ -51,7 +70,7 @@ in { }; }; netaccess01 = { - deployement.targetHost = "jourdan02.dgn"; + deployement.targetHost = "root@192.168.42.6"; vlans = vlansPlan "fd26:baf9:d250:8000::2001/64"; interfaces = {