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:
@ -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;
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user