You can create a new life-cycle event workflow for your network function or network service using the Workflow designer.

You can create a workflow when designing a network function or network service descriptor, or add workflows at a later stage. In this example, we look at designing a workflow when designing a network function descriptor.

Procedure

  1. Follow the steps for designing a network function descriptor. See Designing a Network Function Descriptor.
  2. In the Network Function Designer page, click the Workflows tab.
  3. Under Life Cycle Events, select an event for designing the workflow.
  4. To design a new workflow, click Create New.
  5. From the drop-down menu, you can select a workflow type for each step. The commonly used workflows are:
    • SSH Command - To run SSH commands on remote SSH servers.
    • vRO Workflow - To run custom workflows using vRealize Orchestrator.
    • Copy File - To copy a user-given or CSAR-bundled file to the remote host.
    • Netconf Command - To perform NETCONF operations.
    • Run Scripts Via VM Tools - To run custom scripts through VM Tools.
  6. Inbound variables: You can assign valid default values to inbound variables. You can also map the inbound variable to the variables in the Worflow Interface pane on the right.
    1. To assign a default value for an inbound variable, click the edit icon against the inbound variable.
    2. To add an inbound variable, click the + icon. To delete an inbound variable, click the - icon.
    3. You can add valid input values from the Worflow Interface pane on the right and map them to the inbound variables.
  7. Outbound variables: You can map an outbound variable to a valid output value from the Workflow Interface pane on the right.
  8. To insert a new step, click the + icon on the left of the step.
  9. To change the order of each step, click the step number and select a new step number from the drop-down menu.
  10. To save the workflow as draft, click Save on the top-right section of the page.
  11. To remove the workflow, click Clear.

What to do next

Onboard the package or save it as a draft.