HP OneView REST API Reference

server-profiles
server-profiles.html[10/17/2013 10:35:14 AM]
"wwnType":"Virtual",
"connections":[
{
"id":1,
"functionType":"Ethernet",
"portId":"FlexibleLOM:1-a",
"requestedMbps":2500,
"networkUri":
"/rest/ethernet-networks/{networkUUID}",
"boot":{
"priority":"Primary"
}
},
{
"id":2,
"functionType":"Ethernet",
"portId":"Auto",
"requestedMbps":2500,
"networkUri":
"/rest/network-sets/{networkSetUUID}",
"boot":{
"priority":"Secondary"
}
},
{
"id":3,
"functionType":"FibreChannel",
"portId":"Auto",
"requestedMbps":2500,
"networkUri":
"/rest/fc-networks/03f039e8-5e64-4dcf-99e7-c662505c0eda",
"boot":{
"priority":"Primary"
}
}
]
}
Note: Details for some of the information in the request
body is listed
here:
"macType" can be set to virtual which has a value of
of "Virtual" or "Physical"
"connections" must be configured to match the networking
capabilities of the targeted server. This includes
selection of networks and network sets that are available
to that system. This information can be obtained from the
listNetworks API that is also provided by this resource
controller.
Connections are automatically assigned using this payload,
and users can define the portId parameter to assign the
connection
to a specific FlexNic. The user may specify the portId
as "Auto" and the a virtual port will be automatically
assigned.The user may also only specify
a given port(For eg: FlexibleLOM:1) and allow automatic
assignment
to a virtual port. Connection requests can be a
combination
of one or more of these types.
The next example illustrates the advanced profile with
BIOS settings, Firmware Settings along with connections
and boot order
POST https://{appl}/rest/server-profiles
But would have an enhanced request body as shown here: