cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2298
Views
0
Helpful
0
Comments
Orf Gelbrich
Cisco Employee
Cisco Employee

The UCS-Director SDK is posted on www.cisco.com

Screen Shot 2015-03-06 at 6.35.03 AM.png

Down load the software (You may need to have some one publish it for you):

Screen Shot 2015-03-06 at 6.35.41 AM.png

The resulting file:

Screen Shot 2015-03-06 at 6.30.55 AM.png

Unzip the file:

Screen Shot 2015-03-06 at 6.31.17 AM.png

Double click the index.html file:

Screen Shot 2015-03-06 at 6.31.29 AM.png

Enable the REST API browser within UCSD - Click on the admin button (upper right hand corner):

Screen Shot 2015-03-06 at 6.39.24 AM.png

Turn on the developer menu:

Screen Shot 2015-03-06 at 6.39.34 AM.png

In Policies -> Orchestration there will be a new REST API Browser TAB:

Screen Shot 2015-03-06 at 6.39.43 AM.png

There are ~2800 API calls, Search for a Service Request:

Screen Shot 2015-03-06 at 6.40.08 AM.png

Double click on one of them and generate XML:

Screen Shot 2015-03-06 at 6.40.30 AM.png

A document with lots of Cloupia Script samples is here:

https://communities.cisco.com/docs/DOC-56868

Run Java Script on the fly

Policies -> Orchestration -> Custom Workflow Tasks -> Launch Interpreter

Get Detailed VDC information

===========================================================

importPackage(com.cloupia.model.cIM);

importPackage(com.cloupia.service.cIM.inframgr);

var vdc = VDCUtil.getVDC(142);

var vvm = InfraPersistenceUtil.getVMWareVMSummary(1536);

var cat = VDCUtil.getVDCCatalogItem(87);

printObj(vdc);

printObj(vvm);

printObj(cat);

Screen+Shot+2015-02-12+at+6.02.33+AM.png

Screen+Shot+2015-02-12+at+6.02.46+AM.png

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links