Cisco Cisco Prime Network Services Controller 3.2 Developer's Guide

Page of 163
Page 107 
OL-30968-01 
InterCloud Management 
The following topics describe how Prime Network Services Controller XMP API supports InterCloud management: 
● 
● 
● 
InterCloud Infrastructure Setup  
The Prime Network Services Controller XMP API accesses the InterCloud framework by invoking calls to resource-
management (/resource-mgr in the url). It instantiates the InterCloud extender switch on the private side and the 
InterCloud switch on Amazon Web Service (AWS) and creates the link between cloud providers. The InterCloud 
framework also creates and manages VM lifecycle management for InterClouds. Currently suborganizations and 
multi-tenancy are not supported in the InterCloud infrastructure.   
InterCloud Infrastructure Creation Examples 
The following are some examples of API calls to create the InterCloud infrastructure: 
InterCloud Public Provider Account Creation 
The following post can be used to create a TESTME provider account in AWS: 
 
<configConfMos 
cookie="<real_cookie>"> 
<inConfigs> 
<pair key="hcloud/cp-TESTME"/> 
<hcloudProvider  
dn="hcloud/cp-TESTME" 
name=\"TESTME" 
username="account-ID" 
password="account-key" 
type="Amazon" 
status="created"/> 
</hcloudProvider> 
</pair> 
</inConfigs> 
</configConfMos> 
 
InterCloud Public Provider Account Creation Response 
<configConfMos 
cookie="<real_cookie>"> 
commCookie="5/12/0/2e5" 
srcExtSys="173.36.217.30"  
destExtSys="173.36.217.30" 
srcSvc="sam_extXMLApi" 
destSvc="resource-mgr_dme" 
response="yes"> 
<outConfigs> 
<pair key="hcloud/cp-TESTME"/> 
<hcloudProvider 
defaultLocation="" 
dn="hcloud/cp-TESTME" 
fsmDescr="" 
fsmPrev="nop" 
fsmProgr="0" 
fsmRmtInvErrCode="none"