jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [modules/] [fiber-100g/] [platform/] [common.pm] - Blame information for rev 32

 

Line No. Rev Author Line
132simandlpackage HotSaNICmod::common;
2 
3sub configure {
4 my $num=0;
5 foreach (@_) {
6 ($var,$value)=HotSaNICparser::parse_line($_);
7 if ($var eq "SNMPWALK") { $MODARGS{SNMPWALK}=$value; }
8 if ($var eq "IP") {
9 my ($dev,$oid,$name)=split(/,/,$value);
10 $MODARGS{"IP,$dev,$oid,$name"}=$value;
11 }
12 }
13 return %MODARGS;
14}
151;

Powered by WebSVN 2.2.1