HP OneView REST API Reference

ethernet-networks
ethernet-networks.html[10/17/2013 10:35:33 AM]
Response Description
TaskResourceV2 An object that can be used to track the update
Ethernet network operation to completion
Response Codes
REST API Response Codes
Examples
Update an Ethernet network with the name "vlan10b":
Before doing an update, please do a GET of the network to obtain the
required eTag
value and use it in the request body.
PUT https://{appl}/rest/ethernet-networks/e2f0031b-52bd-4223-9ac1-
d91cb519d548
Request Body:
{
"eTag":"2adf9126-8bac-4080-b9b3-e618756e6eed",
"vlanId":"10",
"purpose":"General",
"name":"vlan10b",
"smartLink":false,
"privateNetwork":false,
"connectionTemplateUri":"/rest/connection-templates/cb6984e2-d4f8-4bad-
aaf5-926aaba139f8",
"type":"ethernet-network"
}
Network
description: An Ethernet network is an L2/L3 network supporting 802.1Q/VLAN encapsulation
type: object
Properties
status: description: Overall health status of the resource. The following are the valid values
for the status of the resource:Unknown - should be avoided, but there
may be rare occasions where status is Unknown; OK - indicates
normal/informational behavior; Disabled - indicates that a resource is not
operational; Warning - needs attention soon; Critical - needs immediate
attention.
type: string
internalVlanId: description: Internal VLAN ID
type: integer
required: true
minimum: 2
maximum: 1001
description: description: Brief description of the resource