UNSOLVED

VMAdmins

updated

6 years ago

V

VMAdmins

8 Posts

0

818

December 28th, 2020 12:00

OMIVV API Usage Help for a Non-Dev

As SysAdmin, I'm very good at writing powershell scripts but my usefulness begins to slide at APIs. I have a general understanding of them but not how to begin using them. 

I've read the .pdf top to bottom but I cannot make any headway. ANY help would be very much appreciated!

  • DELL-Joey C

    Moderator

    4170 Posts

    20965 Points

    718

    0

    Posted December 28th, 2020 20:00

    Hello,

     

    I'm not familiar with OMIVV APIs and scripts, but I would like to try help out. What are you trying to achieve in your scripts? Let us know your thoughts, and I probably try to find out from some of the offline folks on OMIVV. Oh and what PDF are you referring on? 

    DELL-Joey C

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did. 

  • DELL-Charles R

    Moderator

    4730 Posts

    25476 Points

    702

    1

    Posted December 29th, 2020 05:00

    Hello VMAdmins,

     

    Thank you for the update and the link.  We'll see if Joey has any suggestion.

     

    I am not too familiar with scripting myself but I know you would be updating firmware through the DRAC. 

     

    These links may be helpful to you for that:

     

    Redfish API with Dell integrated Remote Access Controller.

    https://www.dell.com/support/article/en-us/sln310624/redfish-api-with-dell-integrated-remote-access-controller?lang=en

     

    iDRAC9 Redfish API Guide

    https://topics-cdn.dell.com/pdf/idrac9-lifecycle-controller-v4x-series_api-guide_en-us.pdf

     

    DELL-Charles R

    Social Media and Communities Professional
    Dell Technologies | Enterprise Support Services
    #IWork4Dell

    Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!

  • VMAdmins

    8 Posts

    703

    0

    Posted December 29th, 2020 05:00

    Thank you for your response and willingness to help! My goal is to automate the firmware update process for my VMware hosts. I prefer a Powershell based process but I'm willing to learn other methods.

    This is the PDF I was referring to: https://topics-cdn.dell.com/pdf/openmanage-integration-vmware-vcenter-v52_api-guide_en-us.pdf

  • Dell-Vineeth

    1 Rookie

    44 Posts

    19 Points

    684

    1

    Posted December 30th, 2020 04:00

    Hi,

         Below are two references to begin with writing scripts using OMIVV API.

     

    1. Dell API Market place. https://api-marketplace.dell.com/#/overview-doc/2628/6248

    This has details about sequence of APIs to be used to automate firmware update process, code example, request & response body details.

        2. Sample codes at GitHub. https://github.com/dell/omivv

    Few python sample codes to achieve certain task using OMIV APIs are posted at GitHub.

     

    APIs are introduced with OMIVV 5.2 and so make sure OMIVV version is 5.2.

    Since these are RESTAPIs, you can use PowerShell to consume it.

    Please let us know if you are looking for any more details.

     

    #Work4Dell

    Thank You,

    Vineeth