Skip to content

Add filters for every Tenant through netbox and migrate AS descriptions to netbox

  • console.yaml includes static filters for a few customers. It should be done by netbox as grix.py does for grix customers through portal. the functionality should be implemented at grnet.py. It will read data from netbox render it trough a jinja and produce the console.yaml file. Because grix.py already modifies it, it should append to it, not override it

  • akvorado.yaml includes as numbers with descriptions. This information is retrieved in grnet.py by members. The information of AS descr should be migrated(added) to netbox through a simple patch script (there exists an api call for members than can be found in grnet.py). After the information is migrated, grnet.py can curl netbox, thus completely removing the dependency of akvorado with members. (Because the sync between members and netbox is broken new tenants could be added by hand or by a script - we receive emails indicating which are not synced cause there is a cron job that tries to do this in members)