summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b40c795)
added clearer message for catching exception strings.
rb_ret = "No modelname in PCU record."
# TODO: how to handle the weird, georgetown pcus, the drac faults, and ilo faults
except Exception, err:
rb_ret = "No modelname in PCU record."
# TODO: how to handle the weird, georgetown pcus, the drac faults, and ilo faults
except Exception, err:
+ rb_ret = "Exception Model(%s): " % modelname
+ rb_ret += str(err)
<span class="code" py:if="port == 22 and state == 'open'">
ssh -o PasswordAuthentication=yes -o PubkeyAuthentication=no
${pcu.plc_pcu_stats['username']}@${pcu_name(pcu.plc_pcu_stats)}
<span class="code" py:if="port == 22 and state == 'open'">
ssh -o PasswordAuthentication=yes -o PubkeyAuthentication=no
${pcu.plc_pcu_stats['username']}@${pcu_name(pcu.plc_pcu_stats)}
</span>
<span class="code" py:if="port == 23 and state == 'open'">
telnet ${pcu_name(pcu.plc_pcu_stats)}
</span>
<span class="code" py:if="port == 23 and state == 'open'">
telnet ${pcu_name(pcu.plc_pcu_stats)}
</span>
<span class="code" py:if="port == 80 and state == 'open'">
<a href="http://${pcu_name(pcu.plc_pcu_stats)}">http://${pcu_name(pcu.plc_pcu_stats)}</a>
</span>
<span class="code" py:if="port == 80 and state == 'open'">
<a href="http://${pcu_name(pcu.plc_pcu_stats)}">http://${pcu_name(pcu.plc_pcu_stats)}</a>
</span>
<span class="code" py:if="port == 443 and state == 'open'">
<br/>
</span>
<span class="code" py:if="port == 443 and state == 'open'">
<br/>