canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #119452
[Merge] ~flyjerry0415/cc-tool-box:add-dell-server-reboot-script--30519-30521 into cc-tool-box:master
LIAO, YU-SIANG has proposed merging ~flyjerry0415/cc-tool-box:add-dell-server-reboot-script--30519-30521 into cc-tool-box:master.
Commit message:
Add: add dell server iDRAC power reboot script.
Requested reviews:
Canonical Hardware Certification (canonical-hw-cert)
For more details, see:
https://code.launchpad.net/~flyjerry0415/cc-tool-box/+git/cc-tool-box/+merge/444473
--
Your team Canonical Hardware Certification is requested to review the proposed merge of ~flyjerry0415/cc-tool-box:add-dell-server-reboot-script--30519-30521 into cc-tool-box:master.
diff --git a/config/cc_lab_manager/device_config_maptable.py b/config/cc_lab_manager/device_config_maptable.py
index 15e50f1..bbd07a0 100644
--- a/config/cc_lab_manager/device_config_maptable.py
+++ b/config/cc_lab_manager/device_config_maptable.py
@@ -93,6 +93,11 @@ agent_config_device_maptable = {
'sleep 30',
'snmpset -c private -v2c {PDU_IP} .1.3.6.1.4.1.13742.6.4.1.2.1.2.1.{PDU_Outlet} i 1',
'ssh -o ConnectTimeout=15 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ubuntu@{Controller_IP} stm -dut']
+ },
+ 'dell-precision-7960-rack': {
+ # need to set iDRAC(Dell remote controller) username to "admin"
+ 'reboot_script': [
+ 'ssh -t -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null admin@{Controller_IP} racadm serveraction powercycle']
}
}