Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
177
The input file ResetConfig.xml is shown below:
<p:ResetConfig_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>RAID.Integrated.1-1</p:Target>
</p:ResetConfig_INPUT>
OUTPUT:
<n1:ResetConfig_OUTPUT>
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ResetConfig_OUTPUT>
16.13 Clearing the Foreign Configuration-ClearForeignConfig()
The ClearForeignConfig() method is used to prepare any foreign physical disks for inclusion in the local
configuration.
Invoke ClearForeignConfig() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
EXAMPLE:
wsman invoke -a ClearForeignConfig http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_RAIDService,SystemName=DCIM:ComputerSystem,
Name=DCIM:RAIDService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J ClearForeignConfig.xml -j utf-8 -y basic
The input file ClearForeignConfig.xml is shown below:
<p:ClearForeignConfig_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>RAID.Integrated.1-1</p:Target>
</p:ClearForeignConfig_INPUT>
OUTPUT:
<n1: ClearForeignConfig_OUTPUT >
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1: ClearForeignConfig_OUTPUT>
If no foreign physical disks are available, the following message may result:
<n1:ClearForeignConfig_OUTPUT>
<n1:Message>No foreign drives detected</n1:Message>