2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00

added message to mention snmp is not supported for switchdiscover

This commit is contained in:
linggao
2015-06-16 16:57:35 -04:00
parent d707d7f12d
commit a00c931c1b

View File

@ -798,12 +798,12 @@ sub nmap_scan {
sub snmp_scan {
my $request = shift;
send_msg($request, 0, "Discovering switches using snmp...");
send_msg($request, 0, "Discovering switches using snmp is not supported yet.");
my $switches = {
"AABBCCDDEEFA" =>{name=>"switch1", vendor=>"ibm", ip=>"10.1.2.3"},
"112233445566" =>{name=>"switch2", vendor=>"cisco", ip=>"11.4.5.6"}
};
return $switches
return 1;
}
#--------------------------------------------------------------------------------