Loading
fix(webui): Store real context/topology UUIDs in session and display names in UI
Previously, selecting a context/topology on the home page stored the context and topology *names* under session['context_uuid'] and session['topology_uuid']. Any code using these keys as real UUIDs failed when a name differed from its UUID. - main/routes.py: encode ctx_uuid, topo_uuid, ctx_name, topo_name in the context/topology selector value and store the UUIDs and names in separate session keys (context_uuid/topology_uuid and context_name/topology_name). The old 2-value (names only) format is still accepted. - __init__.py: get_working_context()/get_working_topology() now return the name and fall back to the UUID, then '---'. - templates (bgpls, device, link, optical_link, policy_rule, qkd_app, service): show session context_name in the "found in context" header, falling back to context_uuid, so the UI shows readable names instead of raw UUIDs.