White Papers

10
WSMAN
This section describes the methods that you can use for registering and configuring SupportAssist through WSMAN.
DCIM_LCService.SupportAssistAcceptEULA()
Note: The End User License Agreement (EULA) must be accepted before you register SupportAssist.
To accept the EULA, use the SupportAssistAcceptEULA method.
WSMAN Input SOAP Packet:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/DCIM_LCService">
<s:Header>
<wsa:To s:mustUnderstand="true">https://10.94.225.31:443/wsman</wsa:To>
<wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/DCIM_LCService</wsman:ResourceURI>
<wsa:ReplyTo>
<wsa:Address
s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:A
ddress>
</wsa:ReplyTo>
<wsa:Action s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/DCIM_LCService/SupportAssistAcceptEULA</wsa:Action>
<wsman:MaxEnvelopeSize s:mustUnderstand="true">512000</wsman:MaxEnvelopeSize>
<wsa:MessageID s:mustUnderstand="true">urn:uuid:699156c1-33db-11e7-8542-
64006a57bb6c</wsa:MessageID>
<wsman:OperationTimeout>PT120.0S</wsman:OperationTimeout>
<wsman:SelectorSet>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
<wsman:Selector Name="SystemCreationClassName">DCIM_ComputerSystem</wsman:Selector>
<wsman:Selector Name="SystemName">DCIM:ComputerSystem</wsman:Selector>
<wsman:Selector Name="CreationClassName">DCIM_LCService</wsman:Selector>
<wsman:Selector Name="Name">DCIM:LCService</wsman:Selector>
</wsman:SelectorSet>
</s:Header>
<s:Body>
<n1:SupportAssistAcceptEULA_INPUT/>
</s:Body>
</s:Envelope>
WSMAN Output SOAP Packet:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService">
<s:Header>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsa:Action>http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService/SupportAssistAcceptEULAResponse</wsa:Action>
<wsa:RelatesTo>uuid:381c73e9-4fdb-1fdb-8002-6cbb576a0064</wsa:RelatesTo>
<wsa:MessageID>uuid:0284b730-f672-1672-800a-2403d5eb7b84</wsa:MessageID>
</s:Header>
<s:Body>
<n1:SupportAssistAcceptEULA_OUTPUT>
<n1:Message>The SupportAssist End User License Agreement (EULA) is accepted by iDRAC user
root via iDRAC interface WSMan.</n1:Message>
<n1:MessageArguments>root</n1:MessageArguments>
<n1:MessageArguments>WSMan</n1:MessageArguments>
<n1:MessageID>SRV074</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:SupportAssistAcceptEULA_OUTPUT>
</s:Body>
</s:Envelope>