Cisco Cisco Process Orchestrator 3.1 User Guide
13-141
Cisco Process Orchestrator 3.1 User Guide
Appendix 13 Using Adapters
UCS Director Adapter
Defining a Cisco UCS Director Server Target
Step 1
Use the Cisco UCS Director Server target to configure the connection information for the UCS Director
Directory server that processes and activities will be run against.
Directory server that processes and activities will be run against.
Step 1
Choose Definitions > Targets, right-click, and choose New > Cisco UCS Director Server.
Step 2
Enter the required General information.
Step 3
Enter the Cisco UCS Director server Connection information, including:
•
Access Cisco UCS Director via Secure Socket Layer (SSL)—Use this option to make your
environment secure.
environment secure.
Step 4
Verify the information on the panel and click Finish to close the wizard.
Generating the REST XML for a Task Invocation
Before You Begin
You must be logged in as “admin”.
Step 1
In the Cloupia UI, click on your username in the upper right corner.
Step 2
In the User Information panel, click the Advanced tab, then click Enable Developer Menu (for this
session).
session).
Step 3
There is no OK button, so just close the window. If you are already looking at Policies > Orchestration,
you will need to navigate away and then back to the page.
you will need to navigate away and then back to the page.
Step 4
Choose Policies > Orchestration > Rest API Browser. You should get a list of all available tasks for
this session.
this session.
Step 5
Browse to a task, then copy and paste the XML into the Process Orchestrator Execute Cisco UCS
Director Task activity.
Director Task activity.
•
In some cases, such as for GET calls, all you need is the relative URL and the Method (GET).
•
In other cases where there are a lot of inputs, build those inputs in the REST API Browser and then
click Generate XML to see what the contents of the POST should look like.
click Generate XML to see what the contents of the POST should look like.
Step 6
Replace items as needed with the Process Orchestrator reference control
Automating Cisco UCS Director Task and Workflow Activities
Calling a Cisco UCS Director tasks is different from calling a workflow. Calling a task is similar to using
a Process Orchestrator activity. There are several advantages:
a Process Orchestrator activity. There are several advantages:
•
Ease of installation and distribution—The customer can use Cisco automation pack files, which
contain Cisco Process Orchestrator workflows
contain Cisco Process Orchestrator workflows
•
Use upgrade, customization, licensing, and other capabilities of Cisco automation packs
•
Write workflows using Process Orchestrator logical conditions, and so on.