Compare commits

...

2 commits

Author SHA1 Message Date
e10e63518b
feat: all vlans to potos 2024-12-18 13:08:39 +01:00
0bb363716d
feat: vlan-hypervisor to potos 2024-12-16 22:54:52 +01:00

View file

@ -15,6 +15,7 @@ let
];
"ap-staging".id = 2000;
"hypervisor".id = 2001;
};
AP = {
poe = true;
@ -118,9 +119,9 @@ in
};
# netcore01 (Potos)
"xe-0/1/2".ethernet-switching = {
interface-mode = "access";
interface-mode = "trunk";
vlans = [
"ap-staging"
"all"
];
};
# uplink
@ -172,39 +173,25 @@ in
dgn-interfaces =
let
admin-intf.ethernet-switching = {
interface-mode = "trunk";
vlans = [ "all" ];
hypervisor.ethernet-switching = {
interface-mode = "access";
vlans = [ "hypervisor" ];
};
in
{
"xe-0/1/0" = admin-intf;
"ge-0/1/0" = admin-intf;
"et-0/1/0" = admin-intf;
"xe-0/1/1" = admin-intf;
"ge-0/1/1" = admin-intf;
"et-0/1/1" = admin-intf;
"xe-0/1/2" = admin-intf;
"ge-0/1/2" = admin-intf;
"et-0/1/2" = admin-intf;
"xe-0/1/3" = admin-intf;
"ge-0/1/3" = admin-intf;
"et-0/1/3" = admin-intf;
"xe-0/2/0" = admin-intf;
"ge-0/2/0" = admin-intf;
"xe-0/2/1" = admin-intf;
"ge-0/2/1" = admin-intf;
"xe-0/2/2" = admin-intf;
"ge-0/2/2" = admin-intf;
"xe-0/2/3" = admin-intf;
"ge-0/2/3" = admin-intf;
"ge-0/0/47".ethernet-switching = {
"xe-0/2/0".ethernet-switching = {
interface-mode = "trunk";
vlans = [ "all" ];
};
"ge-0/0/0" = hypervisor;
"ge-0/0/1" = hypervisor;
"ge-0/0/2" = hypervisor;
"ge-0/0/3" = hypervisor;
"ge-0/0/4" = hypervisor;
"ge-0/0/5" = hypervisor;
"ge-0/0/47" = hypervisor;
# management
"me0".inet.addresses = [ "192.168.2.2/24" ];
"irb".inet6.addresses = [ "fd26:baf9:d250:8000::200f/64" ];