infrastructure/machines/netconf/swHackdays05.nix
catvayor e88a9ccda9
All checks were successful
Run pre-commit on all files / pre-commit (push) Successful in 23s
feat(hackdays): all switches GO
2025-06-02 15:41:21 +02:00

22 lines
419 B
Nix

# SPDX-FileCopyrightText: 2025 Lubin Bailly <lubin.bailly@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ lib, ... }:
let
inherit (lib) genList;
in
{
dgn-hackdays = {
enable = true;
portConfig = false;
index = 5;
};
dgn-profiles = {
"client".interfaces = genList (i: "ge-0/0/${toString i}") 45 ++ [ "ge-0/0/46" ];
"uplink".interfaces = [
"ge-0/0/45"
"ge-0/0/47"
];
};
}