HP OneView REST API Reference

ethernet-networks
ethernet-networks.html[10/17/2013 10:35:33 AM]
GET Gets an Ethernet network
Parameter Attributes Description
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
Network The Ethernet network object
Response Codes
REST API Response Codes
Examples
Get the Ethernet network with ID e2f0031b-52bd-4223-9ac1-d91cb519d548:
GET https://{appl}/rest/ethernet-networks/e2f0031b-52bd-4223-9ac1-
d91cb519d548
DELETE Deletes an Ethernet network. Any deployed connections which are using the network will be
placed into a 'Failed' state.
Parameter Attributes Description
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
TaskResourceV2 An object that can be used to track the delete
network operation to completion
Response Codes
REST API Response Codes
Examples
Delete the Ethernet network with ID e2f0031b-52bd-4223-9ac1-
d91cb519d548:
DELETE https://{appl}/rest/ethernet-networks/e2f0031b-52bd-4223-
9ac1-d91cb519d548
PUT Updates an Ethernet network.
Parameter Attributes Description
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
Network Required The Ethernet network to be updated