Reference Guide

24 RESTful Server Configuration with iDRAC RESTful API
Note: viewconfigresults not yet available via the RESTful API.
The following example shows a preview involving an SCP file that contains an error. The preview script that
generates an error will be run and then we will use RACADM to obtain details on the error:
python ./redfish_SCP_import_preview.py 100.65.99.196 root calvin
jwr_rf_exp.v3_02.xml
- PASS, JID_968022511916 successfully created for
ImportSystemConfigurationPreview method
- PASS, Query job ID command passed
- Job not marked completed, current status is: Running
- Message: Previewing Server Configuration Profile.
- PASS, Query job ID command passed
- Job not marked completed, current status is: Running
- Message: Previewing Server Configuration Profile.
- PASS, Query job ID command passed
- Job not marked completed, current status is: Running
- Message: Previewing Server Configuration Profile.
- PASS, Query job ID command passed
- Job ID = JID_968022511916
- Name = Preview Configuration
- JobStatus = Completed
JID_968022511916 completed in: 0:00:07
- Preview Details: [{u'Message': u'Estimated time for applying configuration
changes is 0 seconds.', u'MessageID': u'SYS088', u'MessageArgs': [],
u'MessageArgs@odata.count': 0}, {u'Message': u'Not one of the Possible Values
for Attribute', u'Severity': u'Critical', u'Oem': {u'Dell': {u'@odata.type':
u'#DellManager.v1_0_0.ServerConfigurationProfileResults', u'Name':
u'LCAttributes.1#CollectSystemInventoryOnRestart', u'ErrCode': u'9240',
u'OldValue': u'Enabled', u'DisplayValue': u'Collect System Inventory on
Restart', u'NewValue': u'this_is_an_invalid_value'}}, u'MessageID': u'RAC015'},
{u'Message': u'Preview of Server Configuration Profile import operation
indicated that no configuration changes will be successful.', u'MessageId':
u'SYS080', u'MessageArgs': [], u'MessageArgs@odata.count': 0}]