Cisco Cisco Prime Central 1.4 개발자 가이드

다운로드
페이지 203
  </soap:Body>
</soap:Envelope>
Data Center Resource Inventory - Request and Response Examples
ResourceInventoryRetrieval_RPC
getInventoryDC
RequestResponse-getInventoryDC
Request - getInventory - All DCs
<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>
        <!--Zero or more repetitions: -->
        <v1:property>
          <v1:propName>inventoryFromDm</v1:propName>
          <v1:propValue>true</v1:propValue>
        </v1:property>
      </v1:msgSpecificProperties>
    </v1:header>
  </soapenv:Header>
  <soapenv:Body>
    <v11:getInventoryRequest>
      <!--Optional: -->
      <v11:filter>
        <!--Zero or more repetitions: -->
        <v11:baseInstance>
          <!--1 or more repetitions: -->
          <v12:rdn>
            <v12:type>MD</v12:type>
            <v12:value>CISCO_PRIME</v12:value>
          </v12:rdn>
        </v11:baseInstance>
        <!--Optional: -->
        <!--Zero or more repetitions: -->
        <v11:includedObjectType>
          <v11:objectType>Cisco_DC</v11:objectType>
          <v11:granularity>FULL</v11:granularity>
        </v11:includedObjectType>
      </v11:filter>
      <!--Optional: -->
    </v11:getInventoryRequest>
  </soapenv:Body>
</soapenv:Envelope>
Response - getInventory - All DCs
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns4:getInventoryResponse
      xmlns="http://www.tmforum.org/mtop/fmw/xsd/hdr/v1"
      xmlns:ns2="http://www.tmforum.org/mtop/fmw/xsd/gen/v1"
      xmlns:ns3="http://www.tmforum.org/mtop/fmw/xsd/nam/v1"