infrastructure/modules/netconf/dgn-hardware/EX4100-F-48P.nix

18 lines
395 B
Nix

# SPDX-FileCopyrightText: 2024 Lubin Bailly <lubin.bailly@dgnum.eu>
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
range:
{
poe = range "ge-0/0/" 48;
regular =
# SFP ports
(range "ge-0-1/" 4)
++ (range "xe-0/1/" 4)
++ (range "et-0/1/" 4)
# Uplink ports
++ (range "ge-0/2/" 4)
++ (range "xe-0/2/" 4);
}