feat(topology): nullable layout coords on LAN + TopologyDecky

MazeNET phase 2 step 5. Pure storage — the generator emits None for
x/y and the web canvas fills them in later. No logic changes; no
compose, deploy, or validator impact.
This commit is contained in:
2026-04-20 17:48:29 -04:00
parent e475c0957e
commit 9afaac7612
4 changed files with 77 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ async def persist(repo: Any, plan: GeneratedTopology) -> str:
"name": lan.name,
"subnet": lan.subnet,
"is_dmz": lan.is_dmz,
"x": lan.x,
"y": lan.y,
}
)
lan_ids[lan.name] = lan_id
@@ -55,6 +57,8 @@ async def persist(repo: Any, plan: GeneratedTopology) -> str:
"service_config": decky.service_config,
},
"ip": primary_ip,
"x": decky.x,
"y": decky.y,
}
)
decky_ids[decky.name] = decky_uuid