Execute Generic DFM Command operation
The Execute Generic DFM Command operation executes any generic DFM command.
The following figure describes the elements for this request.
Adapter request elements for the Execute Generic DFM Command operation
A sample adapter request for this operation is given in the following figure.
Sample adapter request for Execute Generic DFM Command operation
<netapp-storage-request>
<operation-name>run-dfm-api</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<dfm-operation-name>dfm-schedule-content-get</dfm-operation-name>
<dfm-arguments>
<schedule-category>dp_schedule</schedule-category>
<schedule-name-or-id>Daily at midnight with hourly</schedule-name-or-id>
</dfm-arguments>
</arguments>
</netapp-storage-request>
<operation-name>run-dfm-api</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<dfm-operation-name>dfm-schedule-content-get</dfm-operation-name>
<dfm-arguments>
<schedule-category>dp_schedule</schedule-category>
<schedule-name-or-id>Daily at midnight with hourly</schedule-name-or-id>
</dfm-arguments>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for Execute Generic DFM Command operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>Server137</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<schedule-content-info>
<schedule-id>44</schedule-id>
<schedule-name>Daily at midnight with hourly</schedule-name>
<schedule-description>Perform a daily backup every day
at midnight with hourly backups on the hour</schedule-description>
<schedule-category>dp_schedule</schedule-category>
<is-modifiable>true</is-modifiable>
<schedule-type>daily</schedule-type>
<write-verbose>true</write-verbose>
<hourly-list>
<hourly-info>
<item-id>4</item-id>
<start-hour>0</start-hour>
<start-minute>0</start-minute>
<end-hour>23</end-hour>
<end-minute>0</end-minute>
<frequency>60</frequency>
</hourly-info>
</hourly-list>
<daily-list>
<daily-info>
<item-id>4</item-id>
<start-hour>0</start-hour>
<start-minute>0</start-minute>
</daily-info>
</daily-list>
</schedule-content-info>
</output>
</response>
</responses>
</netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>Server137</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<schedule-content-info>
<schedule-id>44</schedule-id>
<schedule-name>Daily at midnight with hourly</schedule-name>
<schedule-description>Perform a daily backup every day
at midnight with hourly backups on the hour</schedule-description>
<schedule-category>dp_schedule</schedule-category>
<is-modifiable>true</is-modifiable>
<schedule-type>daily</schedule-type>
<write-verbose>true</write-verbose>
<hourly-list>
<hourly-info>
<item-id>4</item-id>
<start-hour>0</start-hour>
<start-minute>0</start-minute>
<end-hour>23</end-hour>
<end-minute>0</end-minute>
<frequency>60</frequency>
</hourly-info>
</hourly-list>
<daily-list>
<daily-info>
<item-id>4</item-id>
<start-hour>0</start-hour>
<start-minute>0</start-minute>
</daily-info>
</daily-list>
</schedule-content-info>
</output>
</response>
</responses>
</netapp-storage-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*