Cisco Cisco Configuration Engine 3.5 Entwickleranleitung
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
8-8
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 8 Creating Provisioning Solution
Creating Provisioning Solutions
Figure 8-3
Sequence Diagram for a Two-stage Commit
Device
98288
IE2100
Event Bus
Application
Initiate TCP connection
SendEventId (DeviceID)
CreateListener (config.load.EventID, Event Callback)
Subscribe (config.load)
Event Callback (config.load.EventID,
configuration XML with actions=READ)
configuration XML with actions=READ)
CreateListener (Synch-StatusSubject.EventID,
Event Callback)
Event Callback)
ReceiveEvent (config.load
, configuration XML with action=READ)
, configuration XML with action=READ)
Publish (Synch-StatusSubject.EventID,
Description XML)
Description XML)
Save configuration. Optional syntax
check.
check.
Publish (StatusSubject, Description XML)
Apply configuration. Optional write
to NVRAM
to NVRAM
Process
Synch-Status
Event
Synch-Status
Event
Process
Status
Event
Status
Event
Publish (StatusSubject, Description)
ReceiveEvent (config.load.EventID,
commit command as payload)
commit command as payload)
Please refer to documentation for
the exact list of configuration and
status subjects
the exact list of configuration and
status subjects
Publish (StatusSubject.EventID,
Description)
Description)
Publish (config.load.EventID,
commit command as payload)
commit command as payload)
Publish (config.load.EventID,
commit command as payload)
commit command as payload)
Event Callback (Synchro-StatusSubject.EventID,
Description XML)
Description XML)
Event Callback (StatusSubject.EventID,
Description )
Description )
CreateListener (StatusSubject.EventID,
Event Callback)
Event Callback)
Publish (config.load.EventID,
configuration XML with action=READ)
configuration XML with action=READ)
Synchronize commits can also be
done using the Pull Model
done using the Pull Model
Event could
be push/pull
be push/pull