PowerVM

Power Virtualization

Learn about the virtualization technologies designed specifically for IBM Power including #PowerVM, #PowerVC, #VM Recovery Manager#HCM/CMC, and more.


#Power
#TechXchange Conference Lab


#Servers
 View Only
  • 1.  Rest API do operation

    Posted 11/07/18 02:08 PM

    Originally posted by: tpeponas


    Hello,

     

    I try to create LPAR using pypowervm python  library. Creation of the LPAR object is OK,

    To create VFC Mapping pypowervm seems to use operation "GetNextWWPNs" for managedystem but in my case it fail :

    pypowervm.exceptions.HttpError: HTTP error 500 for method GET on path /rest/api/uom/ManagedSystem/a1b17e97-035b-340f-bbbd-92ed1870c7d0/do/GetNextWWPNs

     

    I check "operation" on managedsystem and i not see  GetNextWWPNs,

    my hmc version : HMCV9

     

    How generate WWPN using API REST ?

     

    Regards

    Thomas.

     

     


    #Power-Hardware-Management-Console-Programmers
    #HMCandCMC


  • 2.  Re: Rest API do operation

    Posted 11/15/18 11:47 PM

    Originally posted by: Sridevi Joshi


    The API, GET of GetNextWWPNs  is not available from HMC REST API. While creating VFC Mapping, HMC internally queries for WWPN and assign the same.


    #Power-Hardware-Management-Console-Programmers
    #HMCandCMC