# Keeping the peering inventory honest

DevFeed: [Keeping the peering inventory honest](<https://devfeed.tech/articles/keeping-the-peering-inventory-honest-36152.md>)

Original publisher: [Read original article](<https://as215248.net/notes/keeping-the-inventory-honest/>)

Author: Bastiaan Brink

Published: 2026-07-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [AS215248 - Notes](<https://devfeed.tech/sources/as215248-notes.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [API](<https://devfeed.tech/topics/api.md>), [Job](<https://devfeed.tech/topics/job.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [automation](<https://devfeed.tech/tags/automation.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [database](<https://devfeed.tech/tags/database.md>), [ops](<https://devfeed.tech/tags/ops.md>), [peering](<https://devfeed.tech/tags/peering.md>), [python](<https://devfeed.tech/tags/python.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>)

## AI overview

The article describes keeping Peering Manager's inventory synchronized with router state by mirroring portal changes and running a 15-minute reconciliation job. It also documents API integration pitfalls and fixes a failed daily PeeringDB sync by pinning the service image to a digest.

## Source excerpt

A database that says you have a session is worthless if the router disagrees. A 15-minute reconcile keeps Peering Manager and the routers in step.