summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2020-08-11 10:54:20 +0100
committerfishsoupisgood <github@madingley.org>2020-08-11 10:54:20 +0100
commit14bdd7e519bb8aaabb886aa40aefc3c0a0286eb5 (patch)
treede4ff86681aa58c7a0802ff845ce9a869df8796a
parent79d7554a7c66130b2c1392970da415393ba41c5c (diff)
downloadinf-14bdd7e519bb8aaabb886aa40aefc3c0a0286eb5.tar.gz
inf-14bdd7e519bb8aaabb886aa40aefc3c0a0286eb5.tar.bz2
inf-14bdd7e519bb8aaabb886aa40aefc3c0a0286eb5.zip
add cyclades
-rw-r--r--INF.pm3
-rw-r--r--Makefile1
2 files changed, 4 insertions, 0 deletions
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/