Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions components/management-controller/src/colo-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

//
Expand Down