Cisco Cisco Prime Central 1.5 Developer's Guide
Cisco Prime Central 1.5 NBI Guide
187
11.3.5 ResourceInventoryRetrieval_RPC
11.3.5.1 getInventoryHost
11.3.5.1.1
RequestResponse-getInventoryVM
Request - getInventory - VM Names
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1"
xmlns:v11="http://www.tmforum.org/mtop/mri/xsd/rir/v1"
xmlns:v12="http://www.tmforum.org/mtop/fmw/xsd/nam/v1">
<soapenv:Header>
<v1:header>
<v1:msgSpecificProperties>
<v1:property>
<v1:propName>inventoryFromDm</v1:propName>
<v1:propValue>true</v1:propValue>
</v1:property>
</v1:msgSpecificProperties>
</v1:header>
</soapenv:Header>
<soapenv:Body>
<v11:getInventoryRequest>
<v11:filter>
<v11:baseInstance>
<v12:rdn>
<v12:type>MD</v12:type>
<v12:value>CISCO_PRIME</v12:value>
</v12:rdn>
<v12:rdn>
<v12:type>Cisco_DC</v12:type>
<v12:value>i6-vcenter-2:-:sjo-i6</v12:value>
</v12:rdn>
</v11:baseInstance>
<v11:includedObjectType>
<v11:objectType>Cisco_VM</v11:objectType>
<v11:granularity>NAME</v11:granularity>
</v11:includedObjectType>
</v11:filter>
</v11:getInventoryRequest>
</soapenv:Body>
</soapenv:Envelope>
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1"
xmlns:v11="http://www.tmforum.org/mtop/mri/xsd/rir/v1"
xmlns:v12="http://www.tmforum.org/mtop/fmw/xsd/nam/v1">
<soapenv:Header>
<v1:header>
<v1:msgSpecificProperties>
<v1:property>
<v1:propName>inventoryFromDm</v1:propName>
<v1:propValue>true</v1:propValue>
</v1:property>
</v1:msgSpecificProperties>
</v1:header>
</soapenv:Header>
<soapenv:Body>
<v11:getInventoryRequest>
<v11:filter>
<v11:baseInstance>
<v12:rdn>
<v12:type>MD</v12:type>
<v12:value>CISCO_PRIME</v12:value>
</v12:rdn>
<v12:rdn>
<v12:type>Cisco_DC</v12:type>
<v12:value>i6-vcenter-2:-:sjo-i6</v12:value>
</v12:rdn>
</v11:baseInstance>
<v11:includedObjectType>
<v11:objectType>Cisco_VM</v11:objectType>
<v11:granularity>NAME</v11:granularity>
</v11:includedObjectType>
</v11:filter>
</v11:getInventoryRequest>
</soapenv:Body>
</soapenv:Envelope>
Response - getInventory - VM Names
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header />
<soap:Body>
<ns4:getInventoryResponse
xmlns="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1"
xmlns:ns4="http://www.tmforum.org/mtop/mri/xsd/rir/v1"
<soap:Header />
<soap:Body>
<ns4:getInventoryResponse
xmlns="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1"
xmlns:ns4="http://www.tmforum.org/mtop/mri/xsd/rir/v1"