Cisco Cisco Prime Network Services Controller 3.2 Developer's Guide

Page of 163
Page 110 
OL-30968-01 
status="created"/> 
<resResourceBinding  
dn="hcloud-root/vpc-vpc_name/cne-cne_name/Icx-cln/Icxinst-
cne_name-cln-1/binding" 
assignedToDn="hcloud/Icx_to_use" 
status="created" 
</resResourceBinding> 
</hcloudIcxInst> 
</hcloudIcx> 
</hcloudCne> 
</pair> 
</inConfigs> 
</configConfMos> 
 
InterCloud VM Migration Management Examples 
The following topics illustrate some possible interaction with VM management and the InterCloud framework.  
VM Property Queries 
In the following examples, we query resource-manager for VM properties which are necessary for a migration call 
to take a certain VM and migrate it to a public cloud provider. Amazon Web Services (AWS) is the public cloud 
provider in these examples. 
● 
● 
● 
Get Folder Information  
Invoke a query to find the folder DN 
(replace ‘HOST-IP-ADDRESS’ with hostname or IP). 
Request 
 
<configResolveClass  
cookie="<real_cookie>"  
inHierarchical="false"  
classId="vcenterFolder"> 
<inFilter> 
<eq class="vcenterFolder"  
property="name"  
value="HOST-IP-ADDRESS" /> 
</inFilter> 
</configResolveClass> 
 
Response 
 
<configResolveClass  
cookie="<real_cookie>" 
srcExtSys="10.5.111.80"  
destExtSys="10.5.111.80"  
srcSvc="sam_extXMLApi"  
destSvc="resource-mgr_dme"  
response="yes" classId="vmVmInstEp"> 
<outConfigs> 
<vmVmInstEp  
deleteAfterMigration="no"