desactivating APs until they are ready
This commit is contained in:
parent
841ff3a69e
commit
35682d1fc6
1 changed files with 58 additions and 48 deletions
106
netconf-hive.nix
106
netconf-hive.nix
|
@ -41,24 +41,24 @@ in
|
||||||
deployment.targetHost = "netcore02.dgn";
|
deployment.targetHost = "netcore02.dgn";
|
||||||
vlans = vlansPlan;
|
vlans = vlansPlan;
|
||||||
protocols.rstp = [
|
protocols.rstp = [
|
||||||
"ge-0/0/0"
|
# "ge-0/0/0"
|
||||||
"ge-0/0/1"
|
# "ge-0/0/1"
|
||||||
"ge-0/0/2"
|
# "ge-0/0/2"
|
||||||
"ge-0/0/3"
|
# "ge-0/0/3"
|
||||||
"ge-0/0/4"
|
# "ge-0/0/4"
|
||||||
"ge-0/0/5"
|
# "ge-0/0/5"
|
||||||
"ge-0/0/6"
|
# "ge-0/0/6"
|
||||||
"ge-0/0/7"
|
# "ge-0/0/7"
|
||||||
"ge-0/0/8"
|
# "ge-0/0/8"
|
||||||
"ge-0/0/9"
|
# "ge-0/0/9"
|
||||||
"ge-0/0/10"
|
# "ge-0/0/10"
|
||||||
"ge-0/0/11"
|
# "ge-0/0/11"
|
||||||
"ge-0/0/12"
|
# "ge-0/0/12"
|
||||||
"ge-0/0/13"
|
# "ge-0/0/13"
|
||||||
"ge-0/0/14"
|
# "ge-0/0/14"
|
||||||
"ge-0/0/15"
|
# "ge-0/0/15"
|
||||||
"ge-0/0/16"
|
# "ge-0/0/16"
|
||||||
"ge-0/0/17"
|
# "ge-0/0/17"
|
||||||
"ge-0/0/42"
|
"ge-0/0/42"
|
||||||
"ge-0/0/43"
|
"ge-0/0/43"
|
||||||
"ge-0/0/47"
|
"ge-0/0/47"
|
||||||
|
@ -68,24 +68,24 @@ in
|
||||||
"ge-0/1/3"
|
"ge-0/1/3"
|
||||||
];
|
];
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"ge-0/0/0" = AP-staging;
|
# "ge-0/0/0" = AP-staging;
|
||||||
"ge-0/0/1" = AP-staging;
|
# "ge-0/0/1" = AP-staging;
|
||||||
"ge-0/0/2" = AP-staging;
|
# "ge-0/0/2" = AP-staging;
|
||||||
"ge-0/0/3" = AP-staging;
|
# "ge-0/0/3" = AP-staging;
|
||||||
"ge-0/0/4" = AP-staging;
|
# "ge-0/0/4" = AP-staging;
|
||||||
"ge-0/0/5" = AP-staging;
|
# "ge-0/0/5" = AP-staging;
|
||||||
"ge-0/0/6" = AP-staging;
|
# "ge-0/0/6" = AP-staging;
|
||||||
"ge-0/0/7" = AP-staging;
|
# "ge-0/0/7" = AP-staging;
|
||||||
"ge-0/0/8" = AP-staging;
|
# "ge-0/0/8" = AP-staging;
|
||||||
"ge-0/0/9" = AP-staging;
|
# "ge-0/0/9" = AP-staging;
|
||||||
"ge-0/0/10" = AP-staging;
|
# "ge-0/0/10" = AP-staging;
|
||||||
"ge-0/0/11" = AP-staging;
|
# "ge-0/0/11" = AP-staging;
|
||||||
"ge-0/0/12" = AP-staging;
|
# "ge-0/0/12" = AP-staging;
|
||||||
"ge-0/0/13" = AP-staging;
|
# "ge-0/0/13" = AP-staging;
|
||||||
"ge-0/0/14" = AP-staging;
|
# "ge-0/0/14" = AP-staging;
|
||||||
"ge-0/0/15" = AP-staging;
|
# "ge-0/0/15" = AP-staging;
|
||||||
"ge-0/0/16" = AP-staging;
|
# "ge-0/0/16" = AP-staging;
|
||||||
"ge-0/0/17" = AP-staging;
|
# "ge-0/0/17" = AP-staging;
|
||||||
|
|
||||||
"ge-0/0/42" = {
|
"ge-0/0/42" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -96,6 +96,15 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"ge-0/0/43" = AP-staging;
|
"ge-0/0/43" = AP-staging;
|
||||||
|
"ge-0/0/46" = {
|
||||||
|
# uplink oob
|
||||||
|
enable = true;
|
||||||
|
unit."0".family.ethernet-switching = {
|
||||||
|
enable = true;
|
||||||
|
interface-mode = "access";
|
||||||
|
vlans = [ 500 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
"ge-0/0/47" = {
|
"ge-0/0/47" = {
|
||||||
# ilo
|
# ilo
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -121,6 +130,7 @@ in
|
||||||
interface-mode = "trunk";
|
interface-mode = "trunk";
|
||||||
vlans = [
|
vlans = [
|
||||||
"users"
|
"users"
|
||||||
|
"ap-staging"
|
||||||
"admin-ap"
|
"admin-ap"
|
||||||
"admin-core"
|
"admin-core"
|
||||||
];
|
];
|
||||||
|
@ -158,22 +168,22 @@ in
|
||||||
vlans = vlansPlan;
|
vlans = vlansPlan;
|
||||||
|
|
||||||
protocols.rstp = [
|
protocols.rstp = [
|
||||||
"ge-0/0/0"
|
# "ge-0/0/0"
|
||||||
"ge-0/0/1"
|
# "ge-0/0/1"
|
||||||
"ge-0/0/2"
|
# "ge-0/0/2"
|
||||||
"ge-0/0/3"
|
# "ge-0/0/3"
|
||||||
"ge-0/0/4"
|
# "ge-0/0/4"
|
||||||
"ge-0/0/5"
|
# "ge-0/0/5"
|
||||||
|
|
||||||
"xe-0/1/0"
|
"xe-0/1/0"
|
||||||
];
|
];
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"ge-0/0/0" = AP-staging;
|
# "ge-0/0/0" = AP-staging;
|
||||||
"ge-0/0/1" = AP-staging;
|
# "ge-0/0/1" = AP-staging;
|
||||||
"ge-0/0/2" = AP-staging;
|
# "ge-0/0/2" = AP-staging;
|
||||||
"ge-0/0/3" = AP-staging;
|
# "ge-0/0/3" = AP-staging;
|
||||||
"ge-0/0/4" = AP-staging;
|
# "ge-0/0/4" = AP-staging;
|
||||||
"ge-0/0/5" = AP-staging;
|
# "ge-0/0/5" = AP-staging;
|
||||||
|
|
||||||
"xe-0/1/0" = {
|
"xe-0/1/0" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue