Technical White Paper
</p:ImportSystemConfiguration_INPUT>
OUTPUT:
After running this method, a
jobid
or a message is displayed indicating an error.
<n1:ImportSystemConfiguration_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anon
ymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimschema/
2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300792435</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:ImportSystemConfiguration _OUTPUT>
12.21 XML Template Preview
This method is used to preview the XML template ahead of the actual application.
ImportSystemConfiguration() is implemented on DCIM_LCService class.
IPAddress: This is the IP address of the target export server.
ShareName: This is the directory path to the mount point.
FileName: This is the target input file.
ShareType: Type of share
NFS=0, CIFS=2
Username: This is the username to the target server.
Password: This is the password to the target server.
EXAMPLE:
wsman invoke -a ImportSystemConfigurationPreview
http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService?SystemCreationClassName=DCIM_ComputerSyste
m,CreationClassName=DCIM_LCService,SystemName
=DCIM:ComputerSystem,Name=DCIM:LCService -h $IPADDRESS -V -v -c dummy.cert -
P 443 -u $USERNAME -p $PASSWORD -J ImportSystemConfigurationPreview .xml -j utf-8
-y basic
Format for ImportSystemConfigurationPreview.xml
<p:ImportSystemConfigurationPreview_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">