resourceAgent.setParamShortDesc(STONITH_PRIORITY_INSTANCE_ATTR,
Tools.getString("CRMXML.stonith-priority.ShortDesc"));
resourceAgent.setParamLongDesc(STONITH_PRIORITY_INSTANCE_ATTR,
Tools.getString("CRMXML.stonith-priority.LongDesc"));
resourceAgent.setParamPossibleChoices(STONITH_PRIORITY_INSTANCE_ATTR,
new Value[]{new StringValue("0"),
new StringValue("5"),
new StringValue("10")});
resourceAgent.setParamType(STONITH_PRIORITY_INSTANCE_ATTR, PARAM_TYPE_INTEGER);
resourceAgent.setParamDefault(STONITH_PRIORITY_INSTANCE_ATTR, "0");
/* pcmk_host_check for stonithd */
resourceAgent.addParameter(STONITH_PARAM_PCMK_HOST_CHECK);
resourceAgent.setParamPossibleChoices(STONITH_PARAM_PCMK_HOST_CHECK,
new Value[]{new StringValue(),
new StringValue(PCMK_HOST_CHECK_DYNAMIC),
new StringValue(PCMK_HOST_CHECK_STATIC)});
resourceAgent.setParamShortDesc(STONITH_PARAM_PCMK_HOST_CHECK,
Tools.getString("CRMXML.pcmk_host_check.ShortDesc"));
resourceAgent.setParamLongDesc(STONITH_PARAM_PCMK_HOST_CHECK,
Tools.getString("CRMXML.pcmk_host_check.LongDesc"));
resourceAgent.setParamDefault(STONITH_PARAM_PCMK_HOST_CHECK, PCMK_HOST_CHECK_DYNAMIC);