How johnson-penguin/integrating-generative-ai-into-mobile-networking works
Project type and purpose
• This is a research/analysis toolchain for generating and testing 5G gNB configurations (CU/DU), ingesting logs/pcaps, building an error database, and then running embedding‐based analyses (e.g., RAG vs. no‐RAG).
• It combines a configuration‐generation library, a simulation/orchestration layer (shell/python), data extraction into a structured “error_db,” and Jupyter notebooks for downstream embedding experiments.
File structure
• Top‐level directories:
• Experiment/ – notebooks for embedding & RAG experiments
• Sample_conf/ – sample .conf files illustrating scenarios
• Scenario/ – actual runs: per‐scenario subfolders containing DU/CU conf, logs, pcap, error_db
• Scenario_Gen/ – Python modules for generating parameterized CU/DU test configurations and expected logs
• TOOL/ – helper script to convert .conf → JSON
• gNB_script/ – shell scripts to launch gNB tests & capture logs/pcap
• debug.yaml, new_debug.yaml – orchestrator/config for pipeline
• Config generators (Scenario_Gen/cu and Scenario_Gen/du) produce many .conf/.json sets and scaffolding tests.
• Orchestration: gNB_script/*.sh and the notebooks call TOOL/conf_to_json.py; resulting logs/pcap are saved under Scenario/*.
• Data storage: each Scenario_n/error_db contains binary files plus chroma.sqlite3.
README
3. Next: “Orchestrator (debug.yaml + gNB_script)”
4. Then: “gNB Simulation Environment (CU & DU)”
5. Then branch into two: “Logs & PCAP” and “Error DB Builder → chroma.sqlite3 + .bin segments”
6. Finally: “Experiment Notebooks (embedding.ipynb, rag_vs_no_rag_comparison.ipynb)”