# README
Criteo Data Aggregation API
This API aggregates data from their sources of truth: the Network CMDB or possibly any other data source you may have.
Then, it computes this data to provide OpenConfig JSON for each device as an output.
ygot is used to validate the output against the OpenConfig YANG models.
HowTo: add new config namespace/option
Note: in future release, we aim to simplify the integration as much as possible.
You need to update the following part in the code:
-
add your ingestor in
ingestors/cmdb/<yournewingestor>.go
:- GetBGPGlobal()
- PrecomputeBGPGlobal()
-
register your ingestor in
internal/ingestors/repository.go
:- DataPerDevice struct
- IngestorRepository struct
- FetchAll()
- Precompute()
-
store the preprocessed ingestor data into
internal/convertors/device/device.go
:- Device struct
- NewDevice()
-
add your convertor in
internal/convertors/...
-
execute your convertor (
internal/convertors/device/device.go
):- Generateconfigs()
# Packages
No description provided by the author