HP OneView REST API Reference

logical-interconnects
logical-interconnects.html[10/17/2013 10:35:29 AM]
PUT Updates the SNMP configuration of a logical interconnect. Changes to the SNMP configuration are asynchronously applied to all managed interconnects.
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
SnmpConfiguration Required The desired state SNMP configuration
Response Description
TaskResourceV2 An object that can be used to track the progress of the SNMP configuration update operation to
completion
Response Codes
REST API Response Codes
Examples
Update the SNMP configuration on the logical interconnect
that matches ID d0432852-28a7-4060-ba49-57ca973ef6c2:
PUT https://{appl}/rest/logical-interconnects/d0432852-28a7-4060-ba49-57ca973ef6c2/snmp-configuration
GET Gets the SNMP configuration for a logical interconnect.
Parameter Attributes Description
view Optional Return a specific subset of the attributes of the resource or collection by specifying the name of a predefined view. The default view is expand
(show all attributes of the resource, and all elements of collections or resources).
fields Optional
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the current release, this must be set to "X-API-Version:3"
Response Description
SnmpConfiguration The SNMP configuration for the logical interconnect with the given ID
Response Codes
REST API Response Codes
Examples
Get the SNMP configuration on the logical interconnect that
matches ID d0432852-28a7-4060-ba49-57ca973ef6c2:
GET https://{appl}/rest/logical-interconnects/d0432852-28a7-4060-ba49-57ca973ef6c2/snmp-configuration
URI: /rest/logical-interconnects/{id}/support-dumps
Method API
POST Generates a logical interconnect support dump. This is a synchronous call. If successful, it returns the dump file information along with completion status of the operation
(Completed or Warning), and a short summary of the operation result.