Servers - General
1849688 Members
6757 Online
104044 Solutions
New Discussion

upgrade firmware of server profile WRT server profile template

 
naruto-kd
Occasional Visitor

upgrade firmware of server profile WRT server profile template

Hi,

I am working with oneview rest api to perform the blade firmware upgrades of server profile WRT server profile template which assigned to it. 

I am trying with below api, which actually gives the response code of 202 - Accepted. But there is no change reflecting on oneview GUI. What am I doing wrong? 

firmware_settings = {

            "firmware" : {
                "firmwareBaselineUri": "/rest/firmware-drivers/<id>",
                "manageFirmware": "true",
                "forceInstallFirmware": "false",
                "firmwareInstallType": "FirmwareAndOSDrivers",
                "firmwareActivationType": "NotScheduled",
                "reapplyState": "NotApplying",
                "installationPolicy": "LowerThanBaseline",
            },
            "eTag" : "--etag--"
        }
        url=https://<ip>/rest/server-profiles/<server-profile-id>
        response = requests.put(url, json=firmware_settings, headers=local_header, verify=False)
 
Please help out here.
1 REPLY 1
Kashyap02
HPE Pro

Re: upgrade firmware of server profile WRT server profile template

Hi, 
Share us the complete steps you are following using the REST Method you are using to perform the firmware update. 

I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo