Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
237
19.9 Changing the iDRAC IPChange Notification
19.9.1 Getting the Current iDRAC IPChange State
Get the IPChangeNotifyPS attribute from the DCIM_LCAttribute class to display. The CurrentValue field
indicates the current status of this attribute.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCAttribute
?InstanceID=DCIM_LCEnumeration:DHS3
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
OUTPUT:
<n1:DCIM_LCAttribute>
<n1:AttributeName>IPChangeNotifyPS</n1:AttributeName>
<n1:Caption xsi:nil="true"/>
<n1:CurrentValue>Off</n1:CurrentValue>
<n1:DefaultValue>Off</n1:DefaultValue>
<n1:Description xsi:nil="true"/>
<n1:ElementName>LC.emb.1</n1:ElementName>
<n1:InstanceID>DCIM_LCEnumeration:DHS3</n1:InstanceID>
<n1:IsOrderedList xsi:nil="true"/>
<n1:IsReadOnly>true</n1:IsReadOnly>
<n1:PendingValue xsi:nil="true"/>
<n1:PossibleValues>On</n1:PossibleValues>
<n1:PossibleValues>Off</n1:PossibleValues>
<n1:PossibleValuesDescription xsi:nil="true"/>
</n1:DCIM_LCAttribute>
19.9.2 Setting the iDRAC IPChange Notification-SetAttribute()
The SetAttribute() method is used to set the attribute IPChangeNotifyPS to “ON” or “OFF”. When set
to “ON”, a user notification is sent when the IP address is changed. While set to “OFF”, a user
notification is not sent.
Invoke SetAttribute() with the following syntax:
EXAMPLE:
wsman invoke -a SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,