Device: Write MACsec configs by network ID

This commit is contained in:
Thomas Stoddard
2026-09-24 19:49:23 -04:00
committed by Kyle Schwarz
parent b54bf80c40
commit f0b1341cdf
14 changed files with 154 additions and 14 deletions
@@ -52,6 +52,14 @@ public:
.add<ReconnectPhase>();
}
protected:
const MACsecNetworkMap& getMACsecNetworkMap() const override {
static const MACsecNetworkMap networks = {
{Network::NetID::AE_01, 0},
{Network::NetID::ETHERNET_01, 1},
};
return networks;
}
RADMoon3(neodevice_t neodevice, const driver_factory_t& makeDriver) : Device(neodevice) {
initialize<RADMoon3Settings>(makeDriver);
}