Техническое Руководство для Cisco Cisco Security Manager 4.0

Скачать
Страница из 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  157
 
GetDeviceConfigByName  only return data that is archived inside CSM database. Any updates to the device outside 
of CSM (out of band) is not available and can only be fetched using the Utility Service API. 
 
Following is a typical flow to process policy data in a policy object model structured format
 
a.  Login (and setup a background thread or process to keep the session alive via a ping or heartbeat) 
b.  Use one of  GetGroupList (or) GetDeviceListBy Capability (or) GetDeviceListByGroup to get the list of 
devices in the system 
c.  For each of the devices in the list: 
i.  Call GetPolicyListByDeviceGID to find out what “policy types” are configured/supported on a 
device 
ii.  For each of these “Policy Types” call the GetPolicyConfigByDeviceGID or 
GetPolicyConfigByName (for named/shared policies)  
d.  Logout 
 
Client would additionally need to subscribe to events (see Event Service API in this document), to make the client 
refresh the configuration if the configuration gets updated. The GetDeviceConfigByGID and 
GetDeviceConfigByName  only return data that is archived inside CSM database. Any updates to the device outside 
of CSM (out of band) is not available and can only be fetched using the Utility Service API.