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:
@ -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 => {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user