Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
C H A P T E R
8-1
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
8
Creating Provisioning Solution
The Cisco Configuration Engine SDK provides the building blocks for writing provisioning 
applications. The SDK makes use of the following components on the Cisco Configuration Engine:
  •
Configuration Server—defines and activates configuration templates. Delivers configuration 
commands to the IOS device.
  •
Event Gateway/IMGW — enables network elements to publish and subscribe to events. 
  •
Directory Server — data storage device based on Lightweight Directory Access Protocol (LDAP) 
version 3 compliant directories (Internal/External).
  •
Namespace Mapper (NSM) Service—provides a lookup service for managing logical groups of 
devices based on application, device/group ID, and event (Optional).
Creating Provisioning Solutions
There are three ways for the Cisco Configuration Engine SDK to interact with an IOS device:
  •
Pull operation
  •
Push operation
  •
Two-stage commit
These operations are described in this chapter.
Partial Configuration Using Cisco Configuration Engine
Partial Configuration of the device enables an operator or a provisioning application to incrementally 
update device configuration through Cisco Configuration Engine. 
Partial Configuration happens through the mechanism of Publish and Subscribe. The device subscribes 
to a configuration event, and listens on a pre-determined subject on the Event Bus. The provisioning 
application, when it needs to configure a particular device or group of devices, publishes on this subject. 
The published configuration event is received by the listening device(s), which act on it by applying the 
incremental configuration.
For the publish-subscribe mechanism to work, the Event Agent and the Configuration Agent must be 
running on the device. The Event Agent enables event-based communication, and the Configuration 
Agent subscribes to configuration events. These agents can be turned on as part of the Initial 
Configuration process.