Policy Service in EFA manages and configures IP prefix lists and route maps on fabric devices.
Note
Brownfield deployment does not support IP prefix lists and route maps.
Policy Service has its own database and provides REST APIs for its clients to configure and manage entities. It also registers with RabbitMQ to receive or publish messages.
Policy Service subscribes to the Inventory Service to receive events including device registration, device deletion, and changes to previously identified IP prefix lists and route maps.
During initialization or startup of the Policy Service, it fetches the essential entities, like device info, using REST APIs to populate its database.
Policy Service supports Drift and Reconcile (DRC) to receive and process the DRC events.