HP OneView REST API Reference

logical-interconnect-groups
logical-interconnect-groups.html[10/17/2013 10:35:26 AM]
Response Codes
REST API Response Codes
Examples
Update an existing logical interconnect group by adding an uplink set "EnetUplink1" with an Ethernet network
on port X5 of the interconnects in bays 1 and 2:
PUT https://{appl}/rest/logical-interconnect-groups/dce3fc90-873e-48f7-8340-cc927d625b16
Request body:
{
"category" : null,
"created" : null,
"description" : null,
"eTag" : null,
"uplinkSets" : [ { "logicalPortConfigInfos" : [ { "desiredSpeed" : "Auto",
"logicalLocation" : { "locationEntries" : [ { "relativeValue" : 1,
"type" : "Bay"
},
{ "relativeValue" : 21,
"type" : "Port"
},
{ "relativeValue" : 1,
"type" : "Enclosure"
}
] }
},
{ "desiredSpeed" : "Auto",
"logicalLocation" : { "locationEntries" : [ { "relativeValue" : 2,
"type" : "Bay"
},
{ "relativeValue" : 21,
"type" : "Port"
},
{ "relativeValue" : 1,
"type" : "Enclosure"
}
] }
}
],
"name" : "EnetUplink1",
"mode" : "Auto",
"networkType" : "Ethernet",
"networkUris" : [ "/rest/ethernet-networks/5c3aefcb-0dd5-4fcc-b652-c9e734797fbd" ],
"primaryPort" : null
} ],
"modified" : null,
"name" : "LST4",
"state" : "Active",
"status" : null,
"interconnectMapTemplate" : { "interconnectMapEntryTemplates" : [ { "logicalDownlinkUri" : null,
"logicalLocation" : { "locationEntries" : [ { "relativeValue" : "1",
"type" : "Bay"
},
{ "relativeValue" : 1,
"type" : "Enclosure"
}
] },
"permittedInterconnectTypeUri" : "/rest/interconnect-types/46d7ffad-4424-4e36-acf3-b379c3116206"
},
{ "logicalDownlinkUri" : null,
"logicalLocation" : { "locationEntries" : [ { "relativeValue" : "2",
"type" : "Bay"
},