2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-17 20:00:19 +00:00

standalize switchtype attribut for switch object

This commit is contained in:
linggao
2015-05-27 16:30:21 -04:00
parent b5c3b5f4cf
commit f6fd10a00c
2 changed files with 3 additions and 3 deletions

View File

@ -680,7 +680,7 @@ noderes => {
sshusername => 'The remote login user name. It can be for ssh or telnet. If it is for telnet, please set protocol to "telnet".',
sshpassword => 'The remote login password. It can be for ssh or telnet. If it is for telnet, please set protocol to "telnet".',
protocol => 'Prorocol for running remote commands for the switch. The valid values are: ssh, telnet. ssh is the default. Leave it blank or set to "ssh" for Mellanox IB switch.',
switchtype => 'The type of switch. It is used to identify the file name that implements the functions for this swithc. The valid values are: MellanoxIB etc.',
switchtype => 'The type of switch. It is used to identify the file name that implements the functions for this swithc. The valid values are: Mellanox, Cisco, BNT and Jun (for Juniper).',
},
},
nodetype => {

View File

@ -32,7 +32,7 @@ my %global_switch_type = (
Juniper => "Jun",
Cisco => "Cisco",
BNT => "BNT",
Mellanox => "MellanoxIB"
Mellanox => "Mellanox"
);
#-------------------------------------------------------------------------------
@ -668,7 +668,7 @@ sub get_hostname {
Arguments:
vendor: switch vendor
Returns:
stype: type of switch, supports JUN, Cisco, BNT and MellanoxIB
stype: type of switch, supports Jun, Cisco, BNT and Mellanox
=cut
#--------------------------------------------------------------------------------
sub get_switchtype {