Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit ab5281d

Browse files
author
soodpr
committed
Reverting back to old values
1 parent 1fc1549 commit ab5281d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/logical_enclosures.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
enclosureUris=[],
4646
enclosureGroupUri="",
4747
forceInstallFirmware=False,
48-
name="LogicalEnclosure2",
49-
initialScopeUris=["/rest/scopes/cd237b60-09e2-45c4-829e-082e318a6d2a", "/rest/scopes/e9dde1f2-69d5-461b-871d-1790aebbc519"]
48+
name="LogicalEnclosure2"
5049
)
5150

5251
# Get enclosure group for creating logical enclosure
@@ -98,8 +97,8 @@
9897
# Get logical enclosure by id
9998
try:
10099
logical_enclosure_by_id = oneview_client.logical_enclosures.get(
101-
"5a136d8e-d44a-42f9-bf28-5c93a93f8663")
102-
print("Got logical enclosure '{}' by id: '5a136d8e-d44a-42f9-bf28-5c93a93f8663'\n uri: '{}'".format(
100+
"acb17b89-6724-4602-818a-1ee20ed4ec60")
101+
print("Got logical enclosure '{}' by id: 'acb17b89-6724-4602-818a-1ee20ed4ec60'\n uri: '{}'".format(
103102
logical_enclosure_by_id['name'], logical_enclosure_by_id['uri']))
104103
except HPOneViewException as e:
105104
print(e.msg)
@@ -185,7 +184,7 @@
185184
operation="replace",
186185
path="/firmware",
187186
value={
188-
"firmwareBaselineUri": "/rest/firmware-drivers/spp-2017_04_0-SPP2017040_2017_0420_14",
187+
"firmwareBaselineUri": "/rest/firmware-drivers/SPPgen9snap6_2016_0405_87",
189188
"firmwareUpdateOn": "EnclosureOnly",
190189
"forceInstallFirmware": "true",
191190
"validateIfLIFirmwareUpdateIsNonDisruptive": "true",

0 commit comments

Comments
 (0)