White Papers

OpenManage Essentials-Specific Resource Model
53 REST API GuideOpenManage Essentials
2.17.2 Group creation and add Discovery Range(s)
The following resource URI can be used to create a group and add discovery rang(s) to this group in
OpenManage Essentials:
<BASE_URI>/DiscoveryRanges
Operations supported: POST
A sample XML that would comprise the payload when initiating a POST operation to create a group and add
discovery range(s) is as follows:
<RESTAddDiscoveryRange>
<DiscoveryRanges>
<GroupName>groupname</GroupName>
<Ranges>
<DiscoveryRange>
<Address>IPRange</Address>
<Name>rangename</Name>
<NetMask>netmask</NetMask>
</DiscoveryRange>
<DiscoveryRange>
<Address>IPRange</Address>
<Name>rangename</Name>
<NetMask>netmask</NetMask>
</DiscoveryRange>
<DiscoveryRange>
<HostName>hostname</HostName>
<NetMask>netmask</NetMask>
</DiscoveryRange>
</Ranges>
</DiscoveryRanges>
<DiscoveryConfiguration>
<ICMPConfig>
<Timeout>timeout</Timeout>
<Retries>retries</Retries>
</ICMPConfig>
<WSManDiscoveryConfig>
<WSManUserName>iDRACUserName</WSManUserName>
<WSManPassword>iDRACPassword</WSManPassword>
<Timeout>timeout</Timeout>
<Retries>retries</Retries>
<Port>portnumber</Port>
<SecureModeEnabled>true/false</SecureModeEnabled>
<SkipNameCheck>true/false</SkipNameCheck>
<TrustedSiteEnabled>true/false</TrustedSiteEnabled>
<CertificateFile>certificatepath</CertificateFile>
</WSManDiscoveryConfig>
</DiscoveryConfiguration>
<DiscoveryAction>discoveryaction</DiscoveryAction>
</RESTAddDiscoveryRange>
Note:
This feature is supported for servers only with WSMan protocol.
If group name is not provided by the user, then discovery range(s) will be added directly under the root node (All
Ranges).
Comma separated Host names are not allowed.