Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  160
 
 
Figure 122: GetPolicyObjectByGID request XSD. 
 
3.2.22.2 
Response 
The response is same as that of 
. 
3.2.23 
Method GetListofDeployableDevices 
This method can be used to get the list of devices that are deployable for the current user. The device information 
that is got in this API is used to trigger the deployment using deployConfigByGID. 
 
3.2.23.1 
Request 
The request for the method doesn’t have any new element but just the session cookie. The following gives an 
example of the request and the XSD. 
 
 
Figure 123: GetListofDeployableDevices XML Request Example 
 
Table 86: GetListofDeployableDevices XML Element and Atrribute Description 
HTTP/XML Content 
Definition 
deployableDevicesListRequest 
This contains the request arguments 
Element: sessionId 
An  element  that  required  for  this  request  is  logged  in  session  information,  this 
should be passed as part of cookie 
 
<
xs:complexType
 
name
=
"GetPolicyObjectByGID"
 
 
<
xs:complexContent
 
 
 
<
xs:extension
 
base
=
"BaseReqResp"
 
 
 
 
<
xs:sequence
 
minOccurs
=
"1" 
maxOccurs
=
"1">
   
 
 
 
               
<
xs:element
 
name
=
"csmSessionGID" 
type
=
"ObjectIdentifier" 
minOccurs
=
"0" 
maxOccurs
=
"1" />
 
 
 
 
<
xs:element
 
name
=
"gid" 
type
=
"ObjectIdentifier" 
minOccurs
=
"1" 
maxOccurs
=
"unbounded"/> 
 
 
 
 
</
xs:sequence
 
 
 
</
xs:extension
 
 
</
xs:complexContent
 
</
xs:complexType
>
 
URL: 
 
https://hostname/nbi/configservice/getListOfDeployableDevices 
 
<?xml version="1.0" encoding="UTF-8"?> 
   <ns1:deployableDevicesListRequest xmlns:ns1="csm"> 
     <protVersion>1.0</protVersion> 
     <reqId>123</reqId> 
   </ns1:deployableDevicesListRequest>