From 14bdd7e519bb8aaabb886aa40aefc3c0a0286eb5 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Tue, 11 Aug 2020 10:54:20 +0100 Subject: add cyclades --- INF.pm | 3 +++ Makefile | 1 + 2 files changed, 4 insertions(+) diff --git a/INF.pm b/INF.pm index 556a546..20b41b8 100644 --- a/INF.pm +++ b/INF.pm @@ -4,6 +4,7 @@ use INF::DSRx020; use INF::ILO; use INF::ILO2; use INF::SuperMicro; +use INF::Cyclades; #$infs = [ @@ -38,6 +39,8 @@ sub new ($;$) { return INF::ILO->new($inf); } elsif ( $inf->{inf_type} eq 'ilo2' ) { return INF::ILO2->new($inf); + } elsif ( $inf->{inf_type} eq 'cyclades' ) { + return INF::Cyclades->new($inf); } else { return undef; diff --git a/Makefile b/Makefile index f172065..0fee28b 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ install: install -m 644 INF/DSRx020.pm /usr/local/share/inf/INF install -m 644 INF/ILO.pm /usr/local/share/inf/INF install -m 644 INF/ILO2.pm /usr/local/share/inf/INF + install -m 644 INF/Cyclades.pm /usr/local/share/inf/INF install -m 644 INF/SuperMicro.pm /usr/local/share/inf/INF install -m 644 mibs/PowerNet-MIB.mib /usr/local/share/inf/mibs/ install -m 644 mibs/RFC1155-SMI.mib /usr/local/share/inf/mibs/ -- cgit v1.2.3