HMC

 View Only
  • 1.  HMC REST API

    Posted Sat June 20, 2020 02:55 AM

    Dear HMC REST API developers or users,

    Can you share information/documentation giving an example how to change (add, delete) vlan on SEA via REST API ?

    Thanks



    ------------------------------
    Samir Attmani
    ------------------------------


  • 2.  RE: HMC REST API

    Posted Sat June 20, 2020 03:05 AM

    Hi Samir,

      SEA is represented as NetworkBridge in the Rest API and combination of vlan + vswitch is represented as VirtualNetwork. If the vlan already exists in the system, you should be able to add to the SEA by doing a POST operation on NetworkBridge by adding a VirtualNetwork. If the vlan doesn't exist, you can add VirtualNetwork 1st using PUT on VirtualNetwork and then use POST on NetworkBridge to add the vlan to the SEA. Let us know if you need more information. 

    Please see documentation references at 

    https://www.ibm.com/support/knowledgecenter/9223-42H/p9ehl/concepts/ApiOverview.htm

    https://www.ibm.com/support/knowledgecenter/9223-42H/p9ehl/concepts/VirtualNetworkManagement.htm
    https://www.ibm.com/support/knowledgecenter/9223-42H/p9ehl/apis/NetworkBridge.htm
    https://www.ibm.com/support/knowledgecenter/9223-42H/p9ehl/apis/VirtualNetwork.htm

    Thanks.



    ------------------------------
    HARIGANESH MURALIDHARAN
    ------------------------------