diff --git a/backend/src/services/vrf-production-transition.ts b/backend/src/services/vrf-production-transition.ts index b7e96c8f..9face017 100644 --- a/backend/src/services/vrf-production-transition.ts +++ b/backend/src/services/vrf-production-transition.ts @@ -397,7 +397,7 @@ export function classifyVrfProductionTransition(input: VrfProductionTransitionIn settling(() => changes.includes(source.member) && noMacGre(before, source.member) && noMacGre(after, source.member), () => withVrfTransitionSection("LL-comparison", () => deletedBridgeLinkLocal(before, after, old!, source, oldRoute, beforeSources, afterSources))) explain(source.resource, source.row, undefined); explain(routeResource(source), oldRoute, undefined); continue } - settling(() => source.ll && changes.includes(source.member) && noMacGre(before, source.member) && noMacGre(after, source.member), () => must(source.ll && transfer && current!.interfaces === source.member && oldContext.get(source.member) === "main", "address/route absence outside exact acquisition")) + settling(() => source.ll && noMacGre(before, source.member) && noMacGre(after, source.member), () => must(source.ll && transfer && current!.interfaces === source.member && oldContext.get(source.member) === "main", "address/route absence outside exact acquisition")) absences.push({ address: structuredClone(source.row), route: structuredClone(oldRoute), member: source.member }); explain(source.resource, source.row, undefined); explain(routeResource(source), oldRoute, undefined); continue } usedAfter.add(successor) @@ -422,7 +422,7 @@ export function classifyVrfProductionTransition(input: VrfProductionTransitionIn same(routeResource(successor), missing[0].route, nextRoute, [".id", "gateway", "immediate-gw", "routing-table", "local-address"]) explain(successor.resource, undefined, successor.row); explain(routeResource(successor), undefined, nextRoute) } - for (const missing of history?.absentLl ?? []) if (!afterSources.some(source => source.member === missing.member && source.ll)) { settling(() => changes.includes(missing.member) && noMacGre(before, missing.member) && noMacGre(after, missing.member), () => must(request.action !== "delete", "DELETE missing expected LL revival")); absences.push(structuredClone(missing)) } + for (const missing of history?.absentLl ?? []) if (!afterSources.some(source => source.member === missing.member && source.ll)) { settling(() => noMacGre(before, missing.member) && noMacGre(after, missing.member), () => must(request.action !== "delete", "DELETE missing expected LL revival")); absences.push(structuredClone(missing)) } let active: Row | undefined, dormant: Row | undefined withVrfTransitionSection("virtual", () => { for (const resource of ["routing_table", "interface_inventory"]) {