Event Handling for IP Prefix List

Event Handling for IP Prefix List and Route Map

Inventory service Policy service
Inventory service maintains the IPv4 prefix list and route map information in its DB. As part of device update, diff is computed for these entities, and if there is a diff, an event is published.
  • Policy service subscribes to the events from inventory service-related IP prefix list and route map and updates the app state of these entities. The entities for which the app state is in cfg-refreshed or cfg-entry-deleted, is reconciled as part of DRC.
  • To handle attribute level drift, DB maintains a bitmap to show exactly which attribute has drifted as part of DRC show output.
  • Policy service publishes events when you create, update or delete prefix lists and route maps.

Event Handling for IP Prefix List and Large Community List

Inventory service Policy service
  • Inventory service maintains the large community-list and route map information in its DB. When you update a device, diff is computed for these entities. If there is a diff, an event will be published.
  • Inventory service acknowledges the large community-list and route map events from policy service and update its DB accordingly.
  • Policy service subscribes to the events from inventory service-related large community-list and route map, and updates the app-state of these entities. The OOB entries on the devices are stored in the DB, and marked as cfg-not-managed. The entities for which the app state is in cfg-refreshed or cfg-deleted (managed by XCO but changed on devices) state, are reconciled when DRC is done.
  • To handle attribute level drift, DB maintains a bitmap to show exactly which attribute has drifted according to DRC show command output.
  • Policy service publishes events when you create, update or delete community-list and route maps.