From 6c87e2f4efaa6a8a42e85d24f0db8db141f2cc01 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Mon, 6 Jul 2026 10:28:13 -0400 Subject: [PATCH] Fixes #154 - Add a Van access point to the co-located site upon creation. --- components/management-controller/src/colo-sync.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/management-controller/src/colo-sync.js b/components/management-controller/src/colo-sync.js index ed6f6b3..37322d7 100644 --- a/components/management-controller/src/colo-sync.js +++ b/components/management-controller/src/colo-sync.js @@ -318,6 +318,14 @@ async function doVisitNamespace(ns) { coloNamespaces[ns].accesspoint = ap; apIndex[ap.id] = ns; notify.add('BackboneAccessPoints', ap.id); + + // Add, but don't track, a VAN access point in the site with default AccessType (may be deleted or modified by user). + const vanResult = await client.query( + "INSERT INTO BackboneAccessPoints(Name, Kind, InteriorSite) " + + "VALUES ('van', 'van', $1) RETURNING Id", + [coloNamespaces[ns].site.id] + ); + notify.add('BackboneAccessPoints', vanResult.rows[0].id); } //