Presentation is loading. Please wait.

Presentation is loading. Please wait.

Cisco UCS Director – Carmel (5.0)

Similar presentations


Presentation on theme: "Cisco UCS Director – Carmel (5.0)"— Presentation transcript:

1 Cisco UCS Director – Carmel (5.0)
Ravikumar Pisupati Senior Manager, Engineering Jun, 2014

2 Objectives Newly added API’s OA samples PowerShell Commandlets Agenda
6.Module Overview Objectives Newly added API’s OA samples PowerShell Commandlets Agenda API’s added to Carmel Samples added in OA Module

3 List Of Newly Added API’s
S.No API name 1 userAPIExportVDC 2 userAPIImportVDC 3 userAPIDeleteCatalogItem 4 customtaskImport 5 customworkflowImport 6 customworkflowExport 7 userAPICreateServiceContainerTemplate 8 userAPIUpdateServiceContainerTemplate 9 userAPICreateServiceContainerwithoutCatalog

4 userAPIExportVDC Input Request in JSON Format
API to export existing vDC’s. Input vDC Name Request in JSON Format /app/api/rest?formatType=json&opName=userAPIExportVDC&opData= {param0:"sample"}

5 userAPIImportVDC Input Request in JSON Format
API to import selected vDC Input String Request in JSON Format /app/api/rest?formatType=json&opName=userAPIImportVDC&opData={ param0:"sample"}

6 userAPIDeleteCatalogItem
API to delete a catalog item Input Catalog Item Name Request in JSON Format /app/api/rest?formatType=json&opName=userAPIDeleteCatalogItem&op Data={param0:"sample"}

7 customtaskImport Input
API to import selected custom task into the system Input This API has to be tested in rest API client Workflow task is to be encoded in UTF-8 format and given as input Link for encoding :

8 customworkflowImport
API to Import one or more workflows into the system Input This API has to be tested in rest API client Workflow task is to be encoded in UTF-8 format and given as input Link for encoding :

9 customworkflowExport
API to Export one or more workflows into the system Input This API has to be tested in rest API client Workflow task is to be encoded in UTF-8 format and given as input Link for encoding :

10 userAPICreateServiceContainerTemplate
API to create service container template with the given inputs Input Service container Template Request in JSON Format /app/api/rest?formatType=json&opName=fenced:userAPICreateService ContainerTemplate&opData={param0:{"templateId":1000,"templateType" :"sample","templateName":"sample","templateDescription":"sample","con tainerType":"sample","templateDefinitionData":"sample","templateConfig" :{"vInfraPolicy":"sample","networks“

11 userAPIUpdateServiceContainerTemplate
API to update existing service container with the details provided Input Service container Template Request in JSON Format /app/api/rest?formatType=json&opName=fenced:userAPIUpdateService ContainerTemplate&opData={param0:{"templateId":1000,"templateType" :"sample","templateName":"sample","templateDescription":"sample","con tainerType":"sample","templateDefinitionData":"sample","templateConfig" :{"vInfraPolicy":"sample","networks“}

12 userAPICreateServiceContainerwithoutCatalog
API to create service container without using a catalog Input Name of the container Group Id Application container Template name Request in JSON Format /app/api/rest?formatType=json&opName=fenced:userAPICreateService ContainerWithoutCatalog&opData={param0:"sample",param1:1000,para m2:"sample"}

13 Open Automation Samples Form Controller/Validation
Validates the form in OA sample.

14 Bar Chart Bar Chart used in OA sample

15 Pie Chart Pie Chart used in OA sample

16 Line Chart Line Chart used in OA sample

17 Heat Map Heat Map used in OA sample

18 Form Report Form Report used in OA sample

19 Summary Report Summary Report used in OA sample

20 Monitoring trigger Monitoring Trigger used in OA sample

21 Adding UI Menu UI Menu used in OA sample

22 PowerShell Commandlets
Microsoft PowerShell is one of the widely-used environments for Network and Datacenter management purposes. A Power-Shell interface to the UCSD APIs would help the existing administrators trained on PowerShell to handle Datacenter Management with ease. UCSD provides a REST interface to manage its internal behavior. The PowerShell cmdlets provide a wrapper to these REST APIs.

23 PowerShell Commandlets
Pre requisites .NET Framework 4.0 and above PowerShell version 3 and above

24 PowerShell Commandlets
API’s supported The command Get-Module shall be used to verify that the UCSD Module has been added to the PowerShell runtime, as shown above. .

25 PowerShell Commandlets
Setting up the environment [Environment]::SetEnvironmentVariable("UCSD_SERVER"," ","User") [Environment]::SetEnvironmentVariable("UCSD_RESTKEY","562 FDF763A384E78B9BAB7FE02CA13B6","User") To check the configured environment [Environment]::GetEnvironmentVariable("UCSD_RESTKEY","Use r") .

26 PowerShell Commandlets
Commandlets execution .

27


Download ppt "Cisco UCS Director – Carmel (5.0)"

Similar presentations


Ads by Google