UCSD OVF deployment custom task - passing attributes to vCenter API

Version 2
    Task NameOVF deployment / passing attributes to vCenter
    Description
    Prerequisites
    1. Tested on 5.2.0.1
    CategoryWorkflow
    ComponentsvSphere 5.x
    User Inputs

    Instructions for Regular Workflow Use:

    1. Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
    2. Unzip the file on your computer. Should end up with a .WFD file.
    3. Log in to UCS Director as a user that has "system-admin" privileges.
    4. Navigate to "Policies-->Orchestration" and click on "Import".
    5. Click "Browse" and navigate to the location on your computer where the .WFD file resides. Choose the .WFD file and click "Open".
    6. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
    7. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
    8. Click "Submit".
    9. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information about the specific environment.

     

     

    Both Workflow Task1 and Workflow Task2 do the modification of VM property attribute.

     

    Workflow Task 1(Modify vDC VM Property Attribute.wfdx):

    By using this workflow we can modify the attribute of  existing VM.

    For this task we have to give the below Inputs

    1. 1.Select vDC
    2. 2.VM Name(Existing VM name)
    3. 3.Key
    4. 4.Value

    Workflow Task 2(VMWare OVF Deployment Clone.wfdx):

    By using this workflow we can  deploy the new OVF(creating the new  VM) and modify the property attribute of  created VM.

    For this task we have to give the below inputs

    1. 1.Select vDC
    2. 2.OVF URL
    3. 3.VM Name
    4. 4.user Name
    5. 5.Password
    6. 6.Key
    7. 7.Value

     

    Workflow Task3(Print VM Properties.wfdx):

    By using this workflow we can print all properties of VM.

    For this task we have to give the below input

    1. 1.VM Name

     

    Please find the below default keys(created by our UCSD while deploying the OVF) for the corresponding properties.

    Example :

    If you want to change the property of “mgmt-ipv4-addr” have to give the key as 2 and value as your input.

    Property Name

    Key

    login-username

    0

    login-password

    1

    mgmt-ipv4-addr

    2

    mgmt-ipv4-gateway

    3

    hostname

    4

    enable-ssh-server

    5

    enable-http-server

    6

    enable-https-server

    7

    privilege-password

    8

    domain-name

    9

     

     

     

    Screen Shot 2015-05-05 at 6.22.33 PM.png

     

    Screen Shot 2015-05-05 at 6.22.49 PM.png

     

    Screen Shot 2015-05-05 at 6.23.01 PM.png

     

    Screen Shot 2015-05-05 at 6.23.13 PM.png

     

     

    Screen Shot 2015-05-05 at 6.23.28 PM.png