# IPMI-модуль
$IPMI_TOOL_FULL_PATH = "C:\GP\IPMI\SMCIPMITool_2.6.5\SMCIPMITool.exe"
$IPMI_TOOL_BASE_ARGUMENTS = "{0} {1} {2} user"
$IPMI_TOOL_CREATE_USER_ARGUMENTS = "$IPMI_TOOL_BASE_ARGUMENTS add 3 {3} {4} {5}"
$IPMI_TOOL_DELETE_USER_ARGUMENTS = "$IPMI_TOOL_BASE_ARGUMENTS delete 3"
#SMCIPMITool.exe 172.21.42.5 ADMIN ADMIN user add 3 user2 psw 2

# Коммутатор
$IPMI_COMMUTATOR_INIT = "<?xml version=`"1.0`" encoding=`"us-ascii`"?><junoscript version=`"1.0`" hostname=`"$computerName`" release=`"12.3R3`">"
$IPMI_COMMUTATOR_EXIT = "<rpc><request-end-session/></rpc>";
$IPMI_COMMUTATOR_SET_VLANID = "<rpc><load-configuration><configuration><interfaces><interface-set><interface><name>ge-0/0/{0}.0</name><unit>1</unit><vlan-tags-outer>{1}</vlan-tags-outer></interface></interface-set></interfaces></configuration></load-configuration></rpc>";

$IPMI_COMMUTATOR_AUTH = "<rpc><request-login><username>{0}</username><challenge-response>{1}</challenge-response></request-login></rpc>";
$IPMI_COMMUTATOR_AUTH_RESPONSE_XPATH = "//status";

$IPMI_COMMUTATOR_LOCK_CONFIG = "<rpc><lock-configuration></lock-configuration></rpc>";
$IPMI_COMMUTATOR_UNLOCK_CONFIG = "<rpc><unlock-configuration></unlock-configuration></rpc>";

$IPMI_COMMUTATOR_CREATE_PRIVATE_CONFIG = "<rpc><open-configuration><private/></open-configuration></rpc>";
$IPMI_COMMUTATOR_COMMIT_PRIVATE_CONFIG = "<rpc><commit-configuration/></rpc>";
$IPMI_COMMUTATOR_DISCARD_PRIVATE_CONFIG = "<rpc><close-configuration/></rpc>";

$IPMI_COMMUTATOR_CHECK_ERROR_XPATH = "//xnm:error/xnm:message";
$IPMI_COMMUTATOR_LOAD_CONFIG_ERROR_XPATH = "//load-configuration-results/load-error-count";

$IPMI_COMMUTATOR_COMMIT_RESPONSE_XPATH = "//routing-engine";