Host Management
The following are the Reports REST APIs:
Status
The following table details the API Response code, status and, the HTTPS methods.
|
|
|
200 |
OK |
GET |
202 |
Accepted |
POST PUT DELETE |
400 |
Bad Request |
GET POST PUT DELETE |
401 |
Unauthorized |
GET POST PUT DELETE |
403 |
Forbidden |
GET POST PUT DELETE |
404 |
Not Found |
GET POST PUT DELETE |
405 |
Method Not Allowed |
GET POST PUT DELETE |
500 |
Internal Server Error |
GET POST PUT DELETE |
Get Report View by Selection
Resource Name
/report/reportview
Description
Enables you to get a report view by individual selection
URL
https://dcnm-ip/fm/fmrest/report/reportview
Parameter
|
|
|
group |
S |
URI Parameter |
selection |
S |
URI Parameter |
reportFilter |
S |
URI Parameter |
sortDownStr |
S |
URI Parameter |
userName |
S |
URI Parameter |
isAdmin |
S |
URI Parameter |
Return Value
Format: JSON
Type: Object
Resource Name
/report/reportjobs
Description
Enables you to get a report of Jobs
URL
https://dcnm-ip/fm/fmrest/report/reportjobs
Parameter
|
|
|
sortDownStr |
S |
URI Parameter |
userName |
S |
URI Parameter |
isAdmin |
S |
URI Parameter |
Return Value
Format: JSON
Type: Long
|
|
|
SortedReportJobDO |
O |
Sorted Report for Jobs Object |
Resource Name
/rest/pmn/host/import
Description
Creates a new host instance.
URL
https://dcnm-ip/rest/pmn/host/import
Parameter
|
|
|
String payload of CSV File |
String |
CSV data |
Return Value
Format: JSON
Type: Long
|
|
|
hostid |
String |
Unique id for the created Host Instance |
Resource Name
/rest/pmn/host/
Description
Get the host instances created.
URL
https://dcnm-ip/rest/pmn/host/ -- get all Hosts
https://dcnm-ip/rest/pmn/host/{host_id} -- get Host with specific hostid
Parameter
|
|
|
none |
String |
All hosts created |
hostid |
String |
Request about a particular Host ID |
Return Value
Format: JSON
Type: Long
|
|
|
id |
String |
Unique id for the Host Instance |
name |
String |
Name of the Host Instance |
ipAddress |
String |
IP Address of the Host Instance |
macAddress |
String |
Mac Address of the Host Instance |
ethswitchId |
String |
Unique id of the device the host is connected to |
interfaceId |
String |
Unique id of the interface instance of the device the host is connected to. |
Resource Name
/rest/pmn/host/
Description
Deletes the host instances created.
URL
https://dcnm-ip/rest/pmn/host/<hostid>
Return Value
Format: JSON
Type: Long
Resource Name
/rest/pmn/host/
Description
Delete the host instances created.
URL
https://dcnm-ip/rest/pmn/host/<hostid>
Return Value
Format: JSON
Type: Long