
84
novascale Blade BL465 - Installation and User's Guide
################################################################################
# #
# Reboot the AMM. #
# #
################################################################################
proc reboot_amm { } {
global amm_id
##
Reboot the AMM.
#
send -i $amm_id "reset\r"
##
The AMM CLI needs to have the session opened until it goes away.
#
sleep 10
ft_log "AMM: Rebooted."
return 0
}
################################################################################
# #
# Set the MM target to the value. #
# #
################################################################################
proc amm_set_mm_target { } {
global amm_id
##
We should discover what bay the MM is in, hardcoded to 1 right now.
#
set mm 1
send -i $amm_id "env -T system:mm\[$mm\]\r"
expect -i $amm_id -exact "system:mm\[$mm\]"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system:mm\[$mm\]" ]
return 0
}
return 1
}
################################################################################
# #
# Set the CLI target to ’system’. #
# Returns 0 on success and 1 on failure. #
# #
################################################################################
proc amm_set_system_target { } {
global amm_id
send -i $amm_id "env -T system\r"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system" ]
return 0
}
return 1
}
################################################################################
# #
# Set the CLI target to a blade. #
# Returns 0 on success and 1 on failure. #
# #
################################################################################
proc amm_set_blade_target { blade_no } {
global amm_id
send -i $amm_id "env -T system:blade\[$blade_no\]\r"
expect -i $amm_id "OK" {
set rv [ amm_save_target "system:blade\[$blade_no\]" ]
return 0
}
return 1
}
################################################################################
# #
# Collect the current SOL ready status. #
# #
################################################################################
proc blade_collect_sol_ready_status { } {
global amm_id
send -i $amm_id "sol\r"
expect -i $amm_id "OK" {
} timeout {
return 1
}
expect -i $amm_id "SOL Session: Ready" {
Содержание Novascale Blade BL465
Страница 1: ...novascale Blade BL465 Installation and User s Guide novascale Blade REFERENCE 86 A1 68FE 03...
Страница 2: ......
Страница 9: ...Safety vii Safety...
Страница 10: ...viii novascale Blade BL465 Installation and User s Guide Safety statements...
Страница 11: ...Safety ix...
Страница 12: ...x novascale Blade BL465 Installation and User s Guide...
Страница 13: ...Safety xi...
Страница 14: ...xii novascale Blade BL465 Installation and User s Guide...
Страница 36: ...22 novascale Blade BL465 Installation and User s Guide...
Страница 110: ...96 novascale Blade BL465 Installation and User s Guide...
Страница 112: ...98 novascale Blade BL465 Installation and User s Guide...
Страница 126: ...112 novascale Blade BL465 Installation and User s Guide...
Страница 127: ......
Страница 128: ...BULL CEDOC 357 AVENUE PATTON B P 20845 49008 ANGERS CEDEX 01 FRANCE REFERENCE 86 A1 68FE 03...