From e896930403538fea6c1c02981d7be05817db5476 Mon Sep 17 00:00:00 2001 From: Aleksei Fedorov Date: Sat, 8 Aug 2026 14:38:11 +0000 Subject: [PATCH] ML stages --- kernel_ai/http/pages.py | 24 ++++++++++++++++++++++++ kernel_ai/views/pages.py | 3 +++ 2 files changed, 27 insertions(+) diff --git a/kernel_ai/http/pages.py b/kernel_ai/http/pages.py index 43961c8..99c7a70 100644 --- a/kernel_ai/http/pages.py +++ b/kernel_ai/http/pages.py @@ -108,6 +108,30 @@ def linux_devices_subsystem_html(): return redirect("/linux-devices-subsystem", code=301) +def linux_ebpf_subsystem_page(): + return render_template("linux-ebpf-subsystem.html") + + +def ebpf_page_legacy(): + return redirect("/linux-ebpf-subsystem", code=301) + + +def linux_ebpf_subsystem_html(): + return redirect("/linux-ebpf-subsystem", code=301) + + +def linux_ebpf_cyberlab_page(): + return render_template("linux-ebpf-cyberlab.html") + + +def ebpf_lab_page_legacy(): + return redirect("/linux-ebpf-cyberlab", code=301) + + +def linux_ebpf_cyberlab_html(): + return redirect("/linux-ebpf-cyberlab", code=301) + + def health_check(): return jsonify( { diff --git a/kernel_ai/views/pages.py b/kernel_ai/views/pages.py index 6b34d13..a42778d 100644 --- a/kernel_ai/views/pages.py +++ b/kernel_ai/views/pages.py @@ -32,6 +32,9 @@ ("/linux-ebpf-subsystem", "linux_ebpf_subsystem_page", h.linux_ebpf_subsystem_page), ("/ebpf", "ebpf_page_legacy", h.ebpf_page_legacy), ("/linux-ebpf-subsystem.html", "linux_ebpf_subsystem_html", h.linux_ebpf_subsystem_html), + ("/linux-ebpf-cyberlab", "linux_ebpf_cyberlab_page", h.linux_ebpf_cyberlab_page), + ("/ebpf-lab", "ebpf_lab_page_legacy", h.ebpf_lab_page_legacy), + ("/linux-ebpf-cyberlab.html", "linux_ebpf_cyberlab_html", h.linux_ebpf_cyberlab_html), ("/health", "health_check", h.health_check), ]