summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2017-08-29 19:36:43 +0100
committerroot <root@no.no.james.local>2017-08-29 19:37:29 +0100
commit78a2d0d47a493ef7845c86d4a1ba3e9a77a071ff (patch)
tree459e225249e5c2504ce88da5d82fbe393c75745e /INF.pm
parent6438d895d9bc7a98856f9da73635353809b8dbb8 (diff)
downloadinf-78a2d0d47a493ef7845c86d4a1ba3e9a77a071ff.tar.gz
inf-78a2d0d47a493ef7845c86d4a1ba3e9a77a071ff.tar.bz2
inf-78a2d0d47a493ef7845c86d4a1ba3e9a77a071ff.zip
proxy support and ILOv2 support
Diffstat (limited to 'INF.pm')
-rw-r--r--INF.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/INF.pm b/INF.pm
index 46500e4..962b15a 100644
--- a/INF.pm
+++ b/INF.pm
@@ -2,6 +2,7 @@ package INF;
use INF::APC;
use INF::DSRx020;
use INF::ILO;
+use INF::ILO2;
#$infs = [
@@ -30,9 +31,10 @@ sub new ($;$) {
}
elsif ( $inf->{inf_type} eq 'apc' ) {
return INF::APC->new($inf);
- }
- elsif ( $inf->{inf_type} eq 'ilo' ) {
+ } elsif ( $inf->{inf_type} eq 'ilo' ) {
return INF::ILO->new($inf);
+ } elsif ( $inf->{inf_type} eq 'ilo2' ) {
+ return INF::ILO2->new($inf);
}
else {
return undef;