Add a new VLAN (L2) and VM Port Profile to FlexPod (7-Mode/C-Mode) v1.0

Version 1

    Workflow Name:

     

    Add_new_VLAN_to_FlexPod


    Description: 


    This workflow provisions a new VLAN and VM Port Profile/Port Group on FlexPod (7-Mode or Clustered ONTAP) converged stack.


    Compatible/Validated UCS Director Versions:

     

    UCS Director 5.0

     

    Category:   

     

    Virtualization, Compute, and Network 

     

    Components:

     

    Cisco UCS Director

    FlexPod (7-Mode / C-Mode)

     

    Prerequisites:

     

    • The FlexPod (7-Mode / C-Mode) Infrastructure components (VMware vCenter, Cisco UCSM, Cisco Nexus 5K Switches, and Cisco Nexus 1000v) are configured as per FlexPod CVD and added into UCS Director.
    • UCS vNIC Templates & Service Profiles or Templates are pre-configured
    • vCenter & ESXi Cluster/Hosts is configured with N1Kv

     

    Workflow Tasks Included:

    1. Add VLAN (UCS)
    2. Create VLAN (Nexus 5K)
    3. Create VLAN (Nexus 5K)
    4. Create VLAN (Nexus 1Kv)
    5. Update Trunk (Nexus 5K)
    6. Update Trunk (Nexus 5K)
    7. Update Port Profile (Nexus 1Kv)
    8. Create Port Profile (Nexus 1Kv)

     

    User Inputs:


    The below user inputs should be provided by user after executing the workflow.

     

    User InputsUser Input Description
    VLAN_NAMEEnter VLAN Name
    VLAN_IDEnter VLAN ID
    VM_PORT_PROFILE_NAMEEnter VM Port Profile Name

     


    Admin Inputs:


    The Admin Input values are pre-defined in the workflow by the admin user. Edit the Workflow properties, go to user inputs section and modify the below inputs appropriately.

     

    User InputsUser Input Description
    NEXUS_5K_ASelect Nexus 5K Switch A
    NEXUS_5K_A_PORT_CHANNELSSelect Nexus 5K Switch-A Port Channels
    NEXUS_5K_BSelect Nexus 5K Switch B
    NEXUS_5K_B_PORT_CHANNELSSelect Nexus 5K Switch-B Port Channels
    NEXUS_1K_VSelect Nexus 1000v Switch
    NEXUS_1KV_UP_LINK_PORT_PROFILESelect Nexus 1000v Uplink Port Profile
    NEXUS_1KV_PORT_PROFILE_TYPESelect Nexus 1Kv Port Profile Type (Ex: Vethernet or Ethernet)

     

     

    Workflow Additional Configuration:


    After configuring the admin inputs, open the workflow using workflow designer and modify the below "TASKS" with appropriate user inputs. (Note: In upcoming versions, the below inputs should be able to configured as admin input values as well).

     

    • Add VLAN (Create a New VLAN on UCSM): Open the Task ---> Click 'Next' ---> Click 'Next' ---> Select 'UCSM Account' from drop down' ---> Click on 'Revalidate' button on top ---> Select 'Organization Name' ---> Select 'Service Profile Templates' or 'vNIC Templates' or both ---> Click 'Next' ---> Click 'Submit'

     

    Instructions for 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 .WFDX 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 .WFDX file resides. Choose the .WFDX file and click "Open".
    6. Click "Upload" and then "OK" once the file upload is completed, Select 'Add_new_VLAN_to_FlexPod' and Then click "Next".
    7. Click "Submit".
    8. A new folder called 'FlexPod' should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information that is specific to the environment. (See Above)