Reference Guide
237 Lifecycle Controller Web Services Interface Guide for Linux
<n1:StaleData>0</n1:StaleData>
<n1:SwitchConnectionID>d0:67:e5:a3:6b:01</n1:SwitchConnectionID>
<n1:SwitchPortConnectionID>1/0/19</n1:SwitchPortConnectionID>
</n1:DCIM_SwitchConnectionView>
</wsman:Items>
</wsen:EnumerateResponse>
26.3 Refresh the connection view instance
DCIM_SwitchConnectionView instance are auto refreshed by 5 min if the user want to refresh it
immediately ServerPortConnectionRefresh() available in DCIM_SwitchConnectionService .
EXAMPLE:
wsman invoke -a ServerPortConnectionRefresh
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_SwitchConnec
tionService?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM
_SwitchConnectionService,SystemName=DCIM:ComputerSystem,Name=DCIM:SwitchConnec
tionService"
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
OUTPUT:
<n1:ServerPortConnectionRefresh_OUTPUT>
<n1:Message>The refresh operation of switch connection and switch port
connection information of all network ports is completed
successfully.</n1:Message>
<n1:MessageID>RAC089</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ServerPortConnectionRefresh_OUTPUT>