White Papers

15 End to End Automation with REST API in Dell EMC OpenManage Enterprise 3.0
The payload used to assign an Identity Pool to a template is also used to specify network-specific settings to
use when deploying the template to devices. This network information consists of VLAN Network settings and
bandwidth settings for partitioned NIC ports.
The following URI and payload are used to create a system configuration template:
HTTP Method: POST
URI: https://<ip-addr>/api/TemplateService/Actions/
TemplateService.UpdateNetworkConfig
Example payload:
The following example assigns the Identity Pool with ID 1 to the template with ID 11:
The preceding payload merely specifies the ID of the Identity Pool for the Template to use. The following
example also shows minimum and maximum bandwidth being set for a NIC port specified in the Template:
To remove an existing association between a template and an Identity Pool, specify the applicable template
ID, with IdentityPoolId specified as zero.
The reply to this request specifies the number of bandwidth attributes that were updated (whether or not any
were included in the request). If the request was successful, the result status is “200 OK”. The first version
above would return a status of “200 OK” and a reply value of 0; the second version would also have returned
a status of “200 OK”, but a reply value 2 (since two attributes were updated).
{
"TemplateId" : 11,
"IdentityPoolId" : 1
}
{
"TemplateId" : 11,
"IdentityPoolId" : 1,
"Attributes": [{
"DeviceId" : null,
"Attributes": [{
"Id" : 13143,
"Value" : 25,
"IsIgnored" : false
},{
"Id" : 13144,
"Value" : 75,
"IsIgnored" : false
}]
}],
"VlanAttributes": [{
"ComponentId" : 19,
"Untagged" : null,
"Tagged" : null
}]
}