Automated ISP and OSP Capacity Reporting for Fibre Network Planning: Weekly and Monthly ETL Pipelines
A fibre network’s capacity lives in two places. Inside plant (ISP) is the equipment in hubs and buildings: access and core devices and their ports. Outside plant (OSP) is everything in the field: the cables, the splice closures that join them, and the structures they run through. Planning needs both: which equipment still has free ports, and where the fibre itself has room.
Putting those reports together by hand took about two days. I built two pipelines on tools the team already used every day: Google Drive, scheduled jobs, bash and Python. The reports now take under half a day.
Inside plant, every week
One script runs every step, every Monday morning.
- Collect. A Google Apps Script drops the latest equipment exports into Drive.
- Download. Only the files that changed in the last two days are fetched, so nothing is processed twice.
- Build. Python works out free and used ports for access and core equipment, uplinks, device counts, and what was added or removed that week, then formats it all into the report.
- Publish. The report goes into a new folder named by date, next to every earlier week, and a running summary takes that week’s numbers.
Each step writes its own log, so when something fails, the log names the step.
Outside plant, every month
Every month a bash script runs the OSP cycle. It starts from last month’s report and merges in the new splice closure capacity, cable capacity, structure and location exports. It fills in missing coordinates from the other sources, adds locations that weren’t there before, and pushes the month’s changes out as a new report. All the inputs sit in one config file, so each cycle is one command, not an afternoon of copying and pasting.
What changed
- Under half a day instead of two. The time goes into reading the reports, not assembling them.
- One place to look. Everyone opens the same shared folder, so nobody has to ask who has the latest version.
- History built in. Every week and every month is kept, so “how fast is this filling up?” has an answer instead of a guess.
Both are part of the automated geospatial ETL I run, which handles 450+ files a month.
Between teams, a daily exchange now reconciles records across two teams’ systems. All of it depends on the records being right in the first place, which is what spatial validation of splice sequences is for.
Next steps
- One view of capacity. Bring ISP and OSP together, so planning sees free ports and free fibre for the same place at once.
- Forecasting. With months of history, estimate when each piece of equipment or each cable will fill up, so planning can act before it does.
- Shared infrastructure. Move the scheduled runs onto shared, always-on infrastructure, with an alert when a step fails.