Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 6.0STV First Published: Last Updated:

Size: px
Start display at page:

Download "Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 6.0STV First Published: Last Updated:"

Transcription

1 Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 6.0STV3.1.1 First Published: Last Updated: Cisco Systems, Inc. 1

2 Overview Contents Overview... 5 About the Cisco VACS REST API... 5 Access Privileges... 5 Supported Protocols and Formats... 5 Recommended Tools... 6 Poodle Vulnerability... 6 Getting Started... 7 About the API Access Key... 7 Generating an API Access Key... 7 Enabling the Developer Menu Options... 7 Using the REST API Browser... 8 Prerequisites... 8 Accessing the Report Metadata... 8 Prerequisites... 9 Request Format... 9 Response Format REST Tools REST API Browser Usage Example: Retrieving the VM Summary Usage Example: Creating a Group Usage Example: Sample Java Code REST API SDK Bundle About the REST API Operations userapigetcontainerdetails userapigettemplate userapivacscreatecontainerrest userapivacsdeletecontainer userapigettemplatenameandtype userapivacsoptionsmenu userapigetoptionsmenu userapigetstaticnat

3 Overview userapigetstaticnatpervm userapivacssetnat userapigeterspan userapivacsseterspan userapigeterspanwithvm userapivacsaddvm userapivacsdeletevm userapivacspoweroncontainer userapivacspoweroffcontainer userapigetvacsresourcehistory userapigetcontainervmips userapivacsaddvm(with password sharing options) userapigetfirewallpolicy userapivacsmanagefirewallpolicyaclrule (Add Firewall Policy) userapivacsmanagefirewallpolicy (Update Firewall Policy) userapivacsmanagefirewallpolicyaclrule (Delete Firewall Policy) userapigetservicevmpasswords ServiceVMPassword userapigetzones userapigetzoneswithvm userapivacsmanagezones userapivacsmanagezones (Add Zones) userapivacsmanagezones (Delete Zones) userapigetreservationinfo userapigetmanagevmnetwork userapivacsmanagenetwork userapivacsmanagenetwork (Add VM Network) userapivacsmanagenetwork (Delete VM Network) VACSManagenetworkGarbageCollection userapigetvacsversion userapigetcontainerreport Script Operations userapiexecutevixscript

4 Overview Understanding Workflows Workflow Designer Predefined Tasks Predefined Workflows Cisco VACS Workflows Creating a Workflow Adding Tasks to a Workflow Linking Tasks Accessing the Task Documentation Sample Custom Tasks or Workflows Adding a Custom Task to an Existing Workflow Creating a New Custom Workflow Code Snippets How to get the list of catalog items for a given group? How to order a Cisco VACS container based on the catalog items? How to view a container details? How to get the status of a service request? How to execute VM life-cycle operations on a workload VM? How to get the status of workload VMs? How to get the StaticNAT information for a container? How to add a workload VM to a container? How to delete a workload VM in a container? Obtaining Documentation and Submitting a Service Request Related Documentation

5 Overview Overview This section includes the following topics: About the Cisco VACS REST API Access Privileges Supported Protocols and Formats Recommended Tools POODLE Vulnerability About the Cisco VACS REST API The Cisco VACS REST API enables you to perform operations on the Cisco UCS Director resources and to integrate these operations into applications so that they can provide API-supported functionality and features. You can use applications developed using this REST (Representational State Transfer) API to do the following: Get Cisco UCS Director reports about physical and virtual devices, networks, appliances, groups and users, policies, administration, resource accounting, funds, and other monitored entities within your Cisco UCS Director. Invoke orchestrator workflow and task operations. Invoke additional operations specific to Cisco UCS Director. Attention: For all Cisco UCS Director API Operations such as managing groups, catalogs, virtual machines, and the corresponding operations see the Cisco UCS Director REST API Cookbook. Access Privileges With appropriate access privileges, you can use the APIs to get any report made available through Cisco UCS Director. Access to the API interface is limited to registered user accounts. Secure access is administered through the use of the REST API Access Key, which is a unique key code assigned to each user account. A user account is administratively associated with a user type, so this access key determines the user account's level of access to information exposed through the API. Different user types have access to different categories of data. A Cisco UCS Director administrator defines the access rules associated with each user type. For more information on the end-user and administrator user types and the data accessible to each type of user, see the or contact your system administrator. Work with your system administrator to get the necessary user access privileges for your project. Supported Protocols and Formats Cisco VACS REST APIs are compatible with any HTTP or HTTPS browser. The REST APIs use code formatted in JSON and XML. A Java API is also available. JSON Unless otherwise noted, the Cisco UCS Director API documentation refers to REST API request arguments and responses (payload data) that are encoded in JSON (JavaScript Object Notation) format. For more information, see or Note Live and valid Cisco VACS REST API requests and responses in JSON format are provided within Cisco UCS Director. These provide excellent examples of JSON protocols and formatting. To see this API data, you must first enable the developer menus and then use the Report Metadata option available on any report in Cisco UCS Director. For more information, see Enabling the Developer Menu Options. 5

6 Overview XML For information about using XML-formatted REST API requests, see Using the REST API Browser. This provides information about using the REST API browser, which is embedded in Cisco UCS Director. Java For information about using the Java API, see the Cisco UCS Director REST API Javadocs and the Cisco UCS Director Open Automation API Javadocs. Recommended Tools The Cisco VACS API uses HTTP or HTTPS as communication protocols. Any compatible browser or client with user account access can be used to submit requests to the Cisco VACS API. Most programming languages have built-in or open source libraries that provide REST API access and parsing of JSON and XML. For exploring and testing the APIs, we recommend the following software tools and options: Developer Menu Options Cisco UCS Director includes Developer Menu options that include crucial features and tools for developers, such as Report Metadata and access to the Rest API Browser. To enable these options, see Accessing the Report Metadata. Mozilla Firefox RESTClient Add-On RESTClient is a Mozilla FireFox add-on that provides useful options for parsing and viewing API requests and responses. See but check for more recent releases. Note If you are currently logged into Cisco UCS Director with user account credentials that your application will use, you should be able to use any supported web browser to send API requests and get responses. However, the Mozilla Firefox RESTClient add-on provides a standalone client that also parses and labels the API data in a useful and informative way. Cisco UCS Director REST API Browser The REST API Browser is available in the Orchestration area of Cisco UCS Director. It provides API information and API code generation capabilities that make it easy to see and work with all of the available APIs, including both the REST APIs and the Java API. After you enable the developer menu, you can access this feature and get extensive information about Cisco UCS Director exposed APIs, including the REST API in XML format and the Java API. For more information, see Using the REST API Browser. Poodle Vulnerability To avoid POODLE vulnerability, SSL Version 2 and SSL Version 3 are disabled on Cisco UCS Director north-bound HTTP interface by configuring Apache Tomcat to allow only TLS. Hence, any north-bound applications accessing Cisco UCS Director through REST API will be connected through TLS. Also, the browsers will be connected to Cisco UCS Director through TLS. For more information, refer 6

7 Getting Started Getting Started This section includes the following topics: About the API Access Key Generating and API Access Key Enabling the Developer Menu Options Using the REST API Browser Request Format Response Format About the API Access Key To access Cisco UCS Director through the API interface, you must have a valid Cisco UCS Director user account and an API access key. The API access key is required for Cisco UCS Director to authenticate API requests. This access key is a unique security access key code that is associated with a specific valid Cisco UCS Director user account. To authenticate API requests, all Cisco UCS Director APIs require the API access key for authentication. You must pass the REST API access key as a name:value header following standard HTTP syntax and semantic rules. For example, a valid name:value header is X-Cloupia-Request-Key: F90ZZF ZZ90Z12ZZ3456FZ789. For more information about the API request header, see Request Format and RFC2616 Header Field Definitions. To provide data security, send all requests over an HTTPs (SSL) connection. Generating an API Access Key To generate the API access key, perform the following steps: Step 1: In Cisco UCS Director, click your login name in the upper right. For example, if you log in as admin, Cisco UCS Director displays admin in the upper right. Step 2 In the User Information dialog box, click the Advanced tab. Step 3 To copy the value displayed in the REST API Access Key area, click Copy Key Value. Step 4 Save the access key in a secure location, and use it in the API request header. For more information about the API request header, see Request Format. Step 5: If you want to change the API access key, click Regenerate Key. After you generate a new key, the old key code is retired and you cannot use it. Enabling the Developer Menu Options Cisco UCS Director includes features and capabilities that are intended expressly for developers and engineers. After you enable the Developer Menu option, you have access to the integrated REST API Browser and Report Metadata information. These features provide you with site-specific API data and with REST API request code that you can send through any standard HTTP or HTTPS browser. The HTTP request code provided by the Report Metadata views yields immediate API service results. Plan to use these options in every situation where you need API information. Obtain one or more user accounts that provide exactly the same administrative access to data that your application users will have. Your Cisco UCS Director administrator can explain the data access limitations associated with different administrator and end-user roles. You may want multiple user accounts to test the user-experiences associated with different data access and security controls. The Cisco UCS Director REST API Browser provides API information and API code generation capabilities that make it easy to see and work with all of the available APIs, including both the REST APIs and the Java APIs. To enable end menu options, perform the following steps: Step 1: In Cisco UCS Director, click your login name in the upper right. For example, if you log in as admin, Cisco UCS Director displays admin in the upper right. Step 2 In the User Information dialog box, click the Advanced tab. Step 3 Check the Enable Developer Menu (for this session) check box and close the User Information dialog box. 7

8 Getting Started The REST API Browser is activated for the duration of the current session, and the Report Metadata option becomes available in the report views opened in the session. Note The Advanced tab also displays the REST API Access Key code for the account. Step 4 Close the User Information dialog box. Using the REST API Browser The Cisco UCS Director REST API Browser provides API information and API code generation capabilities that assist and educate developers in the use of all available exposed Cisco UCS Director APIs, including the XML-formatted REST API and the Java API. The primary view lists the Task folders, each of which provides access to the APIs. The task name effectively supplies the top-level context or category folder under which the APIs are listed. For example, all the APIs pertaining to NetApp ONTAP tasks and NetApp OnCommand tasks are available inside the folders with these names. Prerequisites 1. Obtain one or more user accounts that provide exactly the same administrative access to data that your application users will have. Your Cisco UCS Director administrator can explain the data access limitations associated with different administrator and end-user roles. You may want multiple user accounts to test the user-experiences associated with different data access and security controls. 2. Enable the developer menu option for the session. To use the REST API browser, perform the following steps: Step 1: On the menu bar, choose Policies > Orchestration. Step 2 Click the REST API Browser tab. Click the right scroll arrow, if necessary, to navigate to the REST API Browser tab. Step 3 Open the task folder that contains the APIs you want to view. Notes: 1. You can use the Search field at the top right corner of the Rest API Browser tab to find a specific API if you do not know which task folder it belongs in. Enter a string that occurs in the API Resource, Operation or fields to narrow your search. You can also use the other options on that menu bar, such as the Add Advanced Filter, to help you find a specific API. 2. All Cisco VACS REST APIs are available in the Service Container Tasks group. Step 4 Double-click a row that contains an API resource and operation that interests you. The REST API browser displays the following: API Examples tab Displays the API data for your selection and enables you to generate a sample URL. Depending on the operation and resource that you selected, this tab might also include data entry boxes that accept parameter values and enable you to construct a successful API request. If available in a data entry box, click Select to open data search filters that can help you sort out and select the data that you need to enter. Details tab Provides additional details about the API, including the API definition, input parameters, and output parameters. Sample Java Code tab Provides sample code for the API. Accessing the Report Metadata Report Metadata enables you to view the API code used by Cisco UCS Director, including the API request code for every report displayed in Cisco UCS Director. This code includes complete URL code that is ready to paste into a browser and send. The immediate API responses provide a trove of information and education for the developer. To see the API request code, you simply navigate to a report, select Report Metadata, and scroll down through the resulting list to the API request used to fetch the report. 8

9 Getting Started Prerequisites Obtain one or more user accounts that provide exactly the same administrative access to data that your application users will have. Your Cisco UCS Director administrator can explain the data access limitations associated with different administrator and end-user roles. You may want multiple user accounts in order to test the user-experiences associated with different data access and security controls. Enable the Developer Menu options for the session. To access the report metadata, perform the following steps: Step 1: In Cisco UCS Director, navigate to the page for which you want to see the API code. For example, choose one of the following: Policies > Orchestrations Physcial > Storage > Storage_Account >Filers Step 2: Check Report Metadata. Step 3: In the Information dialog box, review the sample code. Request Format API clients can use HTTP or HTTPS to interact with Cisco UCS Director. To pass the REST API access key, each request must be associated with an http/https header called X-Cloupia-Request-Key with its value set to the current REST API Access Key. For information about getting and using this key, see Generating an API Access Key. URL Format where SERVER is the IP address or the hostname of the Cisco UCS Director VM, and where opname is the API operation name associated with the request. For example: userapigetmyloginprofile, or userapigetvmactionstatus, and where opdata includes the JSON parameters (the arguments associated with the operation). Request URL Parameters formattype The only supported format that is discussed here is JavaScript Object Notation (JSON). Set this parameter value to json. opname The operation name associated with the request. A list of operations is provided in About the REST API Operations. opdata Parameters (or arguments) associated with the operation. Cisco UCS Director uses JSON encoding of the parameters. If no arguments are required for the operation, use {} as an empty set. Before you send JSON data in a request, you must apply escape characters as appropriate. For details about encoding the URL, see the RFC at For more information about JSON syntax and data types, see For information about non-json formatted API requests, see Using the REST API Browser. About Operations Data Parameters/Arguments Because the method and a generic designation of the API resource are communicated through the opname, the operation parameters must present any arguments that are needed to designate a specific instance of the resource to be operated upon. For a list of available API operations and parameter specifications, see About the REST API Operations. Operations Data Parameter Syntax The following table shows examples of operations data parameter syntax in JSON format. If the operation needs the following parameters (opdata) How to represent in JSON No parameters {} One parameter; integer (for example, 10) {param0:10} One parameter: string (for example, cloud) {param0:"cloud"} Two parameters: a string and an Integer {param0:"cloud",param1:10} Two parameters: a string with null value and an Integer {param0:null,param1:10} Three parameters {param0:"cloud",param1:"cloupia",param2:100} 9

10 Getting Started Operation Data Parameters &opdata={param0:"datacenter",param1:"datacenter1",param2:"storage-accounts-t51" &opdata= {param0:"create NFS Datastore",param1:{"list":[{"name":"Volume Size","value":100},{"name":"Select Group","value":"14"},{"name":"Select vdc","value":18}]},param2:212} param0 Name of the workflow being invoked through the REST API. param1 Input being passed to the workflow. If there are more than one input, separate the inputs by comma and within the curly braces with proper quotations. If there are no inputs, use null for the API invocation. param2 If this workflow is being invoked as a child workflow of another service request, use the service request (SR) ID. If this workflow is not invoked as a child workflow, use -1. When -1 is used, a new service request will be invoked. Note: Cisco UCS Director provides many complete API requests, formatted as URLs and ready for you to cut and paste into a browser. See Enabling the Developer Menu Options. Context Parameters In the example above, Param0 is used to specify the Cisco UCS Director context. The context data value refers to one of the major domains managed by Cisco UCS Director, for example, "global-services", "vm", "vdc", "datacenter", "storage_accounts", "Computechassis", "network-device". A list of the standard Cisco UCS Director contexts appears in API Request Context Parameters. Report Parameters The report parameter value is always the reportid. Typical reportids include "STORAGE-ACCOUNTS-T51", "CPU-S0", "VOLUMES- -X1", "NETWORK-USAGE-H0", "PORT-SUMMARY-V50", "PRIVATE-CLOUD-FREE-STORAGE-S1". The reportid is typically the last parameter listed in an API request for a report. So, if the context is specified by two parameters, the report parameter is often the third, param2. For an extensive list of report names, and reportids, categorized by context, see List of Available Cisco UCS Director Reports. Sample API Request 1 The operation that requests a Login profile refers to the logged in user, so there is no need for a parameter. Most other operations need multiple arguments. { "serviceresult":{"userid":"jsmith","firstname":"john","lastname":"smith"," ":"jsmith@example.com", "groupname":"eng Group","role":"Regular"}, "serviceerror":null, "servicename":"inframgr", "opname":"userapigetmyloginprofile" } Sample API Request 2 In this request for a report about chassis for a data center, the operation requires three parameters, which is typical for a report request. param1:"datacenter",param2:"ucs-chassis-t50"} { "serviceresult": {"rows":[{"id":"phy-acc;sys/chassis-2", "Account_Name":"PHY-ACC","DN":"sys/chassis-2", "Serial_Number":"1558","Model":"N20-C6508","Power_State":"ok", "Operation_State":"accessibility-problem", "Configuration_State":"ok","License_State":"license-ok","Servers":5, "IO_Modules":2,"PSUs":4,"Fan_Modules":8, "Vendor":"Cisco Systems Inc"},{"ID":"UCSCirrus;sys/chassis-1", "Account_Name":"UCSCirrus","DN":"sys/chassis-1", "Serial_Number":"FOX1352GDX4","Model":"N20-C6508", "Power_State":"redundancy-failed","Operation_State":"power-problem", 10

11 Getting Started "Configuration_State":"ok","License_State":"license-ok","Servers":7, "IO_Modules":2,"PSUs":4,"Fan_Modules":8, "Vendor":"Cisco Systems Inc"},{"ID":"UCSM237;sys/chassis-1", "Account_Name":"UCSM237","DN":"sys/chassis-1", "Serial_Number":"1557","Model":"N20-C6508","Power_State":"ok", "Operation_State":"operable", "Configuration_State":"unsupported-connectivity","License_State":"license-ok", "Servers":6,"IO_Modules":2, "PSUs":4,"Fan_Modules":8,"Vendor":"Cisco Systems Inc"}, {"ID":"real108;sys/chassis-1","Account_Name":"real108", "DN":"sys/chassis-1","Serial_Number":"FOX1352GDX4","Model":"N20-C6508", "Power_State":"redundancy-failed", "Operation_State":"power-problem","Configuration_State":"ok", "License_State":"license-ok","Servers":7, "IO_Modules":2,"PSUs":4,"Fan_Modules":8,"Vendor":"Cisco Systems Inc"}], "columnmetadata":null}, "serviceerror":null, "servicename":"inframgr", "opname":"userapigettabularreport" }} Note: For advanced Cisco UCS Director API users, the code in the Report Metadata request for the data center's UCS-CHASSIS- T50 report gave the first parameter as param0:"23". In the request used in Sample API Request 2, the context "datacenter" was substituted for the value "23" and the request was successful. By comparing the API documentation against the Report Metadata and Cisco UCS Director, you can sometimes discover alpha string value substitutes for the numeral string values (representing contexts) that appear in the Report Metadata requests. Response Format The following HTTP status codes are returned by Cisco UCS Director: 401 Unauthorized The API key is not a valid key. 200 OK Cisco UCS Director has processed the request. The actual status of the request is in the body of the response. The Cisco UCS Director response body is in JSON format as determined by the FormatType parameter specified in the API request. Components of an API Response API Response Component Component Example (Success Scenario) serviceresult serviceerror servicename opname If the request succeeds, this result contains a specified set of name-value pairs or a JSON object or a report. If the request succeeds, the serviceerror is set to null. If the operation fails, the serviceerror contains the actual error message. Name of the back end service. Often set to InfraMgr, for example. Name of the operation provided in the request. "serviceresult": {"userid":"jsmith", "firstname":"john","lastname":"smith", " ":"jsmith@example.com", groupname":"eng Group","role":"Regular"} "serviceerror":null "servicename":"inframgr" "opname":"userapigetmyloginprofile" Example: API Response in a Success Scenario { "serviceresult":{"userid":"jsmith","firstname":"john","lastname":"smith", " ":"jsmith@example. com","groupname":"eng Group","role":"Regular"}, "serviceerror":null, "servicename":"inframgr", 11

12 REST Tools "opname":"userapigetmyloginprofile" } Example: API Response in a Failure Scenario { "serviceresponse":null, "serviceerror":"service_call_exception: Service InfraMgr does not support operation test", "servicename":"inframgr", "opname":"test" } API Response (Service Result) Data Types The service result (payload) sent in a response to a Cisco VACS REST API request is specified for the operation. The service result can be an operation-specific set of name-value pairs, or it can be formatted as a standard data type for this API, that is, as a report or a JSON object. To see examples of the different report types, see Reports and JSON Object Response Samples. For information about the most commonly used Cisco UCS Director report formats and their contents, see About Reports. For a list of available reports and the contexts with which they are associated, see List of Available Cisco UCS Director Reports. For samples of JSON Objects, see JSON Object Parameter Types. REST Tools By default, Cisco VACS is enabled to respond to the REST API requests from the appropriate REST clients. Cisco VACS provides the following entities to aid in the REST API developments: REST API Browser REST API SDK Bundle REST API Browser The REST API browser available with Cisco UCS Director aids the Developers and QA Engineers to validate the REST APIs added to the framework. An administrator or group administration user can launch the REST API Browser. To launch the REST API Browser, choose Policies > Orchestration > REST API Browser. 12

13 REST Tools The REST API browser groups the APIs based on the tasks needed to manage the respective infrastructure components of the datacenter. To view an API, expand a task folder and double-click the report for the respective API. The browser provides the following tabs for the selected API: 1) API Examples Displays the inputs for user-selection. A Developer can provide his inputs for the respective API as required and generate a sample URL. 2) Details Defines the syntax and the semantics for the API. 3) Sample Java Code A Java code snippet that demonstrates the use of the API. Usage Example: Retrieving the VM Summary 1. From the Cisco UCS Director menu bar, choose Policies > Orchestration > REST API Browser. 2. Select and double-click the userapigetvmsummary API. The following tabs are displayed: a. API Examples b. Details c. Sample Java Code 3. Click the Details tab, to view the definition of the userapigetvmsummary API. The userapigetvmsummary API takes the vmid as its input. 13

14 REST Tools 4. In the API Examples tab, click Generate URL to get the URL for the REST operation. The vmid must be passed as the param0, as shown in the following dialog box. 5. From the UCSD Server drop-down list, choose Cisco UCS Director on which the API is targeted at and click Execute REST API for a response. Usage Example: Creating a Group 1. From the Cisco UCS Director menu bar, choose Policies > Orchestration > REST API Browser. 2. Select and double-click the userapigetvmsummary API. The following tabs are displayed: a. API Examples b. Details c. Sample Java Code 3. Click the Details tab, to view the definition of the userapigetvmsummary API. The userapigetvmsummary API takes the vmid as its input. 4. In the API Examples tab, click Generate URL to get the URL for the REST operation. The vmid must be passed as the param0, as shown in the following dialog box. 5. From the UCSD Server drop-down list, choose Cisco UCS Director on which the API is targeted at and click Execute REST API for a response. Upon clicking Execute REST API, the following screen appears. 14

15 REST Tools 6. Fill in the fields and click Generate XML to generate the sample XML file for group creation. 7. From the UCSD Server drop-down list, choose Cisco UCS Director on which the API is targeted at and click Execute REST API for a response. Usage Example: Sample Java Code 1. From the Cisco UCS Director menu bar, choose Policies > Orchestration > REST API Browser. 2. Select and double-click the userapigetvmsummary API. The following tabs are displayed: a. API Examples 15

16 REST Tools b. Details c. Sample Java Code The Sample Java Code tab provides the code snippet that can be used to automate the management services through code. The code snippet can be used to execute the respective API. To execute the code in the Eclipse and obtain the output, you must import the SDK bundle as a Java Project into the Eclipse IDE. To import the SDK bundle, perform the following steps: 1. In the Eclipse IDE, choose File > New > Java Project. The Create a Java Project dialog box appears. 2. In the Project Name field, enter a name for the project. 3. Right click the project, and select Import. 4. In the Import dialog box, select Existing projects into Workspace, and then click Next. 5. Click Browse and navigate to the folder where you extracted the SDK Bundle. 16

17 REST Tools 6. Click Finish. The Eclipse IDE displays the SDK Bundle project on the Project Explorer tab. REST API SDK Bundle For more information on the REST API SDK bundle, see the Cisco UCS Director REST API Developer Guide. 17

18 About the REST API Operations About the REST API Operations The catalog of Cisco VACS REST API operations provided in this section can help you determine which operations serve your needs, and how to work with each operation. You can find examples of the request and response values for an API operation through the Report Metadata and REST API Browser. Note: The operations performed using the GET and PUT method are used primarily for services and provisioning. The opdata of the API request URL, includes the following JSON parameters (the arguments associated with the operation): o param0 Name of the workflow being invoked through the REST API. o param1 Input being passed to the workflow. If there are more than one input, separate the inputs by comma and within the curly braces with proper quotations. If there are no inputs, use null for the API invocation. o param2 If this workflow is being invoked as a child workflow of another service request, use the service request (SR) ID. If this workflow is not invoked as a child workflow, use -1. When -1 is used, a new service request will be invoked. userapigetcontainerdetails Method This API fetches the Cisco VACS container details such as, VM name, ID, IP and MAC addresses, and so on. GET Resource URL UCSD IP Address >/app/api/rest?formattype=json&opname=vacs:userapigetcontainerdetails&opdata={param0:<container-id>} Sample URL address>/app/api/rest?formattype=json&opname=vacs:userapigetcontainerdetails&opdata={param0:36} Parameters Integer Container ID Accessible Administrator Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: { "serviceresult": "[{"vmid":152,"instanceid":"cust2-primary-csr","accountname":"adi- VC","hostName":"CUST2-primary- 71","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","imageId":"CUST2-primary- 18

19 csr","lastupdated": ,"isarchived":false,"groupid":1,"servicerequestid":71,"userlabel":"", "comments":"","provisionedtime": ,"scheduledterminationtime":-1,"catalogid":- 1,"vdcId":36,"appCategoryId":0,"groupName":"Default Group","vdcName":"CUST2","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02b64ef-f200-56c5-cd6ed26a24eb5530","committedDiskGB":3.98,"uncommittedDiskGB":6.6,"cpuReservationMhz":0,"memReservationMB" :0,"numCPUs":1,"memoryMB":2560,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:73:76,00:50:56:ab:59:6 0,00:50:56:ab:36:3c","vmwareDatacenterName":"Aditya-DC","hostUniqueId":"5ac69ba df-ad0a- 68efbdf6214a","guestOS":"Other 2.6.x Linux (64-bit)"},{"vmId":153,"instanceId":"CUST2_WebZone_web- 1","accountName":"Adi-VC","hostName":"CUST2WebZoneweb- 1","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","im ageid":"cust2_webzone_web- 1","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":71,"userLabel":"CUST 2_WebZone_web-1","comments":"CUST2_WebZone_web- 1","provisionedTime": ,"scheduledTerminationTime":-1,"catalogId":- 1,"vdcId":36,"appCategoryId":0,"groupName":"Default Group","vdcName":"CUST2","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02b ea-3004-e828-4bc42e79a6f7","committedDiskGB":0.45,"uncommittedDiskGB":0.54,"cpuReservationMhz":0,"memReservationMB ":0,"numCPUs":1,"memoryMB":256,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:56:5d","vmwareDatacent ername":"aditya-dc","hostuniqueid":"5ac69ba df-ad0a-68efbdf6214a","guestos":"red Hat Enterprise Linux 4 (32-bit)"},{"vmId":154,"instanceId":"CUST2-primary-vsg","accountName":"Adi- VC","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","imageId":"CUST2-primaryvsg","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":71,"userLabel":"", "comments":"","provisionedtime": ,"scheduledterminationtime":-1,"catalogid":- 1,"vdcId":36,"appCategoryId":0,"groupName":"Default Group","vdcName":"CUST2","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02bac85-e408-9e83-11c8- ece2dfc37e84","committeddiskgb":0.41,"uncommitteddiskgb":2.67,"cpureservationmhz":1000,"memreservatio nmb":2048,"numcpus":1,"memorymb":2048,"hostcpuhz": ,"vmmacaddr":"00:50:56:ab:6f:2b,00:50:56: ab:2e:56,00:50:56:ab:53:b4","vmwaredatacentername":"aditya-dc","hostuniqueid":"5ac69ba dfad0a-68efbdf6214a","guestos":"other 2.6.x Linux (64- bit)"},{"vmid":155,"instanceid":"cust2_webzone_addedvm-1","accountname":"adi- VC","hostName":"CUST2WebZoneAddedVM- 1","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","im ageid":"cust2_webzone_addedvm- 1","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":72,"userLabel":"CUST 2_WebZone_AddedVM-1","comments":"CUST2_WebZone_AddedVM- 1","provisionedTime": ,"scheduledTerminationTime":-1,"catalogId":- 1,"vdcId":36,"appCategoryId":0,"groupName":"Default Group","vdcName":"CUST2","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02bfeac f4-a439-6c0449c1659f","committedDiskGB":2.01,"uncommittedDiskGB":0.07,"cpuReservationMhz":0,"memReservationMB ":0,"numCPUs":1,"memoryMB":1024,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:6b:a7","vmwareDatacen tername":"aditya-dc","hostuniqueid":"5ac69ba df-ad0a-68efbdf6214a","guestos":"red Hat Enterprise Linux 4 (32-bit)"},{"vmId":156,"instanceId":"CUST2_AppZone_ADDAPP-1","accountName":"Adi- VC","hostName":"CUST2AppZoneADDAPP- 1","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","im ageid":"cust2_appzone_addapp- 1","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":73,"userLabel":"CUST 2_AppZone_ADDAPP-1","comments":"CUST2_AppZone_ADDAPP- 1","provisionedTime": ,"scheduledTerminationTime":-1,"catalogId":- 1,"vdcId":36,"appCategoryId":0,"groupName":"Default Group","vdcName":"CUST2","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02b3c14-f151-8cc7-4f95-4e95f8c9828b","committedDiskGB":2.01,"uncommittedDiskGB":0.07,"cpuReservationMhz":0,"memReservationMB ":0,"numCPUs":1,"memoryMB":1024,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:34:f2","vmwareDatacen tername":"aditya-dc","hostuniqueid":"5ac69ba df-ad0a-68efbdf6214a","guestos":"red Hat Enterprise Linux 4 (32-bit)"}]", "serviceerror": null, "servicename": "InfraMgr", "opname": "vacs:userapigetcontainerdetails" } 19

20 userapigettemplate This API provides the details of the Cisco VACS template. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetTemplate&opData={param0:<Template- Name>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetTemplate&opData={param0: <Template name> } Accessible Administrator Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: { "serviceresult":"{\"networkresourcepool\":{\"managementippool\":1,\"csruplinkippool\":2,\"csriptype\" :\"Private\",\"csrL3RoutingProtocol\":\"EIGRP\",\"autonomousNumber\":\"\",\"mtu\":\"1500\",\"onlineHe lp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/templatenetworkresource.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},\"pnsczones\":{\"list\":[],\"motypena me\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\"},\"pnscacls\":{\"list\":[],\"motypename\":\" com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\"},\"stgpnsczones\":{\"list\":[{\"zonename\":\"webzo ne\",\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"web\"}],\"moTypeName\":\"com.cloupia.feature.st ingray.firewallpolicy.model.stgvnmczoneruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplatesecurityzone.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"zonename\":\"appzone\",\"vnmczoner ules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"app\"}],\"moTypeName\":\"com.cloupia.feature.st ingray.firewallpolicy.model.stgvnmczoneruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplatesecurityzone.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"zonename\":\"dbzone\",\"vnmczoneru les\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"db\"}],\"moTypeName\":\"com.cloupia.feature.sti ngray.firewallpolicy.model.stgvnmczoneruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplatesecurityzone.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\"},\"stgpnscacls\":{\"list\":[{\"name\":\"allowwebto AppRule\",\"firewallAction\":\"permit\",\"matchCriteria\":\"matchall\",\"protocolServiceOption\":\"Protocol\",\"protocol\":true,\"services\":{\"list\":[],\"moTypeName \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[{\"attributetyp e\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"AppZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u

21 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"dropwebtodbrule\",\"firew allaction\":\"drop\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"services\":{\"list\":[],\"motypename \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[{\"attributetyp e\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"DBZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"allowapptodbrule\",\"fire wallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"services\":{\"list\":[],\"motypename \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"AppZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[{\"attributetyp e\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"DBZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"dropdbtowebrule\",\"firew allaction\":\"drop\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"services\":{\"list\":[],\"motypename \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"DBZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[{\"attributetyp e\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"dropapptowebrule\",\"fire wallaction\":\"drop\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"services\":{\"list\":[],\"motypename \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"AppZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[{\"attributetyp e\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"permitanytowebrule\",\"fi rewallaction\":\"permit\",\"matchcriteria\":\"matchany\",\"protocolserviceoption\":\"service\",\"protocol\":true,\"services\":{\"list\":[{\"protocaloper ator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":80,\"onlinehelp\":\" \\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"protocaloperator\":\"eq\",\"protoc alvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":8080,\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u

22 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"protocaloperator\":\"eq\",\"protoc alvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":443,\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"protocaloperator\":\"eq\",\"protoc alvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":8443,\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\":{\"list\":[],\"motypenam e\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{ \"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},{\"name\":\"permitwebtoanyrule\",\"fi rewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"services\":{\"list\":[],\"motypename \":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\"},\"srcrules\": {\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"attributeValue\":\"WebZone\",\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/firewallpolicyaclrule.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"destrules\":{\"list\":[],\"motypename\ ":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\"},\"onlinehelp\":\" \\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateacl.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\"},\"vmnetworks\":{\"list\":[{\"networkname\":\"lan 0\",\"networkType\":1,\"vlanPool\":1,\"vxlanPool\":- 1,\"portGroup\":\"\",\"ipSubnetPool\":1,\"staticIPPool\":-1,\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplatevmnetworks.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"vms\":{\"list\":[{\"zone\":\"webzone\",\"appname\":\"web\",\"app\":\"\",\"imageid\":\"v M-template- 1NIC\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\"diskSize\" :0,\"passwordResetType\":1,\"templateRootLogin\":\"root\",\"templateRootPassword\":\"\",\"isUseImageN etwork\":false,\"networks\":{\"list\":[{\"appname\":\"vnic0\",\"networkname\":\"lan0\",\"adaptertype\ ":\"e1000\",\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template. ui.stgstingrayvirtualmachinenetworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfigli stvalidator\"},\"maxquantity\":1,\"initialquantity\":2,\"isstorageefficiencyenabled\":false,\"onlineh elp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/templatevirtualmachine.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachine ConfigListValidator\"},\"slbConfig\":{\"tierHAScale\":\"WebZone\",\"networkHAScale\":\"\",\"protocolH AScale\":\"TCP\",\"persistenceHAScale\":\"None\",\"frontTCPPortHAScale\":80,\"backTCPPortHAScale\":80,\"frontTCPHttpsHAScale\":443,\"backTCPHttpsHAScale\":443,\"onlineHelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customtemplateloadbalance.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},\"deploymentoptions\":{\"deploymentop tion\":\"large\",\"vcenter\":\"vc-chao-9\",\"n1kdvswitch\":\"vsm-24\",\"virtualcomputepolicy\":\"vcchao-9 - Default Computing Policy\",\"virtualStoragePolicy\":\"VC-chao-9 - Default Storage Policy\",\"virtualSystemPolicy\":\"sys1\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":true,\" ha\":\"no\",\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/tiertemplatedeployment.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"},\"vpnconfig\":{},\"algconfig\":{\"htt p\":true,\"https\":true,\"ftp\":true,\"dns\":true,\"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ld ap\":false,\"onlinehelp\":\"\\u003ca href\\u003d\\u0027/app/onlinehelp/customapplayergateway.html\\u0027 target\\u003d\\u0027_blank\\u0027\\u003ehelp\\u003c/a\\u003e\"}}", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigettemplate } userapivacscreatecontainerrest 22

23 This API creates container using parameterized template payload. The template created during the container creation process is not saved to the Cisco VACS UI and gets deleted once container creation is successful. The template is created with the name <ContainerName> _VACS_REST. You must modify the following mandatory parameters in the payload: 1. networkresourcepool List: managementippool csruplinkippool csriptype csrl3routingprotocol [If protocol is EIGRP, Modify EIGRP details in autonomousnumber and mtu parameters] 2. vmnetworks List: networktype [If network type is VLAN modify vlanpool parameter and If type is VXLAN, modify vxlanpool] vlanpool vxlanpool ipsubnetpool staticippool 3. vms List: imageid 4. deploymentoptions deploymentoption vcenter n1kdvswitch virtualcomputepolicy virtualstoragepolicy virtualsystempolicy deploycsr deployvsg deployslb Method PUT Resource URL IP Address>/cloupia/api-v2/VACSCreateContainerRest Sample URL Address>/cloupia/api-v2/VACSCreateContainerRest Accessible Administrator/end user Sample XML Payload 1. Custom Template in a HA mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <containername>rest1</containername> <groupname>default Group</groupName> <actionid></actionid> <jsonpayload> {"svctemplatename":"custom template in HA Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null 23

24 ,\"managementippool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csruplinkippool\":\"uplink\",\"csriptype\":\"p rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"web\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model. StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallp olicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[],\"motypen ame\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null},\"onlinehelpaclrules\": null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlanpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"port Group\":\"\",\"ipSubnetPool\":\"Subnet1\",\"staticIPPool\":\"\",\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray. template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"onlinehelpvmnetworks\":null,\ "vms\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachineconfig\",\"validatorname\ ":\"StgStingrayVirtualMachineConfigListValidator\"},\"onlineHelpNewVM\":null,\"slbConfig\":{\"tierHAScale\":null,\"networkHASca le\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcpporthascale\":80,\"backtcpporthasc ale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcphttpshascale\":443,\"onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlinetemplatehelp\":null,\"onlinecontainerhelp\":null},\"de ploymentoptions\":{\"deploymentoption\":\"small\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":false,\"deploySLB\":f alse,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey \":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true, \"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 2. Custom Template in a non-ha mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest2</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"custom template in Non-HA Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"appzone\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.m odel.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.fire wallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policy Name\":null,\"policyDesc\":null,\"name\":\"acl1\",\"descr\":\"\",\"firewallAction\":\"permit\",\"matchCriteria\":\"matchall\",\"protocolServiceOption\":\"Protocol\",\"protocol\":true,\"protocalOperator\":\"\",\"protocalValue\":\"\",\"services\":{\"list\":[],\"m otypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"sr crules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validato rname\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrule Config\",\"validatorName\":null}}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCAclPolicies\",\"v alidatorname\":null},\"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vl anpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"m otypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworkli stvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{\"list\":[{\"templatename\":null,\"zone\":\"appzone\",\"appname\":\"appvm\", \"app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" 24

25 disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig \":{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcp PortHAScale\":80,\"backTCPPortHAScale\":80,\"label_https\":null,\"frontTCPHttpsHAScale\":443,\"backTCPHttpsHAScale\":443,\"onlineHelp\":null,\"Label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlineTemplateHelp \":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":f alse,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey \":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true, \"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 3. Blank Template <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest3</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"empty Template Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":nul l,\"csrl3routingprotocol\":null,\"autonomousnumber\":null,\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\":[],\"motype Name\":\"com.cloupia.lib.cIaaS.vnmc.model.VNMCZoneConfig\",\"validatorName\":null},\"pnscAcls\":{\"list\":[],\"moTypeName\":\ "com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonename\":\"appzo ne\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnm CZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.mo del.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[],\"motypename\":\"c om.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null},\"onlinehelpaclrules\":null,\"vm Networks\":{\"list\":[{\"networkName\":\"lan0\",\"networkType\":\"VLAN\",\"vlanPool\":\"vlanpolicy\",\"vxlanPool\":\"\",\"portGroup\": \"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.templat e.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{ \"list\":[{\"templatename\":null,\"zone\":\"appzone\",\"appname\":\"appvm\",\"app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\": null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinene tworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"is StorageEfficiencyEnabled\":false,\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray.template.ui.StgStingrayVir tualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig\" :{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcpp orthascale\":80,\"backtcpporthascale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcphttpshascale\":443,\ "onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlinetemplatehelp\" :null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":false,\"deployVSG\":false,\"deploySLB\": false,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedke 25

26 y\":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":tru e,\"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 4. Internal Template with SLB in HA <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest4</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"internal Template with SLB in HA Rest","template":null,"containerType":"Stingray - 3 Tier (Internal)","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\ "managementippool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csruplinkippool\":\"uplink\",\"csriptype\":\"pri vate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\":[],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"moty pename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonenam e\":\"webzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"web\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"appzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"app\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"dbzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"db\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moType Name\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":nul l}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlineh elpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyname\":null,\"policydesc\":null,\"name\":\"allowwebtoapprule\",\"descr\" :null,\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropwebtodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"allowapptodbrule\",\"descr\":null,\"firewallaction\":\"permit\",\"ma tchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn 26

27 etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropdbtowebrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropAppToWebRule\",\"descr\":null,\"firewallAction\":\"drop\",\"m atchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitAnyToWebRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchany\",\"protocolserviceoption\":\"service\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[{\"p rotocaloperator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":80,\"errormessage\":null},{\"protocalop erator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":8080,\"errormessage\":null},{\"protocaloperator\": \"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":443,\"errormessage\":null},{\"protocaloperator\":\"eq\",\" protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":8443,\"errormessage\":null}],\"motypename\":\"com.cloupia.fea ture.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"srcrules\":{\"list\":[],\"motypena me\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorname\":null},\"destrules\":{\"li st\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitWebToAnyRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVnmcAclPolicyRule Config\",\"validatorName\":null}}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCAclPolicies\",\"v alidatorname\":null},\"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vl anpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"m otypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworkli stvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{\"list\":[{\"templatename\":null,\"zone\":\"webzone\",\"appname\":\"webvm\ ",\"app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig \":{\"tierhascale\":\"webzone\",\"networkhascale\":\"\",\"protocolhascale\":\"tcp\",\"persistencehascale\":\"none\",\"label_htt p\":null,\"fronttcpporthascale\":80,\"backtcpporthascale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcph ttpshascale\":443,\"onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"o nlinetemplatehelp\":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"aditya 27

28 -vc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":tr ue,\"ha\":\"yes\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey\ ":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true,\ "icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 5. Internal Template without SLB in HA <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest5</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"internal Template without SLB in HA Rest","template":null,"containerType":"Stingray - 3 Tier (Internal)","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\ "managementippool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csruplinkippool\":\"uplink\",\"csriptype\":\"pri vate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\":[],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"moty pename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonenam e\":\"webzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"web\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"appzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"app\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"dbzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"db\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moType Name\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":nul l}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlineh elpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyname\":null,\"policydesc\":null,\"name\":\"allowwebtoapprule\",\"descr\" :null,\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropwebtodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"allowapptodbrule\",\"descr\":null,\"firewallaction\":\"permit\",\"ma tchcriteria\":\"match- 28

29 all\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropdbtowebrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropAppToWebRule\",\"descr\":null,\"firewallAction\":\"drop\",\"m atchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitAnyToWebRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchany\",\"protocolserviceoption\":\"service\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[{\"p rotocaloperator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":80,\"errormessage\":null},{\"protocalop erator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":8080,\"errormessage\":null},{\"protocaloperator\": \"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":443,\"errormessage\":null},{\"protocaloperator\":\"eq\",\" protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":8443,\"errormessage\":null}],\"motypename\":\"com.cloupia.fea ture.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"srcrules\":{\"list\":[],\"motypena me\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorname\":null},\"destrules\":{\"li st\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitWebToAnyRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVnmcAclPolicyRule Config\",\"validatorName\":null}}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCAclPolicies\",\"v alidatorname\":null},\"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vl anpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"m otypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworkli stvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{\"list\":[{\"templatename\":null,\"zone\":\"webzone\",\"appname\":\"vm1\",\" app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig 29

30 \":{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcp PortHAScale\":80,\"backTCPPortHAScale\":80,\"label_https\":null,\"frontTCPHttpsHAScale\":443,\"backTCPHttpsHAScale\":443,\"onlineHelp\":null,\"Label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlineTemplateHelp \":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":f alse,\"ha\":\"yes\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedke y\":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":tru e,\"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 6. External Template with SLB in Non HA <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest6</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"external Template with SLB in Non HA Rest","template":null,"containerType":"Stingray - 3 Tier (External)","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"webzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"web\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"appzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"app\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"dbzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"db\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moType Name\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":nul l}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlineh elpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyname\":null,\"policydesc\":null,\"name\":\"allowwebtoapprule\",\"descr\" :null,\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropwebtodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator 30

31 Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"allowapptodbrule\",\"descr\":null,\"firewallaction\":\"permit\",\"ma tchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropdbtowebrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropAppToWebRule\",\"descr\":null,\"firewallAction\":\"drop\",\"m atchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropDBToAnyRule\",\"descr\":null,\"firewallAction\":\"drop\",\"mat chcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrulec onfig\",\"validatorname\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropapptoanyrule\",\"descr\":null,\"firewallacti on\":\"drop\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrulec onfig\",\"validatorname\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"permitanytowebrule\",\"descr\":null,\"firewalla ction\":\"permit\",\"matchcriteria\":\"matchany\",\"protocolserviceoption\":\"service\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[{\"p rotocaloperator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":80,\"errormessage\":null},{\"protocalop erator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":8080,\"errormessage\":null},{\"protocaloperator\": \"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":443,\"errormessage\":null},{\"protocaloperator\":\"eq\",\" protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":8443,\"errormessage\":null}],\"motypename\":\"com.cloupia.fea ture.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"srcrules\":{\"list\":[],\"motypena me\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorname\":null},\"destrules\":{\"li st\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator 31

32 Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitWebToAnyRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVnmcAclPolicyRule Config\",\"validatorName\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitAnyToAppRule\",\"descr\":null,\"firewall Action\":\"permit\",\"matchCriteria\":\"matchall\",\"protocolServiceOption\":\"Protocol\",\"protocol\":true,\"protocalOperator\":null,\"protocalValue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"valida torname\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropanytodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"valida torname\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null}, \"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlanpool\":\"vlanpolicy \",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"motypename\":\"com. cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"online HelpVMNetworks\":null,\"vms\":{\"list\":[{\"templateName\":null,\"zone\":\"WebZone\",\"appName\":\"vm1\",\"app\":\"\",\ "vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig \":{\"tierhascale\":\"webzone\",\"networkhascale\":\"\",\"protocolhascale\":\"tcp\",\"persistencehascale\":\"none\",\"label_htt p\":null,\"fronttcpporthascale\":80,\"backtcpporthascale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcph ttpshascale\":443,\"onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"o nlinetemplatehelp\":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"aditya -vc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":tr ue,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey\" :null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true,\" icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 7. External Template without SLB in a non-ha mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> 32

33 <containername>rest7</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"external Template without SLB in Non HA Rest","template":null,"containerType":"Stingray - 3 Tier (External)","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"webzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"web\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"appzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"app\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moTyp ename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":n ull},{\"zonename\":\"dbzone\",\"zonedesc\":null,\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"db\",\"prefixedIpAddressValue\":null,\"prefixedSubnetValue\":null}],\"moType Name\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":nul l}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlineh elpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyname\":null,\"policydesc\":null,\"name\":\"allowwebtoapprule\",\"descr\" :null,\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropwebtodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[{\"attributeType\":\"zone\",\"attributeName\":\"Zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"allowapptodbrule\",\"descr\":null,\"firewallaction\":\"permit\",\"ma tchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropdbtowebrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropAppToWebRule\",\"descr\":null,\"firewallAction\":\"drop\",\"m 33

34 atchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"dropDBToAnyRule\",\"descr\":null,\"firewallAction\":\"drop\",\"mat chcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrulec onfig\",\"validatorname\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropapptoanyrule\",\"descr\":null,\"firewallacti on\":\"drop\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrulec onfig\",\"validatorname\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"permitanytowebrule\",\"descr\":null,\"firewalla ction\":\"permit\",\"matchcriteria\":\"matchany\",\"protocolserviceoption\":\"service\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[{\"p rotocaloperator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":80,\"errormessage\":null},{\"protocalop erator\":\"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"http\",\"serviceport\":8080,\"errormessage\":null},{\"protocaloperator\": \"eq\",\"protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":443,\"errormessage\":null},{\"protocaloperator\":\"eq\",\" protocalvalue\":\"tcp\",\"servicename\":\"https\",\"serviceport\":8443,\"errormessage\":null}],\"motypename\":\"com.cloupia.fea ture.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"srcrules\":{\"list\":[],\"motypena me\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorname\":null},\"destrules\":{\"li st\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitWebToAnyRule\",\"descr\":null,\"firewallAction\":\"permit\", \"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"WebZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSub netvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validator Name\":null},\"destRules\":{\"list\":[],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVnmcAclPolicyRule Config\",\"validatorName\":null}},{\"policyName\":null,\"policyDesc\":null,\"name\":\"permitAnyToAppRule\",\"descr\":null,\"firewall Action\":\"permit\",\"matchCriteria\":\"matchall\",\"protocolServiceOption\":\"Protocol\",\"protocol\":true,\"protocalOperator\":null,\"protocalValue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"valida torname\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"AppZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}},{\"policyname\":null,\"policydesc\":null,\"name\":\"dropanytodbrule\",\"descr\":null,\"firewallaction\":\"drop\",\"matc hcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":null,\"protocalvalue\":null,\"services\":{\"list\":[],\" motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\" srcrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"valida torname\":null},\"destrules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":null,\"attributeValue\":\"DBZone\",\"zoneAttributeValue\":null,\"prefixedIpAddressValue\":null,\"prefixedSubn 34

35 etvalue\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorn ame\":null}}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null}, \"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlanpool\":\"vlanpolicy \",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"motypename\":\"com. cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"online HelpVMNetworks\":null,\"vms\":{\"list\":[{\"templateName\":null,\"zone\":\"WebZone\",\"appName\":\"vm1\",\"app\":\"\",\ "vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig \":{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcp PortHAScale\":80,\"backTCPPortHAScale\":80,\"label_https\":null,\"frontTCPHttpsHAScale\":443,\"backTCPHttpsHAScale\":443,\"onlineHelp\":null,\"Label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlineTemplateHelp \":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":true,\"deploySLB\":f alse,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey \":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true, \"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 8. Only SLBin a non-ha mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest8</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"only SLB Non HA Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"web\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model. StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallp olicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[],\"motypen ame\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null},\"onlinehelpaclrules\": null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlanpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"port Group\":\"\",\"ipSubnetPool\":\"Subnet1\",\"staticIPPool\":\"\",\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray. template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"onlinehelpvmnetworks\":null,\ "vms\":{\"list\":[{\"templatename\":null,\"zone\":\"web\",\"appname\":\"web-vm1\",\"app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"eth0\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\ ":null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachine NetworkConfig\",\"validatorName\":\"StingrayVirtualMachineNetworkConfigListValidator\"},\"maxQuantity\":1,\"initialQuantity\":1,\ "isstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingray VirtualMachineConfig\",\"validatorName\":\"StgStingrayVirtualMachineConfigListValidator\"},\"onlineHelpNewVM\":null,\"slbConfi 35

36 g\":{\"tierhascale\":\"web\",\"networkhascale\":\"lan0\",\"protocolhascale\":\"tcp\",\"persistencehascale\":\"none\",\"label_htt p\":null,\"fronttcpporthascale\":80,\"backtcpporthascale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcph ttpshascale\":443,\"onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"o nlinetemplatehelp\":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"aditya -vc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":false,\"deployVSG\":false,\"deploySLB\": true,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey \":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true, \"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> 9. Only CSR in a HA mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest9</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"only CSR HA Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"web\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model. StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallp olicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[],\"motypen ame\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"validatorname\":null},\"onlinehelpaclrules\": null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlanpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"port Group\":\"\",\"ipSubnetPool\":\"Subnet1\",\"staticIPPool\":\"\",\"onlineHelp\":null}],\"moTypeName\":\"com.cloupia.feature.stingray. template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"onlinehelpvmnetworks\":null,\ "vms\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachineconfig\",\"validatorname\ ":\"StgStingrayVirtualMachineConfigListValidator\"},\"onlineHelpNewVM\":null,\"slbConfig\":{\"tierHAScale\":null,\"networkHASca le\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcpporthascale\":80,\"backtcpporthasc ale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcphttpshascale\":443,\"onlinehelp\":null,\"label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlinetemplatehelp\":null,\"onlinecontainerhelp\":null},\"de ploymentoptions\":{\"deploymentoption\":\"small\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":true,\"deployVSG\":false,\"deploySLB\":f alse,\"ha\":\"yes\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedke y\":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":tru e,\"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> New 10. Only ASAv in a non-ha mode 36

37 <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <containername>onlyasav</containername> <groupname>default Group</groupName> <actionid></actionid> <jsonpayload> {"svctemplatename":"allinonecontainer","template":null,"containertype":"stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":Mgmt,\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":csr uplink,\"csriptype\":\"private\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"label_asavhaips \":null,\"asaprimaryhaip\":\"\",\"asasecondaryhaip\":\"\",\"asahasubnetmask\":\" \",\"onlinehelp\":null},\"pnsczone s\":{\"list\":[],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\ ":[],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\" zonename\":\"test\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"contains\",\"attributeValue\":\"test\",\"prefixedIpAddressValue\":\"\",\"prefixedSubnetValue\":\"\"}],\"moType Name\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCZoneRuleConfig\",\"validatorName\":null},\"onlineHelp\":nul l},{\"zonename\":\"rest\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[{\"attributetype\":\"vm\",\"attributename\":\"vm Name\",\"operator\":\"eq\",\"attributeValue\":\"rest\",\"prefixedIpAddressValue\":\"\",\"prefixedSubnetValue\":\"\"}],\"moTypeName\ ":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":null}],\"m otypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpse curityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyname\":null,\"policydesc\":null,\"name\":\"testrest\",\"descr\":\"\",\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":\"\",\"protocalvalue\":\"\",\"services\":{\"list\":[],\"m otypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"sr crules\":{\"list\":[{\"attributetype\":\"zone\",\"attributename\":\"zone Name\",\"operator\":\"eq\",\"attributeValue\":\"test\",\"zoneAttributeValue\":\"test\",\"prefixedIpAddressValue\":\"\",\"prefixedSubne tvalue\":\"\"}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validatorna me\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleco nfig\",\"validatorname\":null}}],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicies\",\"valid atorname\":null},\"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vlan Pool\":\"vlan\",\"vxlanPool\":\"\",\"portGroup\":\"\",\"ipSubnetPool\":\"IP subnet\",\"staticippool\":\"\",\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetw ork\",\"validatorname\":\"stgstingrayvmnetworklistvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{\"list\":[{\"templatename\ ":null,\"zone\":\"test\",\"appname\":\"test\",\"app\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"Mytemplatenew\",\"numVCPUs\":2,\"memoryMB\":1024,\"cpuReservationMHz\":0,\"memoryReservatio nmb\":0,\"disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":n ull,\"isuseimagenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"eth0\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"i paddress\":null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtua lmachinenetworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialqu antity\":1,\"isstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.st gstingrayvirtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null, \"slbconfig\":{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null, \"fronttcpporthascale\":80,\"backtcpporthascale\":80,\"label_https\":null,\"fronttcphttpshascale\":443,\"backtcphttpsha Scale\":443,\"onlineHelp\":null,\"Label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlineTe mplatehelp\":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"vc\",\"n1kdv Switch\":\"vswitch\",\"virtualComputePolicy\":\"vc - Default Computing Policy\",\"virtualStoragePolicy\":\"vc - Default Storage Policy\",\"virtualSystemPolicy\":\"system\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":false,\"deployASAv\":true,\"deployVS G\":false,\"deploySLB\":false,\"ha\":\"No\",\"onlineHelp\":null,\"haModeLabel\":null},\"vpnConfig\":{\"enableSiteToSiteIPSecVPN\" :null,\"vpnpresharedkey\":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":tr ue,\"ftp\":true,\"dns\":true,\"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> Example Response Header: 37

38 Status 200 OK Loading time: 775 Request headers Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo X-Cloupia-Request-Key: F BDB44299B1AF58991ED40D40 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/ (KHTML, like Gecko) Chrome/ Safari/ Content-Type: application/x-www-form-urlencoded Accept: */* Accept-Encoding: gzip, deflate, sdch Accept-Language: en-us,en;q=0.8 Cookie: JSESSIONID=E9EBA15AEC EB6D71F42B9F35 Response headers Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=iso Content-Length: 524 Date: Fri, 11 Sep :12:46 GMT Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <cuicoperationresponse> <Log> <Messages>2</Messages> <Message> <TimeStamp> :12:46.811</TimeStamp> <Severity>INFO</Severity> <Text>CreateContainerRestHandler rest api logs actionlogger!!!</text> </Message> <Message> <TimeStamp> :12:47.447</TimeStamp> <Severity>INFO</Severity> <Text>Container created. Service Request 21 is in progress to setup the container.</text> </Message> </Log> <operationstatus>0</operationstatus> <responsemap/> </cuicoperationresponse> 11. Only VSG in a non-ha mode <cuicoperationrequest> <payload> <![CDATA[ <CreateContainerRestConfig> <actionid></actionid> <containername>rest10</containername> <groupname>default Group</groupName> <jsonpayload> {"svctemplatename":"only VSG Non HA Rest","template":null,"containerType":"Stingray - Custom Container","containerTypeSummary":null,"templateDefinitionData":"{\"networkResourcePool\":{\"label_managementippool\":null,\"managementIpPool\":\"mgt\",\"label_extraspace\":null,\"label_csrnetconfig\":null,\"csrUplinkIPPool\":\"uplink\",\"csrIPType\":\"P rivate\",\"csrl3routingprotocol\":\"eigrp\",\"autonomousnumber\":\"\",\"mtu\":\"1500\",\"onlinehelp\":null},\"pnsczones\":{\"list\": [],\"motypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmczoneconfig\",\"validatorname\":null},\"pnscacls\":{\"list\":[],\"mot ypename\":\"com.cloupia.lib.ciaas.vnmc.model.vnmcaclpolicies\",\"validatorname\":null},\"stgpnsczones\":{\"list\":[{\"zonena me\":\"zon1\",\"zonedesc\":\"\",\"vnmczonerules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig\",\"validatorname\":null},\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.firewall policy.model.stgvnmczoneconfig\",\"validatorname\":null},\"onlinehelpsecurityzone\":null,\"stgpnscacls\":{\"list\":[{\"policyna me\":null,\"policydesc\":null,\"name\":\"acl1\",\"descr\":\"\",\"firewallaction\":\"permit\",\"matchcriteria\":\"matchall\",\"protocolserviceoption\":\"protocol\",\"protocol\":true,\"protocaloperator\":\"\",\"protocalvalue\":\"\",\"services\":{\"list\":[],\"m otypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig\",\"validatorname\":null},\"sr crules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig\",\"validato rname\":null},\"destrules\":{\"list\":[],\"motypename\":\"com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyrule 38

39 Config\",\"validatorName\":null}}],\"moTypeName\":\"com.cloupia.feature.stingray.firewallpolicy.model.StgVNMCAclPolicies\",\"v alidatorname\":null},\"onlinehelpaclrules\":null,\"vmnetworks\":{\"list\":[{\"networkname\":\"lan0\",\"networktype\":\"vlan\",\"vl anpool\":\"vlanpolicy\",\"vxlanpool\":\"\",\"portgroup\":\"\",\"ipsubnetpool\":\"subnet1\",\"staticippool\":\"\",\"onlinehelp\":null}],\"m otypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvmnetwork\",\"validatorname\":\"stgstingrayvmnetworkli stvalidator\"},\"onlinehelpvmnetworks\":null,\"vms\":{\"list\":[{\"templatename\":null,\"zone\":\"zon1\",\"appname\":\"1\",\"appdes cription\":\"\",\"vmimagetype\":\"vm Template\",\"imageId\":\"AppVM\",\"numVCPUs\":1,\"memoryMB\":256,\"cpuReservationMHz\":0,\"memoryReservationMB\":0,\" disksize\":0,\"passwordresettype\":1,\"templaterootlogin\":\"root\",\"templaterootpassword\":\"\",\"appcategory\":null,\"isusei magenetwork\":false,\"networks\":{\"list\":[{\"appname\":\"nic1\",\"networkname\":\"lan0\",\"adaptertype\":\"e1000\",\"ipaddress\" :null,\"enablepublicipmapping\":false}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayvirtualmachinen etworkconfig\",\"validatorname\":\"stingrayvirtualmachinenetworkconfiglistvalidator\"},\"maxquantity\":1,\"initialquantity\":1,\"i sstorageefficiencyenabled\":false,\"onlinehelp\":null}],\"motypename\":\"com.cloupia.feature.stingray.template.ui.stgstingrayv irtualmachineconfig\",\"validatorname\":\"stgstingrayvirtualmachineconfiglistvalidator\"},\"onlinehelpnewvm\":null,\"slbconfig \":{\"tierhascale\":null,\"networkhascale\":null,\"protocolhascale\":null,\"persistencehascale\":null,\"label_http\":null,\"fronttcp PortHAScale\":80,\"backTCPPortHAScale\":80,\"label_https\":null,\"frontTCPHttpsHAScale\":443,\"backTCPHttpsHAScale\":443,\"onlineHelp\":null,\"Label_space\":null,\"label_note_for_custom\":null,\"label_note_for_non_custom\":null,\"onlineTemplateHelp \":null,\"onlinecontainerhelp\":null},\"deploymentoptions\":{\"deploymentoption\":\"large\",\"vcenter\":\"adityavc\",\"n1kdvswitch\":\"adityan1k\",\"virtualcomputepolicy\":\"aditya-vc - Default Computing Policy\",\"virtualStoragePolicy\":\"Aditya-vc - Default Storage Policy\",\"virtualSystemPolicy\":\"local\",\"endUserSelfServicePolicy\":\"\",\"deployCSR\":false,\"deployVSG\":true,\"deploySLB\":f alse,\"ha\":\"no\",\"onlinehelp\":null,\"hamodelabel\":null},\"vpnconfig\":{\"enablesitetositeipsecvpn\":null,\"vpnpresharedkey \":null,\"encryption\":null,\"hash\":null,\"remotesiteipaddress\":null},\"algconfig\":{\"http\":true,\"https\":true,\"ftp\":true,\"dns\":true, \"icmp\":true,\"sqlnet\":false,\"mssql\":false,\"ldap\":false,\"onlinehelp\":null}}","onlinehelp":"n/a"} </jsonpayload> <configentryid></configentryid> </CreateContainerRestConfig> ]]> </payload> </cuicoperationrequest> Example Response Header: Status 200 OK Loading time: 775 Request headers Origin: chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo X-Cloupia-Request-Key: F BDB44299B1AF58991ED40D40 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/ (KHTML, like Gecko) Chrome/ Safari/ Content-Type: application/x-www-form-urlencoded Accept: */* Accept-Encoding: gzip, deflate, sdch Accept-Language: en-us,en;q=0.8 Cookie: JSESSIONID=E9EBA15AEC EB6D71F42B9F35 Response headers Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=iso Content-Length: 524 Date: Fri, 11 Sep :12:46 GMT Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <cuicoperationresponse> <Log> <Messages>2</Messages> <Message> <TimeStamp> :12:46.811</TimeStamp> <Severity>INFO</Severity> <Text>CreateContainerRestHandler rest api logs actionlogger!!!</text> </Message> <Message> <TimeStamp> :12:47.447</TimeStamp> 39

40 <Severity>INFO</Severity> <Text>Container created. Service Request 21 is in progress to setup the container.</text> </Message> </Log> <operationstatus>0</operationstatus> <responsemap/> </cuicoperationresponse> userapivacsdeletecontainer This API deletes the container. Method PUT Resource URL IP Address>/cloupia/api-v2/ VACSDeleteContainer Sample URL Address>/cloupia/api-v2/VACSDeleteContainer Accessible Administrator Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <DeleteContainerRestConfig> <containerid>39</containerid> </DeleteContainerRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :33:51.327</TimeStamp><Severity>INFO</Severity><Text>A service request 118 is created for deleting the container cont2</text></message></log><operationstatus>0</operationstatus><responsemap/></cuicoperationresponse > userapigettemplatenameandtype This API fetches the template name, template type, and the type of eddge gateway (if any). The edge gateway can be CSR, ASAv, or None. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs: userapigettemplatenameandtype&opdata={param0:<containerid>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetTemplateNameAndType&opData={param0:23} Accessible 40

41 Administrator/end user Sample Output Response: { "serviceresult":"{"edgegateway":"csr","templatename":" onlycsr","templatetype":"stingray - Custom Container"}", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigettemplatenameandtype" } userapivacsoptionsmenu This API fetches the end user option menu details. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSOptionsMenu Sample URL Address>/cloupia/api-v2/ VACSOptionsMenu Accessible Administrator Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <OptionsMenuRestConfig> <jsonpayload> {"ERSPAN":"true","FIREWALL_POLICY":"true","STATIC_NAT":"true","ADD_VMS":"true","POWER_ON":"true","POWER_ OFF":"true","MANAGE_ZONES":"true","DEL_VMS":"true","REPORT_SECURE":"true"} </jsonpayload> </OptionsMenuRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :27:40.272</TimeStamp><Severity>INFO</Severity><Text>End user Options Menu updated successfully!!</text></message></log><operationstatus>0</operationstatus><responsemap/></cuicoperatio nresponse> userapigetoptionsmenu This API fetches the end user option menu details. Method GET Resource URL 41

42 IP Address>/app/api/rest?formatType=json&opName=vacs: userapigetoptionsmenu&opdata={} Sample URL Parameters Integer Container ID Accessible Administrator Sample Output { "serviceresult": "["DEL_VMS","ERSPAN","REPORT_SECURE","STATIC_NAT","FIREWALL_POLICY","ADD_VMS","POWER_ON","MANAGE_ZONE S","POWER_OFF"]" "serviceerror": null "servicename": "InfraMgr" "opname": "vacs:userapigetoptionsmenu" } userapigetstaticnat This API fetches the Static NAT information for a given container ID. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetStaticNAT&opData={param0:<container-id>} Sample URL Parameters Integer Container ID Accessible Administrator/end user (dependent on permissions granted by the administrator) Example { serviceresult: [{ externalip : , internal Ip : , vmname : cont1_webzone_web- 1, macaddress : 00:50:56:92:a1:c1:c1, nickname : Network adapter 1, pendingoperation :1}] serviceerror: null serviecname: InfraMgr OpName: VACS:userAPIGetStaticNAT } userapigetstaticnatpervm This API fetches the Static NAT information for a given container ID. Method GET Resource URL 42

43 IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetStaticNATPerVM& opdata={param0:<container-id>,param1:<vm name>} Sample URL param1: cont1_webzone_web-1 } Parameters Integer Container Id param0 String VM Name param1 Accessible Administrator/end user (dependent on permissions granted by the administrator) Example { serviceresult: [{ externalip : , internal Ip : , vmname : cont1_webzone_web- 1, macaddress : 00:50:56:92:a1:c1:c1, nickname : Network adapter 1, pendingoperation :1}] serviceerror: null serviecname: InfraMgr OpName: VACS:userAPIGetStaticNATPerVM } userapivacssetnat This API configures the StaticNat for the VMs in the container. Note: Effective Cisco Virtual Cisco Virtual Application Cloud Segmentation Services Release 5.4STV3.0, we support configuration of StaticNAT using both, ASAv and CSR. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSSetNat Sample URL Address>/cloupia/api-v2/VACSSetNat Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <StaticNatRestConfigElement> <container><container id></container> <jsonpayload> [{"id":"9","vmname":"cont1_webzone_web-1","nicname":"network adapter 1","ipAddress":" ","macAddress":"00:50:56:92:a1:c1","zoneName":"WebZone"},{"id":"10","vmName":"cont1_WebZ one_web-2","nicname":"network adapter 1","ipAddress":" ","macAddress":"00:50:56:92:a1:cc","zoneName":"WebZone"}] </jsonpayload> </StaticNatRestConfigElement> ]]> </payload> </cuicoperationrequest> Example Response Header: Status Code: 200 OK 43

44 Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: Note: XML output carries the SR that is created which must be monitored separately for the outcome of the NAT config. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <cuicoperationresponse> < StaticNatRestConfigElementResponse> <VACS-REQ-SR-ID>83</VACS-REQ-SR-ID> </ StaticNatRestConfigElementResponse> <Log> <Messages>1</Messages> <Message> <TimeStamp> :53:01.937</TimeStamp> <Severity>INFO</Severity> <Text>Created SR 23 for workflow VACS StaticNat</Text> </Message> </Log> <operationstatus>0</operationstatus> <responsemap/> </cuicoperationresponse> userapigeterspan This API fetches the ERSPAN information related to the available container. Method GET Resource URL IPAddress>/ app/api/rest?formattype=json&opname=vacs:userapigeterspan&opdata={param0:<container-id>} Sample URL id>} Parameters Integer Container ID Accessible Administrator/end user (dependent on permissions granted by the administrator) Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 3251 Content-Type: application/json;charset=utf-8 Date: Tue, 17 Feb :48:35 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=BCC1CCB47456BEF2F9B342B815703F7F; Path=/app/; Secure Response Body: { "serviceresult":"[{\"sessionid\":\"3\",\"description\":\"pub5- Autogen\",\"destIp\":\" \",\"erspanId\":\"3\",\"vmCfgList\":[{\"vmName\":\"Pub5_WebZone_ 44

45 wvm- 1\",\"nicCfgHash\":{\"00:50:56:9a:75:62\":{\"macAddrTypeCisco\":\" a.7562\",\"uiNicName\":\"Ne twork adapter 1\",\"VethName\":\"Vethernet52\",\"isRx\":false,\"isTx\":true}}},{\"vmName\":\"Pub5_DBZone_dvm- 1\",\"nicCfgHash\":{\"00:50:56:9a:17:1b\":{\"macAddrTypeCisco\":\" a.171b\",\"uiNicName\":\"Ne twork adapter 1\",\"VethName\":\"Vethernet56\",\"isRx\":true,\"isTx\":false}}},{\"vmName\":\"Pub5_AppZone_avm- 1\",\"nicCfgHash\":{\"00:50:56:9a:05:a1\":{\"macAddrTypeCisco\":\" a.05a1\",\"uiNicName\":\"Ne twork adapter 1\",\"VethName\":\"Vethernet54\",\"isRx\":true,\"isTx\":false}}}]}]", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigeterspan" } userapivacsseterspan This API configures the ERSPAN for VMs in the container. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSsetErspan Sample URL Address>/cloupia/api-v2/VACSsetErspan Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <ErspanRestElement> <container><container id ></container> <destinationip> </destinationip> <jsonpayload> {"detinationip":" ","vmnicmap":{"cust2_appzone_addapp-1":[{"vmname":"cust2_appzone_addapp- 1","nicName":"Network adapter 1","RxTxBoth":"Tx","macAddress":"00:50:56:ab:34:f2","ipAddress":" "}],"CUST2_WebZone_web- 1":[{"vmName":"CUST2_WebZone_web-1","nicName":"Network adapter 1","RxTxBoth":"Tx","macAddress":"00:50:56:ab:56:5d","ipAddress":" "}]}} </jsonpayload> </ErspanRestElement> ]]> </payload> </cuicoperationrequest> Example Response Header: Ecure Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: Note: XML output carries the SR that is created which must be monitored separately for the outcome of the ERSPAN config. 45

46 <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :14:22.430</TimeStamp><Severity>ERROR</Severity><Text>Aditya CreateErspanRestHandler rest api logs actionlogger!!!</text></message><message><timestamp> :14:22.794</TimeStamp><Severity>INFO</Severity><Text>Created SR 116 to configure the ERSPAN.</Text></Message></Log><operationStatus>0</operationStatus><responseMap/> < ErspanRestElementResponse> <VACS-REQ-SR-ID>83</VACS-REQ-SR-ID> </ ErspanRestElementResponse> </cuicoperationresponse> userapigeterspanwithvm This API fetches the ERSPAN details for a specified VM in the Cisco VACS container. Method GET Resource URL IPAddress>/ app/api/rest?formattype=json&opname=vacs:userapigeterspanwithvm&opdata={param0:<container-id>, param1= <vm-name> } Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetERSPANWithVM&opData={param0:101, param1: CU20_web_web_cwweb2-1 } Parameters param0 is Integer Container Id param0 String VM Name param1 Accessible Administrator/end user (dependent on permissions granted by the administrator) Example Response Header: Status Code: 200 OK 2. Cache-Control: max-age=0,must-revalidate 3. Content-Length: Content-Type: application/json;charset=utf-8 5. Date: Tue, 17 Feb :56:25 GMT 6. Expires: Server: Apache-Coyote/1.1 Response Body: 1. { 2. "serviceresult": "[{"sessionid":"1","description":"cu20- Autogen","destIp":" ","erspanId":"1","vmCfgList":[{"vmName":"CU20_web_web_cwweb2-1","nicCfgHash":{"00:50:56:8c:50:46":{"macAddrTypeCisco":" c.5046","uiNicName":"Network adapter 1","VethName":"Vethernet12","isRx":true,"isTx":false}}}]},{"sessionId":"2","description":"CU20- Autogen","destIp":" ","erspanId":"2","vmCfgList":[{"vmName":"CU20_web_web_cwweb2-1","nicCfgHash":{"00:50:56:8c:50:46":{"macAddrTypeCisco":" c.5046","uiNicName":"Network adapter 1","VethName":"Vethernet12","isRx":false,"isTx":true}}}]}]", 3. "serviceerror": null, 4. "servicename": "InfraMgr", 5. "opname": "vacs:userapigeterspanwithvm" 6. } 46

47 userapivacsaddvm This API adds VM(s) to the container. These VM can be added using either the VM template or the OVF option. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSaddVM Sample URL Address>/cloupia/api-v2/VACSaddVM Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload The default image type is VM Template if you don t specify the image type.. The imageid is the image file name. For Internal/External container, you don t provide network, so the network list should be empty (see below in yellow): <cuicoperationrequest> <payload> <![CDATA[ <AddVMsConfigElement> <container>23</container> <jsonpayload> {"templatename":null,"zone":"webzone","appname":"web","app":"","imageid":"vm-template- 1NIC","numVCPUs":1,"memoryMB":128,"cpuReservationMHz":0,"memoryReservationMB":0,"diskSize":0,"passwordReset Type":1,"templateRootLogin":"root","templateRootPassword":"","appCategory":null,"isUseImageNetwork":false,"networks":{ "list":[],"motypename":"com.cloupia.model.servicecontainer.stingray.stingrayvirtualmachinenetworkconfig","validatorna me":"stingrayvirtualmachinenetworkconfiglistvalidator"},"maxquantity":1,"initialquantity":1,"isstorageefficiencyenabled":f alse} </jsonpayload> </AddVMsConfigElement> ]]> </payload> </cuicoperationrequest> For Custom container, you must provide network info (see below in yellow), also the following example shows how to specify the image type as OVF: <cuicoperationrequest> <payload> <![CDATA[ <AddVMsConfigElement> <container>110</container> <jsonpayload> {"templatename":null,"zone":"webzone","appname":"web","app":"","vmimagetype":"ovf","imageid":"ovf-1nic- UserA","numVCPUs":1,"memoryMB":128,"cpuReservationMHz":0,"memoryReservationMB":0,"diskSize":0,"passwordReset Type":1,"templateRootLogin":"root","templateRootPassword":"","appCategory":null,"isUseImageNetwork":false,"networks":{ "list":[{"appname":"nic1","networkname":"lan0","adaptertype":"e1000","ipaddress":null,"enablepublicipmapping":false}],"m otypename":"com.cloupia.model.servicecontainer.stingray.stingrayvirtualmachinenetworkconfig","validatorname":"sting rayvirtualmachinenetworkconfiglistvalidator"},"maxquantity":1,"initialquantity":1,"isstorageefficiencyenabled":false} </jsonpayload> </AddVMsConfigElement> ]]> </payload> </cuicoperationrequest> Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate 47

48 Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <cuicoperationresponse> <operationstatus>0</operationstatus> <response> <AddVMsConfigElementResponse> <VACS-REQ-SR-ID>83</VACS-REQ-SR-ID> </AddVMsConfigElementResponse> </response> <responsemap> <entry> <key>vacs-req-sr-id</key> <value>83</value> </entry> </responsemap> </cuicoperationresponse> userapivacsdeletevm This API deletes the VM(s) from the container. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSdeleteVM Sample URL IP Address>/cloupia/api-v2/VACSdeleteVM Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <DeleteVMRestConfigElement> <container>101</container> <jsonpayload>{"vmname":"xxyy"}</jsonpayload> </DeleteVMRestConfigElement> ]]> </payload> </cuicoperationrequest> Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 48

49 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure Response Body: <?xml version="1.0" encoding="utf-8"?> <cuicoperationresponse> < DeleteVMRestConfigElementResponse> <VACS-REQ-SR-ID>83</VACS-REQ-SR-ID> </ DeleteVMRestConfigElementResponse> <Log> <Messages>2</Messages> <Message> <TimeStamp> :17:10.127</TimeStamp> <Severity>ERROR</Severity> <Text>delete VM REST API</Text> </Message> <Message> <TimeStamp> :17:27.673</TimeStamp> <Severity>INFO</Severity> <Text>DeleteVMRestHandler Service Request 278 is in progress to delete the VMs from the container.</text> </Message> </Log> <operationstatus>0</operationstatus> <responsemap /> </cuicoperationresponse> userapivacspoweroncontainer This API powers on the application container. Note: 1) By using the power on container Rest API, any or all VM(s) of a container which are accessible to the user, can be powered on. 2) The VM VM Type can be, "VSG","CSR","ASAv","Load Balancer", or "Application VM". Method PUT Resource URL IP Address>/cloupia/api-v2/VACSPowerOnContainer Sample URL Address>/cloupia/api-v2/VACSPowerOnContainer Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <PowerOnContainerRestConfig> <containerid>35</containerid> <jsonpayload> [{"vmid":"162","vm":"slbpoff_webzone_web-1","vmtype":"application VM","guestOS":"","cloud":""}, {"vmid":"160","vm":"slbpoff-primary-csr","vmtype":"csr","guestos":"","cloud":""}, {"vmid":"161","vm":"slbpoff_webzone_primary-slb","vmtype":"load Balancer","guestOS":"","cloud":""}, {"vmid":"163","vm":"slbpoff-primary-vsg","vmtype":"vsg","guestos":"","cloud":""} ] 49

50 </jsonpayload> </PowerOnContainerRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :26:53.463</TimeStamp><Severity>INFO</Severity><Text>Successfully VMs are power on SR ID : 172</Text></Message></Log><operationStatus>0</operationStatus><responseMap/></cuicOperationResponse> userapivacspoweroffcontainer This API powers off the application container. Note: By using the power off application container Rest API, any or all VM(s) of a container which are accessible to the user, can be powered off. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSPowerOffContainer Sample URL Address>/cloupia/api-v2/VACSPowerOffContainer Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <PowerOffContainerRestConfig> <containerid>17</containerid> <jsonpayload> [ {"vmid":"48","vm":"slb2_webzone_web-1-1","vmtype":"application VM","guestOS":"","cloud":""}, {"vmid":"51","vm":"slb2_dbzone_db-1","vmtype":"application VM","guestOS":"","cloud":""}] </jsonpayload> </PowerOffContainerRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :30:22.968</TimeStamp><Severity>INFO</Severity><Text>Successfully VMs are power off SR ID : 173</Text></Message></Log><operationStatus>0</operationStatus><responseMap/></cuicOperationResponse> 50

51 userapigetvacsresourcehistory This API provides the information on the resource history. Method GET Resource URL <UCSD IP Address>/ app/api/rest?formattype=json&opname=vacs:userapigetvacsresourcehistory&opdata={} Sample URL IPAddress>/app/api/rest?formatType=json&opName=vacs:userAPIGetVacsResourceHistory&opData={} Accessible Administrator Example Response Header: "serviceresult":"[{\"auditid\":238,\"timestamp\": ,\"srid\":24,\"containerid\":8,\"contai nername\":\"dgcont1\",\"initiatinguser\":\"admin\",\"resourcetype\":\"ip Address\",\"resourceValue\":\" \",\"action\":\"Reserved\",\"contextType\":\"Container\",\"co Management IP For dgcont1_dummy_vm3-1\",\"placeholder\":\"stgcontaineradditionalvmallocator.updatevmnics()\"},{\"auditid\":239,\"timestam p\": ,\"srid\":24,\"containerid\":8,\"containername\":\"dgcont1\",\"initiatinguser\":\"ad min\",\"resourcetype\":\"ip Address\",\"resourceValue\":\" \",\"action\":\"Released\",\"contextType\":\"Container\",\"co Management IP For dgcont1_dummy_vm3-1\",\"placeholder\":\"stgprovisioncontainervmhandler.releaseresources()\"}]", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetvacsresourcehistory } If the Cisco VACS Resource History is not found, the response is: "serviceresponse": null "serviceerror": "REMOTE_SERVICE_EXCEPTION: No VACS Resource History Found!!!" "servicename": "InfraMgr" "opname": "vacs:userapigetvacsresourcehistory" } userapigetcontainervmips This API fetches the IP addresses of the container VMs. Method GET Resource URL IPAddress>/ app/api/rest?formattype=json&opname=vacs:userapigetcontainervmips&opdata={param0:<container-id>} Sample URL IPAddress>/app/api/rest?formatType=json&opName=vacs:userAPIGetContainerVmIps&opData={param0:2} Accessible Administrator Example Response Header: { "serviceresult": "[{"vmid":72,"vmname":"asvha1-primaryasav","vmtype":"asav","vmipadderess":" "},{"vmid":73,"vmname":"asvha1-secondary- 51

52 asav","vmtype":"asav","vmipadderess":" "},{"vmid":74,"vmname":"asvha1_szon1_primaryslb","vmtype":"load Balancer","vmIpAdderess":" "},{"vmId":75,"vmName":"Asvha1_szon1_secondaryslb","vmType":"Load Balancer","vmIpAdderess":" "},{"vmId":76,"vmName":"Asvha1_szon1_ASAvHaszon1_vm1-1","vmType":"Application VM","vmIpAdderess":" "}]" "serviceerror": null "servicename": "InfraMgr" "opname": "vacs:userapigetcontainervmips" } userapivacsaddvm(with password sharing options) This API adds the VMs to the container using the password sharing options. Note: You can add one or multiple instances of one VM template for one zone. Similarly, you can use the UI to add a VM to the container. The passwordresettype attribute in the payload represents the password share options. The following IDs are used for the password sharing options: Do not share 1 Share after password reset -2 Share template credentials -3 Method PUT Resource URL IP Address>/cloupia/api-v2/VACSaddVM Sample URL Address>/cloupia/api-v2/VACSaddVM Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload The default image type is VM Template if the image type is not specified. The imageid is the image file name. For all internal and external containers, you must not provide the network and retain a blank network list. <cuicoperationrequest> <payload> <![CDATA[ <AddVMsConfigElement> <container>23</container> <jsonpayload> {"templatename":null,"zone":"webzone","appname":"web","app":"","imageid":"vm-template- 1NIC","numVCPUs":1,"memoryMB":128,"cpuReservationMHz":0,"memoryReservationMB":0,"diskSize":0,"passwordReset Type":1,"templateRootLogin":"root","templateRootPassword":"","appCategory":null,"isUseImageNetwork":false,"networks":{ "list":[],"motypename":"com.cloupia.model.servicecontainer.stingray.stingrayvirtualmachinenetworkconfig","validatorna me":"stingrayvirtualmachinenetworkconfiglistvalidator"},"maxquantity":1,"initialquantity":1,"isstorageefficiencyenabled":f alse} </jsonpayload> </AddVMsConfigElement> ]]> </payload> </cuicoperationrequest> Example: To add a VM to a container with the password share option 2 i.e Share after password reset. <cuicoperationrequest> <payload> <![CDATA[ <AddVMsConfigElement> <container>7</container> <jsonpayload> {"templatename":"allinone","zone":"webzone","appname":"webshare","app":"","vmimagetype":"o 52

53 VF","imageId":"ovf1","numVCPUs":1,"memoryMB":128,"cpuReservationMHz":0,"memoryReservationMB":0,"diskS ize":0,"passwordresettype":2,"templaterootlogin":"root","templaterootpassword":"sfish123","appcategor y":null,"isuseimagenetwork":false,"networks":{"list":[{"appname":"eth0","networkname":"lan0","adapter Type":"E 1000"}],"moTypeName":"com.cloupia.model.serviceContainer.stingray.StingrayVirtualMachineNetworkConfig ","validatorname":"stingrayvirtualmachinenetworkconfiglistvalidator"},"maxquantity":1,"initialquantit y":1,"isstorageefficiencyenabled":false} </jsonpayload> </AddVMsConfigElement> ]]> </payload> </cuicoperationrequest> Sample Output <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :10:25.506</TimeStamp><Severity>INFO</Severity><Text>Service Request 89 is in progress to Add VM(s).</Text></Message></Log><operationStatus>0</operationStatus><response><AddVMsConfigElementRespon se><vacs-req-sr-id>89</vacs-req-sr- ID></AddVMsConfigElementResponse></response><responseMap><entry><key>VACS-REQ-SR- ID</key><value>89</value></entry></responseMap></cuicOperationResponse> In the response, pay attention to the following tags: <VACS-REQ-SR-ID> - Provides the SR ID of the ADD VMs workflow. <VACS-REQ-ERR-MSG> - Provides error messages, if any. userapigetfirewallpolicy This API gets the firewall policy details of a container. Method Get Resource URL IP Address>/ app/api/rest?formattype=json&opname=vacs: userapigetfirewallpolicy &opdata={param0:<container-id>} Sample URL Address>/ app/api/rest?formattype=json&opname=vacs: userapigetfirewallpolicy &opdata={param0:52} Accessible Administrator/end user (dependent on permissions granted by the administrator) Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 3268 Content-Type: application/json;charset=utf-8 Date: Sun, 28 Jun :03:50 GMT Expires: -1 Server: Apache-Coyote/1.1 Response Body: 1. { 2. "serviceresult": "[{"vmid":99,"instanceid":"test3-primary- csr","accountname":"vcadi","hostname":"test3-primary- 112","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn ","imageid":"test3-primarycsr","lastupdated": ,"isarchived":false,"groupid":1,"servicerequestid":112,"userlabel":"","comments":"","provisionedtime": ,"scheduledterminationtime":-1,"catalogid":- 1,"vdcId":52,"appCategoryId":0,"groupName":"Default Group","vdcName":"test3","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02bfd f4c3-423edc75aa966191","committedDiskGB":1.0,"uncommittedDiskGB":6.99,"cpuReservationMhz":0,"memReservationMB" 53

54 :0,"numCPUs":1,"memoryMB":2560,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:58:f0,00:50:56:ab:01:9 8,00:50:56:ab:05:75","vmwareDatacenterName":"Aditya-DC","hostUniqueId":"5ac69ba df-ad0a- 68efbdf6214a","guestOS":"Other 2.6.x Linux (64-bit)"},{"vmId":100,"instanceId":"test3_WebZone_webint- 1","accountName":"VCAdi","hostName":"test3WebZonewebint- 1","ipAddress":" ","parentHost":" ","powerStatus":"ON","status":"poweredOn","im ageid":"test3_webzone_webint- 1","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":112,"userLabel":"tes t3_webzone_webint-1","comments":"test3_webzone_webint- 1","provisionedTime": ,"scheduledTerminationTime":-1,"catalogId":- 1,"vdcId":52,"appCategoryId":0,"groupName":"Default Group","vdcName":"test3","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02b70ec-7a1a-80f c67694c3fc6f","committeddiskgb":0.45,"uncommitteddiskgb":0.54,"cpureservationmhz":0,"memreservationmb ":0,"numCPUs":1,"memoryMB":256,"hostCPUHz": ,"vmMacAddr":"00:50:56:ab:33:cd","vmwareDatacent ername":"aditya-dc","hostuniqueid":"5ac69ba df-ad0a-68efbdf6214a","guestos":"red Hat Enterprise Linux 4 (32-bit)"},{"vmId":101,"instanceId":"test3-primaryvsg","accountName":"VCAdi","ipAddress":" ","parentHost":" ","powerStatus":"O N","status":"poweredOn","imageId":"test3-primaryvsg","lastUpdated": ,"isArchived":false,"groupId":1,"serviceRequestId":112,"userLabel":"","comments":"","provisionedTime": ,"scheduledTerminationTime":-1,"catalogId":- 1,"vdcId":52,"appCategoryId":0,"groupName":"Default Group","vdcName":"test3","isUpdatePending":false,"pendingAction":"","vmType":"VMWare","vmUniqueId":"5 02bddb9-c4ad-7f8b-a038- b cdf8","committeddiskgb":0.11,"uncommitteddiskgb":2.88,"cpureservationmhz":1000,"memreservatio nmb":2048,"numcpus":1,"memorymb":2048,"hostcpuhz": ,"vmmacaddr":"00:50:56:ab:2a:1c,00:50:56: ab:58:1c,00:50:56:ab:4b:35","vmwaredatacentername":"aditya-dc","hostuniqueid":"5ac69ba dfad0a-68efbdf6214a","guestos":"other 2.6.x Linux (64-bit)"}]", 3. "serviceerror": null, 4. "servicename": "InfraMgr", 5. "opname": "vacs:userapigetcontainerdetails" 6. } userapivacsmanagefirewallpolicyaclrule (Add Firewall Policy) This API adds firewall policies to the container. To add the firewall policy, use action ID 1. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Sample URL Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <ManageFirewallPolicyAclRuleConfig> <containerid>52</containerid> <jsonpayload> [{"policyname": "test3_policy","policydesc": "this is test policy via rest call","name": "test3_policy_rule_122","firewallaction": "permit","matchcriteria": "match-all","protocolserviceoption": "Protocol","protocol": true,"protocalvalue": "","services": {"list": [],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig"},"srcrules": {"list": [{"attributetype": "zone","attributename": "Zone Name","operator": "eq","attributevalue": "WebZone","zoneAttributeValue": "PNSC;org-root/org-Default_Group/org-test3/zone-WebZone","onlineHelp": "u003ca hrefu003du0027/app/onlinehelp/firewallpolicyaclrule.htmlu

55 targetu003du0027_blanku0027u003ehelpu003c/au003e"}],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig"},"destrules": {"list": [{"attributetype": "zone","attributename": "Zone Name","operator": "eq","attributevalue": "DBZone","zoneAttributeValue": "PNSC;org-root/org- Default_Group/org-test3/zone-DBZone","onlineHelp": "u003ca hrefu003du0027/app/onlinehelp/firewallpolicyaclrule.htmlu0027 targetu003du0027_blanku0027u003ehelpu003c/au003e"}],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig"},"onlinehelp": "u003ca hrefu003du0027/app/onlinehelp/customtemplateacl.htmlu0027 targetu003du0027_blanku0027u003ehelpu003c/au003e"}] </jsonpayload> <actionid>1</actionid> <configentryid></configentryid> </ManageFirewallPolicyAclRuleConfig> ]]> </payload> </cuicoperationrequest> Example Response Header: 1. Status Code: 200 OK 2. Content-Length: Content-Type: text/xml;charset=iso Date: Sun, 28 Jun :18:32 GMT 5. Server: Apache-Coyote/ Set-Cookie: JSESSIONID=02B DCC2D55D685382DBE0; Path=/cloupia/ Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :18:30.530</TimeStamp><Severity>INFO</Severity><Text>ManageFirewallPolicyHandler rest api logs actionlogger!!!</text></message><message><timestamp> :18:32.087</TimeStamp><Severity>INFO</Severity><Text>ACL Policy added successfully...!!!</text></message></log><operationstatus>0</operationstatus><responsemap/></cuicope rationresponse> userapivacsmanagefirewallpolicy (Update Firewall Policy) This API updates the firewall policy that is available in the container. To update the firewall policy, use action ID 2. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Sample URL Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <ManageFirewallPolicyAclRuleConfig> <containerid>52</containerid> <oldaclnames>test3_policy_rule_122</oldaclnames> <jsonpayload> 55

56 [{"policyname": "test3_policy","policydesc": "this is test policy via rest call","name": "test3_policy_rule_122","firewallaction": "drop","matchcriteria": "match-all","protocolserviceoption": "Protocol","protocol": true,"protocalvalue": "","services": {"list": [],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyserviceconfig"},"srcrules": {"list": [{"attributetype": "zone","attributename": "Zone Name","operator": "eq","attributevalue": "WebZone","zoneAttributeValue": "PNSC;org-root/org-Default_Group/org-test3/zone-WebZone","onlineHelp": "u003ca hrefu003du0027/app/onlinehelp/firewallpolicyaclrule.htmlu0027 targetu003du0027_blanku0027u003ehelpu003c/au003e"}],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig"},"destrules": {"list": [{"attributetype": "zone","attributename": "Zone Name","operator": "eq","attributevalue": "DBZone","zoneAttributeValue": "PNSC;org-root/org- Default_Group/org-test3/zone-DBZone","onlineHelp": "u003ca hrefu003du0027/app/onlinehelp/firewallpolicyaclrule.htmlu0027 targetu003du0027_blanku0027u003ehelpu003c/au003e"}],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmcaclpolicyruleconfig"},"onlinehelp": "u003ca hrefu003du0027/app/onlinehelp/customtemplateacl.htmlu0027 targetu003du0027_blanku0027u003ehelpu003c/au003e"}] </jsonpayload> <actionid>2</actionid> <configentryid></configentryid> </ManageFirewallPolicyAclRuleConfig> ]]> </payload> </cuicoperationrequest> Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :26:17.907</TimeStamp> <Severity>INFO</Severity><Text>ManageFirewallPolicyHandler rest api logs actionlogger!!!</text></message><message><timestamp> :26:19.738</TimeStamp><Severity>INFO</Severity><Text>ACL Policy updated successfully...!!!</text></message></log><operationstatus>0</operationstatus><responsemap/></cuicope rationresponse> userapivacsmanagefirewallpolicyaclrule (Delete Firewall Policy) This API deletes the ACL rule from the firewall Policy.To delete the firewall policy, use action ID 3. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Sample URL Address>/cloupia/api-v2/VACSManageFirewallPolicyAclRule Accessible Administrator/end user (dependent on permissions granted by the administrator) 56

57 Sample XML Payload <cuicoperationrequest> <payload> <![CDATA[ <ManageFirewallPolicyAclRuleConfig> <containerid>52</containerid> <oldaclnames>test3_policy_rule_122</oldaclnames> <actionid>3</actionid> <configentryid></configentryid> </ManageFirewallPolicyAclRuleConfig> ]]> </payload> </cuicoperationrequest> Example Response Header: 1. Status Code: 200 OK 2. Content-Length: Content-Type: text/xml;charset=iso Date: Sun, 28 Jun :31:59 GMT 5. Server: Apache-Coyote/1.1 Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :31:57.483</TimeStamp> <Severity>INFO</Severity><Text>ManageFirewallPolicyHandler rest api logs actionlogger!!!</text></message><message><timestamp> :31:59.170</TimeStamp><Severity>INFO</Severity><Text>ACL Policy deleted successfully...!!!</text></message></log><operationstatus>0</operationstatus><responsemap/></cuicope rationresponse> userapigetslb This API provides the SLB details for a container. Method Get Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetSLB &opdata={param0:<containerid>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetSLB&opData={param0:<container id>} Accessible Administrator/end user Example Response Header: Status Code: 200 OK Cache-Control: max-age=0,must-revalidate Content-Length: 5418 Content-Type: application/json;charset=utf-8 Date: Mon, 16 Feb :17:06 GMT Expires: -1 Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ECD2F3737D8D3C75805A8FC4FE702404; Path=/app/; Secure 57

58 Response Body: { "serviceresult":"{\"slb_list\":[{\"vip\":\" \",\"vip_public\":\" \",\"vipnetmask\":\" \",\"vIPgateway\":\" \",\"zone\":\"WebZone\",\"frontPort\":80,\"backPort\":80,\ "statspassword\":\"password\",\"sessionpersist\":1,\"mode\":4,\"datanetworkpgname\":\"in52-pg- lan0\",\"rs_map\":{\"in52_webzone_web- 1\":\" \"}}],\"isHa\":false,\"mgmtIpPrimary\":\" \",\"mgmtSubnetmask\":\" \",\"mgmtGatewayIP\":\" \",\"mgmtPasswdPrimary\":\"Cisco123\",\"mgmtPGName\":\"IN52- mgt\",\"datapgname\":\"in52-pglan0\",\"ovfurl\":\"/opt/infra/uploads/vacs/dir/slb/vacs2.0slb_template.ovf\"}", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetslb } userapigetservicevmpasswords This API gets the passwords of the service virtual machines in a container. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs: userapigetservicevmpasswords&opdata={param0:containerid} Sample URL Address>/app/api/rest?formatType=json&opName=vacs: vacs:userapigetservicevmpasswords &opdata={param0:3} Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output Response: "serviceresult": "{\"IN2-1_WebZone_primary-slb\":\"8hzfcdKI\",\"IN2-1_WebZone_secondary- slb\":\"hwz7f5yb\",\"in2-1-primary-csr\":\"4cdur3lr\",\"in2-1-secondary-vsg\":\"84hc4dew\",\"in2-1- primary-vsg\":\"8byed1vp\",\"in2-1-secondary-csr\":\"flfanf6s\"}", "serviceerror": null, "servicename": "InfraMgr", "opname": "vacs:userapigetservicevmpasswords" } ServiceVMPassword This API sets the passwords for the service VMs in a container. Method PUT Resource URL IP Address>/cloupia/api-v2/ServiceVMPassword Sample URL Address>/cloupia/api-v2/ServiceVMPassword Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample XML Payload 1. Single container, apply default password to all 58

59 <cuicoperationrequest> <payload> <![CDATA[ <ServiceVMPasswordConfigElement> <containerids>16</containerids> <jsonpayload> {"default_password":"neomatrix5", "default_confirm_password":"neomatrix5", "applyall":true} </jsonpayload> <actionid>2</actionid> <configentryid></configentryid> </ServiceVMPasswordConfigElement> ]]> </payload> </cuicoperationrequest> 2. Multiple containers with different passwords <cuicoperationrequest> <payload> <![CDATA[ <ServiceVMPasswordConfigElement> <containerids>16</containerids> <containerids>17</containerids> <jsonpayload> {"csr_password":"csrcisco123", "asav_password":"asavcisco123", "slb_password":"slbcisco123", "vsg_password":"vsgcisco123", "csr_confirm_password":"csrcisco123", "asav_confirm_password":"asavcisco123", "slb_confirm_password":"slbcisco123", "vsg_confirm_password":"vsgcisco123"} </jsonpayload> <actionid>2</actionid> <configentryid></configentryid> </ServiceVMPasswordConfigElement> ]]> </payload> </cuicoperationrequest> 3. Multiple containers override default <cuicoperationrequest> <payload> <![CDATA[ <ServiceVMPasswordConfigElement> <containerids>16</containerids> <containerids>17</containerids> <jsonpayload> {"default_password":"abccisco123", "default_confirm_password":"abccisco123", "applyall":true, "csr_password":"csrcisco123", "asav_password":"asavcisco123", "slb_password":"slbcisco123", "vsg_password":"vsgcisco123", "csr_confirm_password":"csrcisco123", "asav_confirm_password":"asavcisco123", "slb_confirm_password":"slbcisco123", "vsg_confirm_password":"vsgcisco123"} </jsonpayload> <actionid>2</actionid> <configentryid></configentryid> </ServiceVMPasswordConfigElement> ]]> </payload> </cuicoperationrequest> Sample Output <cuicoperationresponse> <Log> <Messages>1</Messages> <Message> <TimeStamp> :33:07.003</TimeStamp> <Severity>INFO</Severity> <Text>Service Request 79 is in progress to Change Password(s).</Text> 59

60 </Message> </Log> <operationstatus>0</operationstatus> <response> <ServiceVMPasswordConfigElementResponse> <VACS-REQ-SR-ID>79</VACS-REQ-SR-ID> </ServiceVMPasswordConfigElementResponse> </response> <responsemap> <entry> <key>vacs-req-sr-id</key> <value>79</value> </entry> </responsemap> </cuicoperationresponse> userapigetzones This API fetches the zone details from a container. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetZones&opData={param0:<containerid>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs: userapigetzones &opdata={param0:3} Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output Response: { "serviceresult":"[\"webzone\",\"appzone\",\"dbzone\"]", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetzones" } userapigetzoneswithvm This API fetches the zone details for a VM. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetZonesWithVMInfo&opData={param0:<container-id>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs: userapigetzoneswithvminfo&opdata={param0:3} Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output Response: 60

61 { "serviceresult":"{\"web\":[{\"vmname\":\"empty_web_web-vm1-1\",\"vmlabel\":\"empty_web_web-vm1-1\",\"masterimage\":{\"cloud\":\"sachin-vc\",\"image\":\"vm-template- DC\",\"templateLogin\":\"root\",\"templatePassword\":\"\",\"passwordOption\":1},\"computeConfig\":{\" derivefromtemplate\":false,\"numcpus\":1,\"memorymb\":256,\"cpureservationmhz\":0,\"memoryreservation MB\":0,\"cpuLimitMHz\":0,\"memLimitMB\":0},\"location\":{\"targetCluster\":\" \",\"targetType\ ":\"host\",\"targetdatastore\":\"datastore1\",\"targetfolder\":\"fencedcontainers/empty\"},\"nics\":[ {\"enabled\":true,\"alias\":\"lan0\",\"networkname\":\"empty-pglan0\",\"addresstype\":\"static\",\"ipaddress\":\" \",\"networkmask\":\" \",\ "gateway\":\" \",\"adaptertype\":\"e1000\"}],\"guestconfig\":{\"hostname\":\"emptywebweb- vm1-1\",\"dnsdomain\":\"cisco.com\",\"windowsinfo\":{\"uselicensefromtemplate\":false,\"productid\":\"\", \"windowsdomain\":\"\",\"isautologon\":true,\"autologoncount\":5,\"password\":\"\",\"domainadmin\":\" \",\"domainpassword\":\"\",\"workgroupname\":\"\",\"jointypedomain\":true,\"issidunique\":false,\"lic ensemode\":\"per- Seat\",\"licenseUsers\":5,\"linuxTimezone\":\"US/Pacific\",\"windowsTimezone\":4,\"orgName\":\"Compan yname\",\"fullname\":\"companyfullname\",\"winlist\":\"\"}},\"owner\":{\"srid\":15,\"groupid\":1,\"vd cid\":3,\"containerid\":3},\"options\":{\"poweron\":true,\"makevmnameunique\":true,\"dothinprovisioni ng\":true,\"usestorageefficiency\":false,\"enableconsoleaccess\":true,\"overwritetemplatedisktype\":f alse},\"leaseinfo\":{\"isunlimited\":true,\"durationdays\":0,\"durationhours\":0},\"vmtype\":\"app\", \"vmnameintemplate\":\"webvm1\",\"requestid\":15,\"useimagenetwork\":false,\"disksize\":0.0}],\"db\":[{\"vmname\":\"empty_db_db -vm1-1\",\"vmlabel\":\"empty_db_db-vm1-1\",\"masterimage\":{\"cloud\":\"sachin-vc\",\"image\":\"vm- Template- DC\",\"templateLogin\":\"root\",\"templatePassword\":\"\",\"passwordOption\":1},\"computeConfig\":{\" derivefromtemplate\":false,\"numcpus\":1,\"memorymb\":256,\"cpureservationmhz\":0,\"memoryreservation MB\":0,\"cpuLimitMHz\":0,\"memLimitMB\":0},\"location\":{\"targetCluster\":\" \",\"targetType\ ":\"host\",\"targetdatastore\":\"datastore1\",\"targetfolder\":\"fencedcontainers/empty\"},\"nics\":[ {\"enabled\":true,\"alias\":\"lan0\",\"networkname\":\"empty-pglan0\",\"addresstype\":\"static\",\"ipaddress\":\" \",\"networkmask\":\" \",\ "gateway\":\" \",\"adaptertype\":\"e1000\"}],\"guestconfig\":{\"hostname\":\"emptydbdb-vm1-1\",\"dnsdomain\":\"cisco.com\",\"windowsinfo\":{\"uselicensefromtemplate\":false,\"productid\":\"\", \"windowsdomain\":\"\",\"isautologon\":true,\"autologoncount\":5,\"password\":\"\",\"domainadmin\":\" \",\"domainpassword\":\"\",\"workgroupname\":\"\",\"jointypedomain\":true,\"issidunique\":false,\"lic ensemode\":\"per- Seat\",\"licenseUsers\":5,\"linuxTimezone\":\"US/Pacific\",\"windowsTimezone\":4,\"orgName\":\"Compan yname\",\"fullname\":\"companyfullname\",\"winlist\":\"\"}},\"owner\":{\"srid\":16,\"groupid\":1,\"vd cid\":3,\"containerid\":3},\"options\":{\"poweron\":true,\"makevmnameunique\":true,\"dothinprovisioni ng\":true,\"usestorageefficiency\":false,\"enableconsoleaccess\":true,\"overwritetemplatedisktype\":f alse},\"leaseinfo\":{\"isunlimited\":true,\"durationdays\":0,\"durationhours\":0},\"vmtype\":\"app\", \"vmnameintemplate\":\"db-vm1\",\"requestid\":16,\"useimagenetwork\":false,\"disksize\":0.0}]}", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetzoneswithvminfo" } If no VMs available then Response : { "serviceresponse":null, "serviceerror":"remote_service_exception: No vms depolyed by this containerid:3", "servicename":"inframgr", "opname":"vacs:userapigetzoneswithvminfo" } userapivacsmanagezones This API allows you to add or delete security zones in a custom container. You cannot modify or delete template zones. You must use the following action ID number to either add or delete the zone from a custom container: 1. Action ID 1 Adds a zone. For the sample input and out examples, see userapivacsmanagezones (Add Zones) 2. Action ID 2 Deletes a zone For the sample input and out examples, see userapivacsmanagezones (Delete Zones) Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManageZones Sample URL 61

62 Address>/cloupia/api-v2/VACSManageZones Accessible Administrator/end user (dependent on permissions granted by the administrator) userapivacsmanagezones (Add Zones) Sample XML Input 1. Sample payload for a custom container that does not contain Cisco VSG. Note: The administrator and the end user cannot define the zone conditions for a custom container that does not contain Cisco VSG. In this case, the vnmczonerules list field must be blank in the payload. <cuicoperationrequest> <payload> <![CDATA[ <ManageZonesRestConfig> <containerid>97</containerid> <jsonpayload> [{"zonename": "DB2","zoneDesc": "","vnmczonerules": {"list": [],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig"}},{"zonename": "DB3","zoneDesc": "","vnmczonerules": {"list": [],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig"}}] </jsonpayload> <actionid>1</actionid> <configentryid></configentryid> </ManageZonesRestConfig> ]]> </payload> </cuicoperationrequest> 2. Sample payload for a custom container that contains Cisco VSG. Note: The administrator and the end user can define the zone conditions for a custom container that contain Cisco VSG, although it is not a mandatory field. The following values are available for each of the available fields: Field attributetype attributename operator attributevalue prefixedipaddressvalue prefixedsubnetvalue Available Values and network / vm Port Profile Name / VM Name / IP Address range / eq / neq / prefix / contains Enter an appropriate value. Enter an appropriate prefixed IP address value. Enter an appropriate prefixed subnet value. <cuicoperationrequest> <payload> <![CDATA[ <ManageZonesRestConfig> <containerid>103</containerid> <jsonpayload> [{"zonename": "DB3","zoneDesc": "","vnmczonerules": {"list": [{"attributetype": "network","attributename": "IP Address","operator": "range","attributevalue": " ","prefixedIpAddressValue": "","prefixedsubnetvalue": ""}],"motypename": "com.cloupia.feature.stingray.firewallpolicy.model.stgvnmczoneruleconfig"}}] </jsonpayload> <actionid>1</actionid> <configentryid></configentryid> </ManageZonesRestConfig> 62

63 ]]> </payload> </cuicoperationrequest> Sample Output Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :21:57.549</TimeStamp><Severity>INFO</Severity><Text>ManageZonesRestHandler rest api logs actionlogger!!!</text></message><message><timestamp> :21:57.805</TimeStamp><Severity>INFO</Severity><Text>Created SR 223 for workflow VACS Manage Zones</Text></Message></Log><operationStatus>0</operationStatus><responseMap/></cuicOperationResponse > userapivacsmanagezones (Delete Zones) Sample XML Input <cuicoperationrequest> <payload> <![CDATA[ <ManageZonesRestConfig> <containerid>103</containerid> <jsonpayload> {"zonenames":["web3","web4"]} </jsonpayload> <actionid>2</actionid> <configentryid></configentryid> </ManageZonesRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :17:19.314</TimeStamp><Severity>INFO</Severity><Text>ManageZonesRestHandler rest api logs actionlogger!!!</text></message><message><timestamp> :17:20.179</TimeStamp><Severity>INFO</Severity><Text>Created SR 272 for workflow VACS Manage Zones</Text></Message></Log><operationStatus>0</operationStatus><responseMap/></cuicOperationResponse > userapigetreservationinfo This API fetches the end user option menu details. Method GET Resource URL IPAddress>/app/api/rest?formatType=json&opName=vacs: userapigetreservationinfo&opdata={} Sample URL 63

64 Parameters Integer Container ID Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output { "serviceresult":"{\"csr_info\":{\"subinterfaceconfig\":[{\"networktype\":1,\"datavlanid\":\"4071\",\" ipaddressprimary\":\" \",\"subnetmask\":\" \",\"gatewayip\":\" \",\"net AddressIP\":\" \",\"subnetId\":\"IP subnet- 2\",\"networkName\":\"lan0\",\"subnetIpRange\":\" \",\"broadcastIp\":\" \"}],\"uplinkConfig\":{\"csrUplinkIpPrimary\":\" \",\ "csruplinkvlanid\":\"2127\",\"csruplinksubnetmask\":\" \",\"csruplinkgatewayip\":\" \"},\"isha\":false,\"mgmtipprimary\":\" \",\"mgmtsubnetmask\":\" \",\"mgmtgate wayip\":\" \",\"remotemgmtipprimary\":\" \",\"managementpgname\":\"test1- mgt\",\"managementpgtype\":\"distributed Virtual Portgroup\",\"managementVlanId\":\"2126\",\"dataPGName\":\"test1-csr-vlandata\",\"dataPGType\":\"Distributed Virtual Portgroup\",\"haVxlanId\":0,\"csrHaId\":0,\"mgmtPasswordPrimary\":\"1hRp9MP9\",\"mgmtPasswordSecondar y\":\"c7wge48q\",\"mgmtpasswordprimaryvsg\":\"sabqb7dj\",\"mgmtpasswordsecondaryvsg\":\"rjplvufa\",\" islicensed_pri\":true,\"bandwidth_pri\": ,\"islicensed_sec\":false,\"bandwidth_sec\":0,\"islic ensedelegated_pri\":true,\"islicensedeletaged_sec\":false},\"vmnetwork_info\":{\"provisionedportgroup s\":[{\"accountname\":\"vc72\",\"host\":\" \",\"vswitch\":\"vds\",\"portgroup\":\"test1- pg-lan0\",\"vlanid\":4071,\"vxlanid\":- 1,\"isVXLANBased\":false,\"tierName\":\"\",\"hypervIPPoolIdentity\":\"\"}],\"provisionedVSGPgs\":[]}, \"APP_VM_INFO\":{\"test1_WebZone_web- 1\":{\"VM_ID\":[\"34\"],\"VM_STATIC_NAT_IP\":[\" \"],\"VM_IP\":[\" \"]}},\"VSG_INFO\ ":{\"provisionedvsgpgs\":[{\"accountname\":\"vc72\",\"host\":\" \",\"vswitch\":\"vds\",\" portgroup\":\"test1-vsg-vxlan-data-ha\",\"vlanid\":-1,\"vxlanid\":20004,\"vmwarepgid\":\"dvportgroup- 624\",\"isVXLANBased\":false,\"tierName\":\"\",\"hypervIPPoolIdentity\":\"\"},{\"accountName\":\"VC72 \",\"host\":\" \",\"vswitch\":\"vds\",\"portgroup\":\"test1-vsg-vxlan-data- ha\",\"vlanid\":-1,\"vxlanid\":20004,\"vmwarepgid\":\"dvportgroup- 624\",\"isVXLANBased\":false,\"tierName\":\"\",\"hypervIPPoolIdentity\":\"\"}],\"allocatedVsgIP\":\" \",\"allocatedVNMCFirewallIP\":\" \",\"vsgHaVlanId\":20004,\"vsgDataVlanId\":20004,\ "vsghaid\":1464,\"vsgsubnetmask\":\" \",\"vsggatewayip\":\" \",\"vsgmanagementpgna me\":\"test1-mgt\",\"vsgmanagementpgtype\":\"distributed Virtual Portgroup\",\"allocatedVNMCFirewallSubnetMask\":\" \",\"containerUsedIPList\":[]},\"SLB _INFO\":{\"slb_list\":[],\"isHa\":false}}", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetreservationinfo" } userapigetmanagevmnetwork This API gets the VM network names for a container. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs: userapigetmanagevmnetwork&opdata={param0:containerid} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetManageVMNetwork&opData={param0:2} Accessible Administrator Sample Output Response: 64

65 } { "serviceresult": "{\"lan0\":true,\"lan6\":true}", "serviceerror": null, "servicename": "InfraMgr", "opname": "vacs:userapigetmanagevmnetwork" userapivacsmanagenetwork This API allows you to add or delete VM networks to a custom container. You cannot modify or delete existing VM networks. You must use the following action ID number to either add or delete the VM networks from a custom container: 3. Action ID 1 Adds a VM network. For the sample input and out examples, see userapivacsmanagezones (Add VM Network) 4. Action ID 2 Deletes a VM network For the sample input and out examples, see userapivacsmanagezones (Delete VM Network) Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManagenetwork Sample URL Address>/cloupia/api-v2/VACSManagenetwork Accessible Administrator userapivacsmanagenetwork (Add VM Network) Sample XML Input <cuicoperationrequest> <payload> <![CDATA[ <ManageNetworkRestConfig> <containerid>97</containerid> <actionid>1</actionid> <jsonpayload> [{"networkname":"lan23", "networktype":"vlan", "policyname":"vlan64", "ippoolpolicy":"64"}] </jsonpayload> </ManageNetworkRestConfig>]]> </payload> </cuicoperationrequest> Sample Output Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>2</messages><message><timestamp> :13:33.510</TimeStamp><Severity>INFO</Severity><Text>ManageNetworksRestHandler rest api logs actionlogger!!!</text></message><message><timestamp> :14:10.343</TimeStamp><Severity>INFO</Severity><Text>Service Request 33 is in progress to configure Manage VM Network.</Text></Message></Log><operationStatus>0</operationStatus><responseMap/></cuicOperationRespo nse> JSON Payload Attributes 65

66 networkname Valid network name, must be unique networktype VLAN/VXLAN/PORTGROUP policyname Defined policy from Cisco UCS Director, based on the network typeucsd. ippoolpolicy Defined policy from the Cisco UCS DIrector (subnet ip pool policy / Static ip pool policy) userapivacsmanagenetwork (Delete VM Network) Sample XML Input <cuicoperationrequest> <payload> <![CDATA[ <ManageNetworkRestConfig> <containerid>19</containerid> <actionid>2</actionid> <jsonpayload> [{"networkname":"lan0"}] </jsonpayload> </ManageNetworkRestConfig> ]]> </payload> </cuicoperationrequest> Sample Output Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>1</messages><message><timestamp> :05:38.716</TimeStamp><Severity>INFO</Severity><Text>ManageNetworksRestHandler rest api logs actionlogger!!!</text></message><message><timestamp> :25:18.344</TimeStamp><Severity>INFO</Severity><Text>Service Request 34 is in progress to configure Manage VM Network.</Text></Message></Log><operationStatus>3</operationStatus></cuicOperationResponse> VACSManagenetworkGarbageCollection This API is used to clean the VM Network details from the database if the added network has failed. Mainly this API should be used when the rollback of VM Networks fails to clear the entries from the database. Method PUT Resource URL IP Address>/cloupia/api-v2/VACSManagenetworkGarbageCollection Sample URL Address>/cloupia/api-v2/VACSManagenetworkGarbageCollection Accessible Administrator Sample Input <cuicoperationrequest> <payload> <![CDATA[ <ManageNetworkRestConfig><containerId>22</containerId><jsonPayload> [{"networkname":"lan67 }] </jsonpayload></managenetworkrestconfig> ]]> 66

67 Sample Output Response Body: <?xml version="1.0" encoding="utf-8" standalone="yes"?><cuicoperationresponse><log><messages>5</messages><message><timestamp> :16:28.215</TimeStamp><Severity>INFO</Severity><Text>ManageNetworkGChandler rest api logs actionlogger!!!</text></message><message><timestamp> :16:28.241</TimeStamp><Text>Following Network resources are released VLAN : 67 IP SUBNET: </Text></Message><Message><TimeStamp> :16:28.336</TimeStamp><Severity>INFO</Severity></Message></Log><operationStatus>0</operationStatus> <responsemap/></cuicoperationresponse> userapigetvacsversion This API fetches the Cisco VACS version details. Method GET Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs: userapigetvacsversion&opdata={} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetVACSVersion&opData={} Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output Response: { "serviceresult": "{\"Solution\":\"VACS\",\"Vacs Version\":\"VACS-5_5_STV_3_1\",\"VACS BUILD\":\"1950\}" "serviceerror": null "servicename": "InfraMgr" "opname": " vacs:userapigetvacsversion" } userapigetcontainerreport This API fetches the Cisco VACS container report in an HTML format. Follow the guidelines based on the type secure report: 1) If the secure report is enabled, the report type values are: a. For the admin user, the values are between Summary (for Self-Service users) 1 Detailed Report ( for Self-Service users) 2 Detailed Report without Credentials (for Administrators) 3 Detailed Report with Credentials (for Administrators) b. For the end user, the values are between Summary 1 Detailed Report 2) If the secure report is not enabled, the report values are: a. For the admin user, the values are between Summary (for Self-Service users) 1 Detailed Report without credentials (for Self-Service users) 2 Detailed Report with credentials (for Self-Service users) 3 Detailed Report without credentials (for Administrators) 4 Detailed Report with credentials ( for Administrators) b. For the end user, the values are between

68 Method GET 0 Summary 1 Detailed Report without credentials (for Self-Service users) 2 Detailed Report with credentials (for Self-Service users) Resource URL IP Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetContainerReport&opData={param0:<ContainerId>,par am1:<reporttype>} Sample URL Address>/app/api/rest?formatType=json&opName=vacs:userAPIGetContainerReport&opData={param0:222,param1:4} Accessible Administrator/end user (dependent on permissions granted by the administrator) Sample Output Response: { "serviceresult":"<head><title>container: csr1</title><style type='text/css'>.c1 {font-weight: normal;text-align: left;font-size: 8pt;font-family: Verdana, Arial, sans-serif}.c2 {font-weight: bold;text-align: left;font-size: 8pt;font-family: Verdana, Arial, sans-serif} p.indent1 { marginleft: 20px; page-break-inside: avoid; p.indent2 { margin-left: 40px; page-break-inside: avoid;</style></head><body bgcolor='#ffffff' topmargin=0><table class='c1' border=0 cellspacing=2 cellpadding=1 width='100%' bgcolor='#e3effe'><tr><td width=195 align=right valign=top>container Name: </td><td align=left valign=top>csr1</td></tr><tr><td width=195 align=right valign=top>container Template: </td><td align=left valign=top>csrmanage</td></tr><tr><td width=195 align=right valign=top>group: </td><td align=left valign=top>santhan-grp</td></tr><tr><td width=195 align=right valign=top>created: </td><td align=left valign=top>sat Jul 23 21:42:16 UTC 2016</td></tr><tr><td width=195 align=right valign=top>leased Until: </td><td align=left valign=top></td></tr><tr><td width=195 align=right valign=top>service Request: </td><td align=left valign=top>870 (Initiated by santhan)</td></tr><tr><td width=195 align=right valign=top>service Request Status: </td><td align=left valign=top>complete</td></tr><tr><td width=195 align=right valign=top>orchestration Flow: </td><td align=left valign=top>vacs Container Setup</td></tr></table><h2>Virtual Machines</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>cloud Name</th><th>VMID</th><th>VM Name</th><th>Status</th><th>Zone Name</th><th>IP Address</th><th>Static NAT IP</th><th>Provisioned Time</th></tr><tr><td>Santhan-Cloud</td><td>670</td><td>csr1-primarycsr</td><td>ON</td><td></td><td> </td><td></td><td>Sat Jul 23 21:57:48 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>671</td><td>csr1-secondarycsr</td><td>ON</td><td></td><td> </td><td></td><td>Sat Jul 23 21:58:57 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>672</td><td>csr1_web_Test_primaryslb</td><td>ON</td><td>web</td><td> </td><td></td><td>Sat Jul 23 22:00:12 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>673</td><td>csr1_web_Test_secondaryslb</td><td>ON</td><td>web</td><td> </td><td></td><td>Sat Jul 23 22:03:10 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>675</td><td>csr1-primaryvsg</td><td>ON</td><td></td><td> </td><td></td><td>Sat Jul 23 22:08:37 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>676</td><td>csr1-secondaryvsg</td><td>ON</td><td></td><td></td><td></td><td>Sat Jul 23 22:10:45 UTC 2016</td></tr><tr><td>Santhan-Cloud</td><td>674</td><td>csr1_web_Test_web- 1</td><td>ON</td><td>web</td><td> , </td><td></td><td>Sat Jul 23 22:05:31 UTC 2016</td></tr></table><br><br><a name='vm670'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1-primary-csr</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>670</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>csr</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1-primary-csr/csr1-primary-csr.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>other 2.6.x Linux (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>csr1-primary-870</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on 68

69 (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>1.15 GB Committed, GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>4 GB (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:24:39</td><td>csr1- mgt</td></tr><tr><td>network adapter 2</td><td></td><td>00:50:56:90:1a:8d</td><td>csr1-csr-vlandata</td></tr><tr><td>Network adapter 3</td><td></td><td>00:50:56:90:0a:e7</td><td>Unused_Or_Quarantine_Veth</td></tr></table></td></tr><tr ><td width=175 align=right valign=top>admin Password: </td><td width=500 align=left valign=top>zlrerbwx</td></tr></table></p><a name='vm671'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1-secondary-csr</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>671</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>csr</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1-secondary-csr/csr1-secondary-csr.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>other 2.6.x Linux (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>csr1-secondary-870</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>1.15 GB Committed, GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>4 GB (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:21:46</td><td>csr1- mgt</td></tr><tr><td>network adapter 2</td><td></td><td>00:50:56:90:62:2b</td><td>csr1-csr-vlandata</td></tr><tr><td>Network adapter 3</td><td></td><td>00:50:56:90:17:e4</td><td>Unused_Or_Quarantine_Veth</td></tr></table></td></tr><tr ><td width=175 align=right valign=top>admin Password: </td><td width=500 align=left valign=top>5mmavmfa</td></tr></table></p><a name='vm672'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1_web_test_primary-slb</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>672</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>load Balancer</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1_web_test_primary-slb/csr1_web_test_primaryslb.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>centos 4/5/6 (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>csr1_web_test_primaryslb</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>1.36 GB Committed, GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>2 GB (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (1 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:53:8e</td><td>csr1-mgt</td></tr><tr><td>Network adapter 2</td><td></td><td>00:50:56:90:1d:ce</td><td>csr1-pg-lan0</td></tr></table></td></tr></table></p><a name='vm673'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1_web_test_secondary-slb</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>673</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>load Balancer</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 69

70 align=left valign=top>[santhj] csr1_web_test_secondary-slb/csr1_web_test_secondaryslb.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>centos 4/5/6 (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>csr1_web_test_secondaryslb</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>1.36 GB Committed, GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>2 GB (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (1 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:70:e9</td><td>csr1-mgt</td></tr><tr><td>Network adapter 2</td><td></td><td>00:50:56:90:23:a5</td><td>csr1-pg-lan0</td></tr></table></td></tr></table></p><a name='vm675'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1-primaryvsg</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>675</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>vsg</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1-primary-vsg/csr1-primaryvsg.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>other 2.6.x Linux (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>vsg_csr1</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>0.11 GB Committed, 2.88 GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>2 GB (2 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (1 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:42:2c</td><td>csr1-vsg-vxlandata-ha</td></tr><tr><td>Network adapter 2</td><td></td><td>00:50:56:90:73:52</td><td>csr1- mgt</td></tr><tr><td>network adapter 3</td><td></td><td>00:50:56:90:25:70</td><td>csr1-vsg-vxlandata-ha</td></tr></table></td></tr><tr><td width=175 align=right valign=top>console Access: </td><td width=500 align=left valign=top><a href='vnc:// :5948'>vnc:// :5948</a><br>password: <i>u0bbhfpt</i></td></tr><tr><td width=175 align=right valign=top>admin Password: </td><td width=500 align=left valign=top>fwj9sn1a</td></tr></table></p><a name='vm676'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1-secondary-vsg</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>676</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>vsg</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1-secondary-vsg/csr1-secondary-vsg.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>other 2.6.x Linux (64-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>vsg_csr1</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>0.11 GB Committed, 2.88 GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>2 GB (2 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (1 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td></td><td>00:50:56:90:0f:65</td><td>csr1-vsg-vxlandata-ha</td></tr><tr><td>Network adapter 2</td><td></td><td>00:50:56:90:70:02</td><td>csr1- mgt</td></tr><tr><td>network adapter 3</td><td></td><td>00:50:56:90:50:27</td><td>csr1-vsg-vxlandata-ha</td></tr></table></td></tr><tr><td width=175 align=right valign=top>admin Password: </td><td 70

71 width=500 align=left valign=top>los7wlb5</td></tr></table></p><a name='vm674'><p class='indent2'><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vm Name: </td><td width=500 align=left valign=top><b>csr1_web_test_web- 1</b></td></tr><tr><td width=175 align=right valign=top>vm ID: </td><td width=500 align=left valign=top>674</td></tr><tr><td width=175 align=right valign=top>vm Type: </td><td width=500 align=left valign=top>application VM</td></tr><tr><td width=175 align=right valign=top>deployed on: </td><td width=500 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>path: </td><td width=500 align=left valign=top>[santhj] csr1_web_test_web- 1/csr1_web_Test_web-1.vmx</td></tr><tr><td width=175 align=right valign=top>resource Pool: </td><td width=500 align=left valign=top>resources</td></tr><tr><td width=175 align=right valign=top>os: </td><td width=500 align=left valign=top>red Hat Enterprise Linux 4 (32-bit)</td></tr><tr><td width=175 align=right valign=top>hostname: </td><td width=500 align=left valign=top>csr1webtestweb- 1</td></tr><tr><td width=175 align=right valign=top>status: </td><td width=500 align=left valign=top>on (poweredon)</td></tr><tr><td width=175 align=right valign=top>disk Size: </td><td width=500 align=left valign=top>0.48 GB Committed, 0.51 GB Uncommitted</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>0.5 GB (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>cpu: </td><td width=500 align=left valign=top>1 X 2.3 GHz (0 Reserved)</td></tr><tr><td width=175 align=right valign=top>network Interfaces: </td><td width=500 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>adaptor Name</th><th>IP Address</th><th>MAC Address</th><th>Network Name</th></tr><tr><td>Network adapter 1</td><td> ,fe80::250:56ff:fe90:4aaf</td><td>00:50:56:90:4a:af</td><td>csr1-pglan0</td></tr><tr><td>Network adapter 2</td><td> ,fe80::250:56ff:fe90:a00</td><td>00:50:56:90:0a:00</td><td>Dummy</td></tr></table></ td></tr><tr><td width=175 align=right valign=top>console Access: </td><td width=500 align=left valign=top><a href='vnc:// :5932'>vnc:// :5932</a><br>password: <i>f0xmpvje</i></td></tr></table></p><br></p><h2>container Port Groups</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>cloud Name</th><th>DVSwitch</th><th>Port Group</th><th>VLAN</th><th>VXLAN</th></tr><tr><td>Santhan- Cloud</td><td>santhj-vacs-vsm</td><td>csr1-pg-lan0</td><td>591</td><td>N/A</td></tr><tr><td>Santhan- Cloud</td><td>santhj-vacs-vsm</td><td>csr1-pg-lan1</td><td>625</td><td>N/A</td></tr><tr><td>Santhan- Cloud</td><td>santhj-vacs-vsm</td><td>csr1-pg-lan2</td><td>14</td><td>N/A</td></tr><tr><td>Santhan- Cloud</td><td>santhj-vacs-vsm</td><td>Dummy</td><td>N/A</td><td>N/A</td></tr></table><br></p><p class='indent1'><h2>resource Requirements</h2><p class='indent1'>following resources are consumed at the time of provisioning<br><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>total VM Quantity: </td><td width=500 align=left valign=top>7</td></tr><tr><td width=175 align=right valign=top>memory: </td><td width=500 align=left valign=top>16.5 GB</td></tr><tr><td width=175 align=right valign=top>memory Reserved: </td><td width=500 align=left valign=top>4 GB</td></tr><tr><td width=175 align=right valign=top>number of VCPUs: </td><td width=500 align=left valign=top>7</td></tr><tr><td width=175 align=right valign=top>cpu Reserved: </td><td width=500 align=left valign=top>4 GHz</td></tr><tr><td width=175 align=right valign=top>committed Disk: </td><td width=500 align=left valign=top>5.72 GB</td></tr><tr><td width=175 align=right valign=top>uncommitted Disk: </td><td width=500 align=left valign=top>65.21 GB</td></tr></table></p><h2>Event History</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>event ID</th><th>Time</th><th>Type</th><th>User</th><th>VM</th><th>Decription</th></tr><tr><td>89102</td><t d>sat Jul 23 21:58:08 UTC 2016</td><td>VM Discovered</td><td></td><td>csr1-primary-csr</td><td>VM provisioned through Service Request #870, current power state=on, status=poweredon</td></tr><tr><td>89027</td><td>sat Jul 23 21:42:16 UTC 2016</td><td>Container Added</td><td></td><td></td><td>Container csr1 created.</td></tr></table><br></p><h2>virtual Machine Subnet Information</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>network Ip</th><th>Gateway Ip</th><th>Subnet Mask</th><th>Vlan</th><th>VxLan</th></tr><tr><td> </td><td> </td><td> < /td><td>591</td><td>- </td></tr><tr><td> </td><td> </td><td> </td><td>625</td><td>- </td></tr><tr><td> </td><td> </td><td> </td><td>14</td><td>- </td></tr></table><br></p><h2>server Load Balancing</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='100%' bgcolor='#e3effe'><tr><td width=195 align=right valign=top>slb Name Primary: </td><td align=left valign=top>csr1_web_test_primaryslb</td></tr><tr><td width=195 align=right valign=top>mgmt IP Primary: </td><td align=left valign=top> </td></tr><tr><td width=195 align=right valign=top>mgmt Password Primary: </td><td align=left valign=top>tgpv9ajl</td></tr><tr><td width=195 align=right valign=top>slb Name Secondary: </td><td align=left valign=top>csr1_web_test_secondary-slb</td></tr><tr><td width=195 align=right valign=top>mgmt IP Secondary: </td><td align=left valign=top> </td></tr><tr><td width=195 align=right valign=top>mgmt Password Secondary: </td><td align=left valign=top>tuynakpr</td></tr><tr><td width=195 align=right valign=top>mgmt IP Netmask: </td><td align=left valign=top> </td></tr><tr><td width=195 align=right valign=top>mgmt Network 71

72 Gateway: </td><td align=left valign=top> </td></tr><tr><td width=195 align=right valign=top>data Port Group Name: </td><td align=left valign=top>csr1-pg-lan0</td></tr><tr><td width=195 align=right valign=top>mgmt Port Group Name: </td><td align=left valign=top>csr1- mgt</td></tr><tr><td width=195 align=right valign=top>stats URL Primary: </td><td align=left valign=top> width=195 align=right valign=top>stats URL Secondary: </td><td align=left valign=top> width=195 align=right valign=top>stats Username: </td><td align=left valign=top>statsadmin</td></tr><tr><td width=195 align=right valign=top>stats Password: </td><td align=left valign=top>hxpjju6w</td></tr></table><table class='c1' border=0 cellspacing=2 cellpadding=1><tr><td width=175 align=right valign=top>vip: </td><td width=700 align=left valign=top><b> </b></td></tr><tr><td width=175 align=right valign=top>vip Public IP: </td><td width=700 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>zone: </td><td width=700 align=left valign=top>web</td></tr><tr><td width=175 align=right valign=top>vip Netmask: </td><td width=700 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>vip Gateway: </td><td width=700 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>ha Primary IP: </td><td width=700 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>ha Secondary IP: </td><td width=700 align=left valign=top> </td></tr><tr><td width=175 align=right valign=top>session Persistence: </td><td width=700 align=left valign=top>none</td></tr><tr><td width=175 align=right valign=top>traffic Mode: </td><td width=700 align=left valign=top>tcp</td></tr><tr><td width=175 align=right valign=top>frontend HTTP Port: </td><td width=700 align=left valign=top> 80</td></tr><tr><td width=175 align=right valign=top>backend HTTP Port: </td><td width=700 align=left valign=top> 80</td></tr><tr><td width=175 align=right valign=top>frontend HTTPS Port: </td><td width=700 align=left valign=top> 443</td></tr><tr><td width=175 align=right valign=top>backend HTTPS Port: </td><td width=700 align=left valign=top> 443</td></tr><tr><td width=175 align=right valign=top>real Servers: </td><td width=700 align=left valign=top><table class='c1' border=0 cellspacing=2 cellpadding=1 bgcolor='#ccdbed'><tr><th>rs-name</th><th>rs-ip</th></tr><tr><td>csr1_web_test_web- 1</td><td> </td></tr></table></td></tr></table><h2>CSR 1000v License Details</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>csrname</th><th>iscsrlic</th><th>throughput</th><th>type</th></tr><tr><td>csr1- primary-csr</td><td>licensed</td><td>10 Gbps</td><td>Delegated</td></tr><tr><td>csr1-secondarycsr</td><td>Licensed</td><td>10 Gbps</td><td>Delegated</td></tr></table><br></p><h2>CSR Uplink Information</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>csr Name</th><th>Csr Ip</th><th>Gateway Ip</th><th>Subnet Mask</th><th>Vlan</th></tr><tr><td>csr1-primarycsr</td><td> </td><td> </td><td> </td><td>7</td></tr><tr><td>csr1-secondarycsr</td><td> </td><td> </td><td> </td><td>7</td></tr></table><br></p><h2>Sta tic Nat Details</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>vm Name</th><th>Nic Name</th><th>Mac Address</th><th>Internal Ip Address</th><th>External Ip Address</th></tr></table><br></p><h2>Erspan Details</h2><p class='indent1'><table class='c1' border=0 cellspacing=2 cellpadding=1 width='80%'><tr><th>session Id</th><th>Destination IP Address</th></tr></table><br></p>", "serviceerror":null, "servicename":"inframgr", "opname":"vacs:userapigetcontainerreport" } Script Operations userapiexecutevixscript Allows you to execute commands in a guest operating system (OS) for configuring parameters in the guest OS through the script commands. Note: The following characters are used to escape special characters in the JSON object: $, ", and \. The following sample shows an example of how to use escape special characters: /app/api/rest?formattype=json&opname=genericvm:userapiexecutevixscript&opdata={param0:355, param1:"root",param2:"cloupia123",param3:"/bin/echo \"Hello\";/bin/echo 'NPROXY=\$1' "} Parameters int vmid ID of the virtual machine (VM) on which you want to run the VIX script. String username User name that is used for accessing the VM. 72

73 Understanding Workflows String password Password that is set for accessing the VM. String script VIX script commands that need to be executed on the VM. Return Value Type Integer (service request ID) Accessible Administrator/end user Understanding Workflows Cisco UCS Director Orchestrator allows you to organize workflows so that you can automate simple or complex actions on your infrastructure (either physical or virtual). By using Orchestrator, you can organize tasks into distinct workflows to accomplish specific IT services, such as adding VMs. You can then add multiple tasks to a workflow using the workflow UI designer. Triggers help initiate actions inside a workflow. You can execute the workflow directory or have a trigger begin the process. A typical workflow consists of the following elements: Workflow Designer (GUI interface) Predefined Tasks The simplest workflow consists of two connected tasks. A task represents a particular action or operation. The workflow determines the order in which your tasks are executed by Orchestrator. When constructing workflows, by dragging-anddropping tasks, it is possible to route the output of one workflow into the input of another workflow. This connecting of multiple tasks is how you create more complex workflows. Workflow Designer You use the workflow designer to implement actions or to select tasks from a list and then drag and drop them onto your Workflow Designer pane. Common workflow editing actions are as follows: Name Add Workflow Import Workflow Export Workflow Clone Workflow Edit Workflow Delete Workflow Workflow Designer Export as Template Execute Now Schedule Lock/Unlock Workflow Workflow Designer Window (Full View) Adds a new workflow. Imports a workflow to the other sources. Exports a workflow from Cisco UCS Director. Clones the selected workflows. Edits a selected workflow. Deletes a selected workflow. Opens the workflow designer for a selected workflow. Exports the selected workflow as a template. Executes the selected workflow. Schedules a workflow. Locks a workflow to prevent any modifications. Once locked, the workflow cannot be deleted or unlocked. Provides a full view button at the top, which displays the entire workflow in one window. To magnify a portion of the workflow move your cursor over a workflow segment. 73

74 Understanding Workflows The Workflow Designer viewing options are as follows: Name Edit Workflow Properties Compact View Mode Auto Layout Validate Workflow Execute Now Modifies existing workflow properties from within the Workflow Designer pane. Displays the workflow task list in compact view in order to display a large number of tasks without having to scroll through your display. Formats the task icons within the Workflow Designer to a linear design. Checks if the tasks, their input mappings and their connections are valid or not. Executes (runs) the existing workflow. Predefined Tasks A predefined task is a specific action or operation that has inputs and outputs. Orchestrator uses several predefined tasks for compute, storage and network functions in both virtual and physical infrastructures. The predefined tasks can be grouped together and used as inputs to other pre-defined tasks. Task SSH Command Collect Inventory Execute Cloupia Script Notify URL Executes a command in a secure shell (SSH) session. Collects inventory collection task for available devices. Execute a script within a workflow. Notifies the specified URL. Predefined Workflows An index of predefined workflows, written by Cisco engineering and support staff, is available for download in the Cisco Communities Forum. You can view, copy, and modify these workflows and use them in Orchestrator. Note: The workflows available on the Cisco Communities Forum are provided "as is," and in no event does Cisco warrant that the workflows are error free. View the Workflow Index at: Cisco VACS Workflows Cisco VACS provides the following predefined workflows: 1. Installing Cisco Nexus 1000V 2. Installing Cisco PNSC 3. Adding a host to Cisco Nexus 1000V 4. Adding multiple hosts to Cisco Nexus 1000V 5. Managing the Service VM Password 6. Setting up the container 7. Managing the container VM action 8. Adding VMs to a container 9. Adding VM networks 10. Deleting VMs 74

75 Understanding Workflows 11. Deleting VM networks 12. Managing Zones 13. Configuring ERSPAN 14. Configuring StaticNAT 75

76 Understanding Workflows Creating a Workflow To create a workflow, perform the following steps: 1. On the menu bar, choose Policies > Orchestration. 2. Choose the Workflows tab. 3. Click Add New Workflow. 4. In the Add Workflow screen, complete the following fields: Name Workflow Name field field Workflow Context from the drop-down list Save as Compound Task checkbox Place in New Folder checkbox Select Folder drop-down list Notify status of execution to initiating User check box Additional User(s) to send notification field Policy drop-down list The workflow name. The description of the workflow. The workflow context. Orchestrator supports the following options: Any- Lets the workflow be used in any context. Selected VM Lets the workflow be executed only when the VM is selected. Defines the workflow as a compound task. Assigns the workflow to a new folder. Choose the proper folder from the drop-down list. Allows multiple notifications. The IDs of the recipients who should be notified. The policy to be associated with the workflow. 5. Click Next. 6. In the Worklfow: Add User Inputs screen, complete the fields: Name Associate to Activity check box Activity drop-down list Assigns the user input(s) of the workflow to the selected activities. The list of existing activities. Click + to add additional user inputs. Click Submit. 7. Click Next. 8. In the Worklfow: Add User Outputs screen, click + to add new entries and complete the fields: Name Output Label check box Output field Output Type button The name of the output label. The description of the output label. The type of output. Click Submit. 9. Click Submit. An empty workflow is created. 10. From inside the Workflow Designer pane, place your cursor on the Start task icon. A portion of the task icon is highlighted green or red. 11. From the Available Task pane drag-and-drop a onto the Workflow Designer page. 12. From the Available Task pane drag-and-drop the task icon onto the Workflow Designer page. 13. Click on the green portion of the Start task icon and drag your cursor to the first. A link is established. When this task is successful, the workflow grows in functionality. Do this step for all tasks of a workflow (both success and failure). 14. Click on the red portion of the Start task icon and drag your cursor to the Completed (Failed) task icon. 15. On the CreateClusterLogicalInterface task icon move your cursor over the red area (right-side) and drag to the Completed (Failed) task icon. 16. Click Validate Workflows. 76

77 Understanding Workflows Adding Tasks to a Workflow Orchestrator contains a set of predefined tasks that you can readily use to create workflows. Tasks are categorized based on their functionality and can be accessed from the Workflow Designer interface. To add a task to an existing workflow, perform the following steps: 1. From the Orchestration window, choose a workflow. 2. Click Workflow Designer. The Workflow Designer window appears. 3. On the left-side of the Workflow Designer, select a category and click the Available Tasks folder. 4. Click on a required task and drag-and-drop the selected task onto the Workflow Designer window. The orchestration task library appears. Click an entry to see more information about specific inputs and outputs that are available. Linking Tasks Linking tasks is required in order to assemble a complete workflow. Some elements of workflow construction are automatically. For example, every workflow has the following three task icons added by default: Start task icon (blue) Completed (Success) task icon (green) Completed (Failure) task icon (red) Tasks need to be linked to each other in the required flow. Every task has both the success (green) and failure (red) options embedded with them. The entire process begins by creating a new workflow. Accessing the Task Documentation To access the task documentation, perform the following steps: 1. On the Menu bar, choose Policies > Orchestration. 2. Click the Task Library icon. 3. Check the Regenerate document check box to view a list of all new tasks and those by open automation. 4. Click Submit. The orchestration task library appears. Click on an entry to see more information about specific inputs and outputs that are available. 77

78 Sample Custom Tasks or Workflows Sample Custom Tasks or Workflows This section includes the following topics: Adding a Custom Task to an Existing Workflow Creating a New Custom Task Workflow Adding a Custom Task to an Existing Workflow This procedure explains how to add an additional task to an existing workflow. As an example, we will add an task to an existing add VM workflow. The contents of the send will be the list of the VM IDs, that are newly added. Note: Take a copy of the existing workflow before you modify the existing workflow. To add a custom task to an existing workflow, perform the following steps: 1. On the menu bar, choose Policies > Orchestration. 2. Expand the VACS folder and double click VACS Add VMs to Container. The Workflow Designer VACS Add VMs to Container screen appears. 3. In the Available Tasks area, navigate to Cloupia Tasks > General Tasks > Send . Alternatively, enter send in the Search field to search for this task. 4. Drag and drop the Send task to the design area. The Add Task (Send ) wizard appears. 5. In the Workflow Task Basic Information Enter task name and comments screen, complete the following fields: Name Task Name field Task Category drop-down list Task Type drop-down list Comment field Retry Execution check box Retry Count drop-down list This field is displayed only if you check the Retry Execution check box. Enter a task description. This is a mandatory field. The category of the task. The value is auto generated and this field cannot be edited. The type of the task. This value is auto generated and this field cannot be edited. Enter your comments for this task. Check this checkbox if you want the task to be retried. Choose the number of counts for this task to retry. The available values are from 1 to 5. 78

79 Sample Custom Tasks or Workflows Retry Frequency field Enter the frequency value. This field is displayed only if you check the Retry Execution check box. 6. Click Next. 7. In the User Input Mapping screen that appears, complete the following fields: Name Manage Workflow User Inputs button Map to User Input check box User Input drop-down list Allows you to add new input labels and associate them to an activity. Click this button to display the Add User Inputs dialog box. Select the available Input Label and associate it to an activity. Click + to add a new input label. Click Submit. Check the check box to map the address to the workflow user input. Select the input from the list of available values. 8. Click Next. The Tasks Inputs screen appears. 9. In the Task Inputs screen that appears, complete the following fields: Name Addresses field Subject field Body field Enter the addresses. Enter the subject for the . Enter the content. You must specify the variable that fetches the VM ID for the additionally added VMs. 10. Click Next. 11. In the User Output Mappings to Task Output Attributes screen, complete the following fields: Name 79

80 Sample Custom Tasks or Workflows Map to User Output checkbox User Output drop-down list This list is displayed only if you check the Map to User Output check box. Check the check box if you want to map the user output mappings to the task output attributes. Choose the output that needs to be mapped to the task output attribute. 12. Click Submit. 13. Link the Re-SyncContainerVMs to the newly added Send task. 14. Click Validate Workflow. When new VMs are added using this workflow, an will be sent with the list of the VM IDs that were added. 80

81 Sample Custom Tasks or Workflows Creating a New Custom Workflow This procedure explains how to add a new custom workflow. As an example, we will add a workflow which logs in to the CSR and executes commands. To create a new custom workflow, perform the following steps: 1. On the menu bar, choose Policies > Orchestration. 2. Choose the Workflows tab. 3. Click Add New Workflow. The Add Workflow screen appears. 4. In the Add Workflow screen, complete the following fields: Name Workflow Name field field Workflow Context from the drop-down list Save as Compound Task checkbox Place in New Folder checkbox Select Folder drop-down list Notify status of execution to initiating User check box Additional User(s) to send notification field Policy drop-down list The workflow name. For example, VACS CSR Config Custom Workflow. The description of the workflow. The workflow context. Choose the option Any. Defines the workflow as a compound task. Assigns the workflow to a new folder. Choose VACS from the drop-down list. Allows multiple notifications. The IDs of the recipients who should be notified. The policy to be associated with the workflow. Choose Send to Initiator. 5. Click Next. The Workflow: Add User Inputs screen appears. 81

82 Sample Custom Tasks or Workflows 6. In the Worklfow: Add User Inputs screen, complete the fields: Name Associate to Activity check box Activity drop-down list Assigns the user input(s) of the workflow to the selected activities. The list of existing activities. Click + to add the following user inputs. 1. Create one Input variable as ipaddress Type and Label as CSR ip 2. Create one Input variable as en_text_input Type and Label as UserName 3. Create one Input variable as password Type and Label as CSR password Click Submit. 7. Click Next. 8. In the Worklfow: Add User Outputs screen, click + to add new entries and complete the fields: Name Output Label check box Output drop-down list Output Type button The name of the output label. The description of the output label. The type of output. Click Submit. 9. Click Submit. The new workflow is created. 10. Double click the workflow and search SSH Command in the Available Task pane. 82

83 Sample Custom Tasks or Workflows 11. Map the Workflow inputs to the SSH Command. 12. Enter the following commands to execute on CSR: a. show version b. show ip interface brief c. show clock 13. Click Next. 14. View the workflow in the Workflow Designer screen. 83

84 Code Snippets 15. Click Validate Workflows. 16. Execute the Workflow task. Code Snippets This section includes the following topics: 84

Getting Started with Cisco UCS Director REST API

Getting Started with Cisco UCS Director REST API Cisco UCS Director REST API Getting Started Guide, Release 5.4 First Published: November 03, 2015 Last Modified: June 30, 2016 Overview Why use the REST API The Cisco UCS Director REST API allows an application

More information

Cisco UCS Director REST Developer Guide, Release 4.1

Cisco UCS Director REST Developer Guide, Release 4.1 First Published: 2013-12-16 Last Modified: 2014-04-23 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387)

More information

Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 5.4STV First Published: Last Updated:

Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 5.4STV First Published: Last Updated: Cisco Virtual Application Cloud Segmentation Services REST API Guide, Release 5.4STV2.1.1 First Published: 2016-02-15 Last Updated: 2016-02-15 Cisco Systems, Inc. www.cisco.com 1 Overview Contents Overview...

More information

Managing System Administration Settings

Managing System Administration Settings This chapter contains the following sections: Setting up the Outgoing Mail Server, page 2 Working with Email Templates, page 2 Configuring System Parameters (Optional), page 5 Updating the License, page

More information

Cisco UCS Director REST API Cookbook

Cisco UCS Director REST API Cookbook Cisco UCS Director REST API Cookbook Release 1.0 Published: April, 2015 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed

More information

Managing System Administration Settings

Managing System Administration Settings This chapter contains the following sections: Setting Up the Outgoing Mail Server, page 1 Working with Email Templates, page 2 Configuring System Parameters (Optional), page 5 Updating the License, page

More information

Integrating with Prime Service Catalog

Integrating with Prime Service Catalog This chapter consist of the following topics: Overview, page 1 Integrating with Third Party Applications, page 4 Creating Custom Integrations, page 7 Providing Infrastructure as a Service (IaaS) using

More information

Securing Containers Using a PNSC and a Cisco VSG

Securing Containers Using a PNSC and a Cisco VSG Securing Containers Using a PNSC and a Cisco VSG This chapter contains the following sections: About Prime Network Service Controllers, page 1 Integrating a VSG into an Application Container, page 4 About

More information

Managing System Administration Settings

Managing System Administration Settings This chapter contains the following sections: Setting up the Outgoing Mail Server, page 2 Working with Email Templates, page 2 Configuring System Parameters (Optional), page 5 Running an Object Search,

More information

Securing Containers Using a PNSC and a Cisco VSG

Securing Containers Using a PNSC and a Cisco VSG Securing Containers Using a PNSC and a Cisco VSG This chapter contains the following sections: About Prime Network Service Controllers, page 1 Integrating a VSG into an Application Container, page 3 About

More information

Overview of Custom Tasks

Overview of Custom Tasks Why Use Custom Tasks, page 1 How Custom Tasks Work, page 1 How to Use Custom Tasks, page 1 Changes to CloupiaScript due to JDK Upgrade, page 2 Guidelines for Using API Operations from CloupiaScript, page

More information

Installing and Configuring vcloud Connector

Installing and Configuring vcloud Connector Installing and Configuring vcloud Connector vcloud Connector 2.6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new

More information

Managing System Administration Settings

Managing System Administration Settings This chapter contains the following sections: Setting Up the Outgoing Mail Server, page 1 Working with Email Templates, page 2 Customizing an Email Template, page 3 Configuring System Parameters (Optional),

More information

Setting Up the Server

Setting Up the Server Managing Licenses, page 1 Cross-launch from Prime Collaboration Provisioning, page 5 Integrating Prime Collaboration Servers, page 6 Single Sign-On for Prime Collaboration, page 7 Changing the SSL Port,

More information

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager VMware Identity Manager Cloud Deployment DEC 2017 VMware AirWatch 9.2 VMware Identity Manager You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager VMware Identity Manager Cloud Deployment Modified on 01 OCT 2017 VMware Identity Manager You can find the most up-to-date technical documentation on the VMware Web site at: https://docs.vmware.com/ The

More information

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1 Using the VMware vcenter Orchestrator Client vrealize Orchestrator 5.5.1 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

Using the Horizon vrealize Orchestrator Plug-In

Using the Horizon vrealize Orchestrator Plug-In Using the Horizon vrealize Orchestrator Plug-In VMware Horizon 6 version 6.2.3, VMware Horizon 7 versions 7.0.3 and later Modified on 4 JAN 2018 VMware Horizon 7 7.4 You can find the most up-to-date technical

More information

vcloud Director Tenant Portal Guide 04 OCT 2018 vcloud Director 9.5

vcloud Director Tenant Portal Guide 04 OCT 2018 vcloud Director 9.5 vcloud Director Tenant Portal Guide 04 OCT 2018 vcloud Director 9.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about

More information

Overview of the Self-Service Portal

Overview of the Self-Service Portal This chapter contains the following sections: Cisco UCS Director Self-Service Portal, page 1 Logging into the Self-Service Portal, page 1 Examining the Interface, page 4 Cisco UCS Director Self-Service

More information

Enabling VMware Remote Console

Enabling VMware Remote Console This chapter contains the following sections: VMware Remote Console (VMRC), page 1 Enabling VMRC, page 2 Using Catalogs for Enabling VMRC, page 3 Enabling VM Options for VMRC Console Access, page 4 Launching

More information

Using vrealize Operations Tenant App as a Service Provider

Using vrealize Operations Tenant App as a Service Provider Using vrealize Operations Tenant App as a Service Provider Using vrealize Operations Tenant App as a Service Provider You can find the most up-to-date technical documentation on the VMware Web site at:

More information

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager Setting Up Resources in VMware Identity Manager (SaaS) You can find the most up-to-date technical documentation

More information

Instructions For Configuring Your Browser Settings and Online Banking FAQ's

Instructions For Configuring Your Browser Settings and Online Banking FAQ's Instructions For Configuring Your Browser Settings and Online Banking FAQ's Instructions By Browser Type Google Chrome Firefox Internet Explorer 8 Internet Explorer 9 Safari Online Banking FAQ's Google

More information

Cisco UCS Director API Integration and Customization Guide, Release 5.4

Cisco UCS Director API Integration and Customization Guide, Release 5.4 Cisco UCS Director API Integration and Customization Guide, Release 5.4 First Published: November 03, 2015 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com

More information

Cisco Prime Service Catalog Virtual Appliance Quick Start Guide 2

Cisco Prime Service Catalog Virtual Appliance Quick Start Guide 2 Cisco Prime Service Catalog 11.1.1 Virtual Appliance Quick Start Guide Cisco Prime Service Catalog 11.1.1 Virtual Appliance Quick Start Guide 2 Introduction 2 Before You Begin 2 Preparing the Virtual Appliance

More information

Using the vcenter Orchestrator Plug-In for vcloud Director 1.0

Using the vcenter Orchestrator Plug-In for vcloud Director 1.0 Using the vcenter Orchestrator Plug-In for vcloud Director 1.0 vcenter Orchestrator 4.1 vcloud Director 1.0 vcloud Director 1.0.1 This document supports the version of each product listed and supports

More information

ForeScout CounterACT. Configuration Guide. Version 3.4

ForeScout CounterACT. Configuration Guide. Version 3.4 ForeScout CounterACT Open Integration Module: Data Exchange Version 3.4 Table of Contents About the Data Exchange Module... 4 About Support for Dual Stack Environments... 4 Requirements... 4 CounterACT

More information

Live Data Connection to SAP Universes

Live Data Connection to SAP Universes Live Data Connection to SAP Universes You can create a Live Data Connection to SAP Universe using the SAP BusinessObjects Enterprise (BOE) Live Data Connector component deployed on your application server.

More information

Workspace ONE UEM Certificate Authentication for Cisco IPSec VPN. VMware Workspace ONE UEM 1810

Workspace ONE UEM Certificate Authentication for Cisco IPSec VPN. VMware Workspace ONE UEM 1810 Workspace ONE UEM Certificate Authentication for Cisco IPSec VPN VMware Workspace ONE UEM 1810 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

Using the VMware vrealize Orchestrator Client

Using the VMware vrealize Orchestrator Client Using the VMware vrealize Orchestrator Client vrealize Orchestrator 7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by

More information

Creating Workflows. Viewing the Task Library. Creating a Workflow. This chapter contains the following sections:

Creating Workflows. Viewing the Task Library. Creating a Workflow. This chapter contains the following sections: This chapter contains the following sections: Viewing the Task Library, page 1 Creating a Workflow, page 1 Example: Creating a Workflow, page 13 Resolving Workflow Validation Issues, page 16 Changing Flow

More information

Application Provisioning

Application Provisioning Overview, page 1 Application Categories, page 1 Application Containers, page 2 Catalogs, page 7 Self-Service Provisioning, page 8 Overview After you have allocated your resources among your user groups,

More information

ForeScout Open Integration Module: Data Exchange Plugin

ForeScout Open Integration Module: Data Exchange Plugin ForeScout Open Integration Module: Data Exchange Plugin Version 3.2.0 Table of Contents About the Data Exchange Plugin... 4 Requirements... 4 CounterACT Software Requirements... 4 Connectivity Requirements...

More information

Multiple Disk VM Provisioning

Multiple Disk VM Provisioning This chapter contains the following sections: About, page 1 Workflow for, page 2 About Templates with Multiple Disks, page 2 Assigning Disk Categories, page 2 Defining Storage Policies, page 3 Creating

More information

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

VMware Identity Manager Connector Installation and Configuration (Legacy Mode) VMware Identity Manager Connector Installation and Configuration (Legacy Mode) VMware Identity Manager This document supports the version of each product listed and supports all subsequent versions until

More information

ForeScout Extended Module for VMware AirWatch MDM

ForeScout Extended Module for VMware AirWatch MDM ForeScout Extended Module for VMware AirWatch MDM Version 1.7.2 Table of Contents About the AirWatch MDM Integration... 4 Additional AirWatch Documentation... 4 About this Module... 4 How it Works... 5

More information

Client 2. Authentication 5

Client 2. Authentication 5 Pipeline Pilot Web Port Support Guide April 2011 Contents Requirements 2 Requirements 2 Server 2 Client 2 Web Port Access 3 Authentication 5 Introduction Pipeline Pilot Web Port is a web-based application

More information

Using Script Modules. Using Script Modules. This chapter contains the following sections: Using Script Modules, page 1

Using Script Modules. Using Script Modules. This chapter contains the following sections: Using Script Modules, page 1 This chapter contains the following sections:, page 1 Adding Script Modules, page 2 Adding Libraries, page 2 Jar Files, page 4 Lists of Values, page 4 Tabular Reports, page 7 Context Mapping, page 10 Importing

More information

Contents Using the Primavera Cloud Service Administrator's Guide... 9 Web Browser Setup Tasks... 10

Contents Using the Primavera Cloud Service Administrator's Guide... 9 Web Browser Setup Tasks... 10 Cloud Service Administrator's Guide 15 R2 March 2016 Contents Using the Primavera Cloud Service Administrator's Guide... 9 Web Browser Setup Tasks... 10 Configuring Settings for Microsoft Internet Explorer...

More information

Using the Prime Performance Manager Web Interface

Using the Prime Performance Manager Web Interface 3 CHAPTER Using the Prime Performance Manager Web Interface The following topics provide information about using the Cisco Prime Performance Manager web interface: Accessing the Prime Performance Manager

More information

Cisco Virtual Application Container Services 2.0 Lab v1

Cisco Virtual Application Container Services 2.0 Lab v1 Cisco Virtual Application Container Services 2.0 Lab v1 Last Updated: 02-SEP-2015 About This Solution Cisco Virtual Application Container Services (VACS) enables simplified deployment of Secure Application

More information

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates Table of Contents Configure and Manage Logging in to the Management Portal Verify and Trust Certificates Configure System Settings Add Cloud Administrators Add Viewers, Developers, or DevOps Administrators

More information

Installing and Configuring vcloud Connector

Installing and Configuring vcloud Connector Installing and Configuring vcloud Connector vcloud Connector 2.5.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new

More information

Creating Workflows. Viewing the Task Library. Creating a Workflow. This chapter contains the following sections:

Creating Workflows. Viewing the Task Library. Creating a Workflow. This chapter contains the following sections: This chapter contains the following sections: Viewing the Task Library, page 1 Creating a Workflow, page 1 Example: Creating a Workflow, page 12 Resolving Workflow Validation Issues, page 15 Changing Flow

More information

Instructions for Configuring Your Browser Settings and Online Security FAQ s

Instructions for Configuring Your Browser Settings and Online Security FAQ s Instructions for Configuring Your Browser Settings and Online Security FAQ s General Settings The following browser settings and plug-ins are required to properly access Digital Insight s webbased solutions.

More information

User Workspace Management

User Workspace Management Access the Interface, page 1 User Management Workspace User Types, page 4 Projects (Admin User), page 5 Users (Admin User), page 9 CML Server (Admin User), page 11 Connectivity, page 30 Using the VM Control

More information

FlexPod Infrastructure Automation. September 2016 SL10295 Version 1.0.0

FlexPod Infrastructure Automation. September 2016 SL10295 Version 1.0.0 September 2016 SL10295 Version 1.0.0 1 Introduction to FlexPod Automation This lab demonstrates how to use FlexPod Automation to automate the configuration of a FlexPod (UCS Mini, Nexus Switches, Clustered

More information

IaaS Integration for Multi- Machine Services. vrealize Automation 6.2

IaaS Integration for Multi- Machine Services. vrealize Automation 6.2 IaaS Integration for Multi- Machine Services vrealize Automation 6.2 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about

More information

Using VMware Identity Manager Apps Portal

Using VMware Identity Manager Apps Portal Using VMware Identity Manager Apps Portal VMware Identity Manager This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new

More information

Composer Help. Web Request Common Block

Composer Help. Web Request Common Block Composer Help Web Request Common Block 7/4/2018 Web Request Common Block Contents 1 Web Request Common Block 1.1 Name Property 1.2 Block Notes Property 1.3 Exceptions Property 1.4 Request Method Property

More information

Oracle Cloud IaaS: Compute and Storage Fundamentals

Oracle Cloud IaaS: Compute and Storage Fundamentals Oracle University Contact Us: 1.800.529.0165 Oracle Cloud IaaS: Compute and Storage Fundamentals Duration: 3 Days What you will learn This Oracle Cloud IaaS: Compute and Storage Fundamentals training gives

More information

Hypertext Transfer Protocol Over Secure Sockets Layer (HTTPS)

Hypertext Transfer Protocol Over Secure Sockets Layer (HTTPS) Hypertext Transfer Protocol Over Secure Sockets Layer (HTTPS) This chapter provides information about Hypertext Transfer Protocol over Secure Sockets Layer. HTTPS, page 1 HTTPS for Cisco Unified IP Phone

More information

UCS Director 5.4 Windows/Linux CSV Workflow Deployment

UCS Director 5.4 Windows/Linux CSV Workflow Deployment UCS Director 5.4 Windows/Linux CSV Workflow Deployment The purpose of this document is to illustrate the steps to implement the CSV Workflow that can be used for Windows or Linux VM deployments. The CSV

More information

Downloading and Managing Firmware in Cisco UCS Central

Downloading and Managing Firmware in Cisco UCS Central Downloading and Managing Firmware in Cisco UCS Central This chapter includes the following sections: Downloading Firmware from Cisco.com, page 1 Firmware Library of Images, page 2 Configuring Firmware

More information

Configuring Client Posture Policies

Configuring Client Posture Policies CHAPTER 19 This chapter describes the posture service in the Cisco Identity Services Engine (Cisco ISE) appliance that allows you to check the state (posture) for all the endpoints that are connecting

More information

Developing and Deploying vsphere Solutions, vservices, and ESX Agents. 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6.

Developing and Deploying vsphere Solutions, vservices, and ESX Agents. 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6. Developing and Deploying vsphere Solutions, vservices, and ESX Agents 17 APR 2018 vsphere Web Services SDK 6.7 vcenter Server 6.7 VMware ESXi 6.7 You can find the most up-to-date technical documentation

More information

Using Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS)

Using Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS) CHAPTER 2 Using Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS) This chapter contains information on the following topics: HTTPS Overview, page 2-1 HTTPS for Cisco Unified IP Phone Services,

More information

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1 Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1 Setting Up Resources in VMware Identity Manager (On Premises) You can find the most up-to-date

More information

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

Developing and Deploying vsphere Solutions, vservices, and ESX Agents Developing and Deploying vsphere Solutions, vservices, and ESX Agents vsphere 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information

Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS)

Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS) Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS) This chapter provides information about Hypertext Transfer Protocol over Secure Sockets Layer. HTTPS, page 1 HTTPS for Cisco Unified IP Phone

More information

Developing and Deploying vsphere Solutions, vservices, and ESX Agents

Developing and Deploying vsphere Solutions, vservices, and ESX Agents Developing and Deploying vsphere Solutions, vservices, and ESX Agents Modified on 27 JUL 2017 vsphere Web Services SDK 6.5 vcenter Server 6.5 VMware ESXi 6.5 Developing and Deploying vsphere Solutions,

More information

IaaS Integration for Multi-Machine Services

IaaS Integration for Multi-Machine Services IaaS Integration for Multi-Machine Services vcloud Automation Center 6.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by

More information

Cisco Enterprise Cloud Suite Overview Cisco and/or its affiliates. All rights reserved.

Cisco Enterprise Cloud Suite Overview Cisco and/or its affiliates. All rights reserved. Cisco Enterprise Cloud Suite Overview 2015 Cisco and/or its affiliates. All rights reserved. 1 CECS Components End User Service Catalog SERVICE PORTAL Orchestration and Management UCS Director Application

More information

vrealize Automation Management Pack 2.0 Guide

vrealize Automation Management Pack 2.0 Guide vrealize Automation Management Pack 2.0 Guide This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for

More information

Red Hat CloudForms 4.6

Red Hat CloudForms 4.6 Red Hat CloudForms 4.6 Configuring the Lenovo Physical Infrastructure Provider Adding and configuring the Lenovo physical infrastructure provider in Red Hat CloudForms Last Updated: 2018-03-01 Red Hat

More information

CHAPTER. Introduction

CHAPTER. Introduction CHAPTER 1 Cisco Unified Communications Manager (formerly Cisco Unified CallManager) serves as the software-based call-processing component of the Cisco Unified Communications family of products. A wide

More information

Using the Horizon vcenter Orchestrator Plug-In. VMware Horizon 6 6.0

Using the Horizon vcenter Orchestrator Plug-In. VMware Horizon 6 6.0 Using the Horizon vcenter Orchestrator Plug-In VMware Horizon 6 6.0 You can find the most up-to-date technical documentation on the VMware Web site at: https://docs.vmware.com/ The VMware Web site also

More information

Cisco Integrated Management Controller (IMC) Supervisor is a management system that allows you to manage rack mount servers on a large scale.

Cisco Integrated Management Controller (IMC) Supervisor is a management system that allows you to manage rack mount servers on a large scale. Contents Introduction Prerequisites Requirements Qualified Serviers Minimum Firmware Versions Supported PCiE Cards Supported Hypervisor versions Supported Browser Versions Configure Deploying Cisco IMC

More information

ForeScout Extended Module for MobileIron

ForeScout Extended Module for MobileIron Version 1.8 Table of Contents About MobileIron Integration... 4 Additional MobileIron Documentation... 4 About this Module... 4 How it Works... 5 Continuous Query Refresh... 5 Offsite Device Management...

More information

Horizon Console Administration. 13 DEC 2018 VMware Horizon 7 7.7

Horizon Console Administration. 13 DEC 2018 VMware Horizon 7 7.7 Horizon Console Administration 13 DEC 2018 VMware Horizon 7 7.7 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this

More information

Cisco Unified Serviceability

Cisco Unified Serviceability Cisco Unified Serviceability Introduction, page 1 Installation, page 5 Introduction This document uses the following abbreviations to identify administration differences for these Cisco products: Unified

More information

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud

Horizon DaaS Platform 6.1 Service Provider Installation - vcloud Horizon DaaS Platform 6.1 Service Provider Installation - vcloud This guide provides information on how to install and configure the DaaS platform Service Provider appliances using vcloud discovery of

More information

vcloud Director User's Guide

vcloud Director User's Guide vcloud Director 5.6 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of

More information

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5 Using the vrealize Orchestrator Operations Client vrealize Orchestrator 7.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

CA Agile Central Administrator Guide. CA Agile Central On-Premises

CA Agile Central Administrator Guide. CA Agile Central On-Premises CA Agile Central Administrator Guide CA Agile Central On-Premises 2018.1 Table of Contents Overview... 3 Server Requirements...3 Browser Requirements...3 Access Help and WSAPI...4 Time Zone...5 Architectural

More information

Workspace ONE UEM Integration with RSA PKI. VMware Workspace ONE UEM 1810

Workspace ONE UEM Integration with RSA PKI. VMware Workspace ONE UEM 1810 Workspace ONE UEM Integration with RSA PKI VMware Workspace ONE UEM 1810 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

Managing NCS User Accounts

Managing NCS User Accounts 7 CHAPTER The Administration enables you to schedule tasks, administer accounts, and configure local and external authentication and authorization. Also, set logging options, configure mail servers, and

More information

vcloud Usage Meter 3.5 User's Guide vcloud Usage Meter 3.5

vcloud Usage Meter 3.5 User's Guide vcloud Usage Meter 3.5 vcloud Usage Meter 3.5 User's Guide vcloud Usage Meter 3.5 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this documentation,

More information

Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 Managing Companies Managing Password Policies...

Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 Managing Companies Managing Password Policies... Cloud Services Identity Management Administration Guide Version 17 July 2017 Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 About the User Administration Table...

More information

StorageGRID Webscale 11.0 Tenant Administrator Guide

StorageGRID Webscale 11.0 Tenant Administrator Guide StorageGRID Webscale 11.0 Tenant Administrator Guide January 2018 215-12403_B0 doccomments@netapp.com Table of Contents 3 Contents Administering a StorageGRID Webscale tenant account... 5 Understanding

More information

Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing Oracle HTTP Server...

Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing Oracle HTTP Server... Oracle Access Manager Configuration Guide for On-Premises Version 17 October 2017 Contents Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing

More information

Using VMware vrealize Orchestrator with VMware vcloud Availability for vcloud Director Version 1.0 April 2017

Using VMware vrealize Orchestrator with VMware vcloud Availability for vcloud Director Version 1.0 April 2017 Using VMware vrealize Orchestrator with VMware vcloud Availability for vcloud Director Version 1.0 April 2017 Page 1 of 53 This product is protected by U.S. and international copyright and intellectual

More information

Cisco UCS Director Fundamentals Guide, Release 6.5

Cisco UCS Director Fundamentals Guide, Release 6.5 First Published: 2017-07-21 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE

More information

ForeScout Extended Module for Qualys VM

ForeScout Extended Module for Qualys VM ForeScout Extended Module for Qualys VM Version 1.2.1 Table of Contents About the Qualys VM Integration... 3 Additional Qualys VM Documentation... 3 About This Module... 3 Components... 4 Considerations...

More information

Sophos Mobile as a Service

Sophos Mobile as a Service startup guide Product Version: 8 Contents About this guide... 1 What are the key steps?... 2 Change your password... 3 Change your login name... 4 Activate Mobile Advanced licenses...5 Check your licenses...6

More information

Managing WCS User Accounts

Managing WCS User Accounts 7 CHAPTER This chapter describes how to configure global email parameters and manage WCS user accounts. It contains these sections: Adding WCS User Accounts, page 7-2 Viewing or Editing User Information,

More information

AirWatch Mobile Device Management

AirWatch Mobile Device Management RSA Ready Implementation Guide for 3rd Party PKI Applications Last Modified: November 26 th, 2014 Partner Information Product Information Partner Name Web Site Product Name Version & Platform Product Description

More information

Managing VMware vcenter Site Recovery Manager

Managing VMware vcenter Site Recovery Manager Managing VMware vcenter Site Recovery Manager This chapter contains the following sections: About VMware vcenter Site Recovery Manager, page 1 Overview of SRM Configuration, page 2 Integrating SRM with

More information

CA Agile Central Installation Guide On-Premises release

CA Agile Central Installation Guide On-Premises release CA Agile Central Installation Guide On-Premises release 2016.2 Agile Central to Go 2017.1 rallysupport@rallydev.com www.rallydev.com 2017 CA Technologies (c) 2017 CA Technologies Version 2016.2 (c) Table

More information

Building Automation and Orchestration for Software-Defined Storage with NetApp and VMware

Building Automation and Orchestration for Software-Defined Storage with NetApp and VMware Technical Report Building Automation and Orchestration for Software-Defined Storage with NetApp and VMware Using NetApp OnCommand Workflow Automation, VMware vrealize Automation, and vrealize Orchestration

More information

Quantum Policy Suite Subscriber Services Portal 2.9 Interface Guide for Managers

Quantum Policy Suite Subscriber Services Portal 2.9 Interface Guide for Managers Quantum Policy Suite Subscriber Services Portal 2.9 Interface Guide for Managers Version 5.5 August 31, 2013 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone

More information

Cisco UCS Director F5 BIG-IP Management Guide, Release 5.0

Cisco UCS Director F5 BIG-IP Management Guide, Release 5.0 First Published: July 31, 2014 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text

More information

VMware Identity Manager Administration. MAY 2018 VMware Identity Manager 3.2

VMware Identity Manager Administration. MAY 2018 VMware Identity Manager 3.2 VMware Identity Manager Administration MAY 2018 VMware Identity Manager 3.2 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments

More information

VMware AirWatch Integration with RSA PKI Guide

VMware AirWatch Integration with RSA PKI Guide VMware AirWatch Integration with RSA PKI Guide For VMware AirWatch Have documentation feedback? Submit a Documentation Feedback support ticket using the Support Wizard on support.air-watch.com. This product

More information

Managing Load Plans in OTBI Enterprise for HCM Cloud Service

Managing Load Plans in OTBI Enterprise for HCM Cloud Service Managing Load Plans in OTBI Enterprise for HCM Cloud Service Copyright 2014, Oracle and/or its affiliates. All rights reserved. 1 Objective After completing this lesson, you should be able to use Configuration

More information

Start Here. Accessing Cisco Show and Share. Prerequisites CHAPTER

Start Here. Accessing Cisco Show and Share. Prerequisites CHAPTER CHAPTER 1 Revised: May 31, 2011 Accessing Cisco Show and Share, page 1-1 Cisco Show and Share Quick Start, page 1-4 Sign In to Cisco Show and Share, page 1-20 Set Your Personal Preferences, page 1-22 Accessing

More information

ForeScout Extended Module for MaaS360

ForeScout Extended Module for MaaS360 Version 1.8 Table of Contents About MaaS360 Integration... 4 Additional ForeScout MDM Documentation... 4 About this Module... 4 How it Works... 5 Continuous Query Refresh... 5 Offsite Device Management...

More information

vcenter CapacityIQ Installation Guide

vcenter CapacityIQ Installation Guide vcenter CapacityIQ 1.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions

More information

also supports JSON output format for specific commands.

also supports JSON output format for specific commands. About, page 1 Using, page 2 Additional References, page 12 About On Cisco Nexus devices, command-line interfaces (CLIs) are run only on the device. improves the accessibility of these CLIs by making them

More information