Releases: RainbowCloudLabs/omcipcap
Release list
v0.3.9
OMCIPcap v0.3.9
This release introduces the first AI-native diagnosis framework for OMCIPcap while preserving the existing semantic OMCI analysis workflow.
✨ Highlights
- Add multi-provider AI adapter framework (OpenAI, Claude, Gemini, OpenRouter, Ollama)
- Add
ai diagfor AI-assisted diagnosis of a single OMCI capture - Add
ai diag-difffor Target vs. Golden semantic diagnosis - Support configurable
OLLAMA_BASE_URL - Add
version/--versionCLI commands - Split AI Diagnosis and AI/RAG user guides
- Improve documentation and CLI usability
Thanks for using OMCIPcap! Bug reports, feature requests, and anonymized OMCI interoperability cases are always welcome.
Full Changelog: v0.3.8...v0.3.9
v0.3.8
omcipcap v0.3.8
Highlights
🤖 Local AI/RAG workflow
- Added local RAG workspace initialization, ingestion, querying, status, profiles, and case management.
- Build a private OMCI troubleshooting knowledge base from your own captures.
- Persist generated Markdown reports and filtered OMCI-only PCAPs.
- Added example issue cases and reproducible PCAP generators.
📝 New overview command
- Replaced
overview-jsonwithoverview. - Markdown is now the default output.
- JSON output is available with
-j. - Generates a unified report including ONU capability, validation, MIB summary, VLAN rules, T-CONT/GEM flows, and topology.
📚 Documentation
- Added a comprehensive AI/RAG user guide.
- Updated README and CLI documentation.
- Improved examples and test coverage.
🔧 Improvements
- RAG commands are now optional (
pip install "omcipcap[rag]"). - Improved semantic retrieval and Markdown rendering.
- Various bug fixes and internal refactoring.
Breaking change
overview-json has been replaced by:
omcipcap overview capture.pcap -jFull Changelog: v0.3.7...v0.3.8
v0.3.7
v0.3.7
Highlights
- Add Markdown (
--md) output support for major analysis commands - Add Markdown export for topology nodes and edges
- Fix bridge port topology parsing
- Improve semantic decoding for administrative and operational state
Changes
- Added
--mdoutput for:checkmibdbmibdb-diff/diffvlan-tbltcont-flowtopology
- Added
omcimd.pyfor Markdown rendering - Fixed topology parsing to use
Bridge ID pointerconsistently - Fixed
TP pointerresolution by checkingTP type - Updated README feature table
- Added Markdown output tests
Notes
This release improves Markdown-friendly export for documentation, issue tracking, and future AI/RAG workflows.
Full Changelog: v0.3.6...v0.3.7
v0.3.6
v0.3.6
Changes
Bug Fixes
- Expand Python version support to 3.10 and 3.11
- Change
requires-pythonfrom>=3.12to>=3.10 - Add CI matrix to test Python 3.10, 3.11, 3.12
- Enables deployment on enterprise Linux (RHEL 8, Ubuntu 20.04, etc.)
- Change
Improvements
- Verify scapy and rich dependencies are compatible with Python 3.10+
Installation
pip install omcipcap==0.3.6Full Changelog: v0.3.5...v0.3.6
v0.3.5
v0.3.5 (2026-06-29)
New Features
overview-jsonsubcommand — Combines all sub-command JSON outputs
(check,mibdb,vlan-tbl,tcont-flow,topology) into a single
overview.jsonfile, designed for AI-assisted OMCI diagnosticsoverview-jsonsupports--mib-jsonand--semantic-dir— Vendor-specific
ME definitions and semantic extensions are now applied to the full overview output
Improvements
mibdb-diffnow supports--semantic-dir— Previously only--mib-json
was handled; semantic extensions are now consistently applied across all
relevant subcommands- Refactored JSON/semantic loading — Consolidated
--mib-jsonand
--semantic-direrror handling into a shared helper, with proper error
messages and early exit on failure
Bug Fixes
- Fixed
load_external_semantics()not returning a value on directory error,
causing silent failures when an invalid--semantic-dirwas provided
Full Changelog: v0.3.4...v0.3.5
v0.3.4
🏷️ v0.3.4 Release Notes
This release brings major architecture decoupling for downstream AI logic integration, comprehensive G.988 hardware capability matrix support, and a highly requested standalone modular execution pipeline.
🛠️ Added
- Advanced TPID/DEI Semantic UI Matrix: Added the --tpid-dei CLI flag to vlan-tbl. It bypasses raw bit-fields to dynamically display localized ITU-T G.988 semantic translations (e.g., TPID:Input, TPID:Out,DEI:Inn).
- Lossless Hardware Capability Profiler: Implemented get_onu_capability() to parse and map hardware capability configurations based on ITU-T G.988 Table 9.1.5-1 (Plug-in Unit Types).
- Vendor ME Profile Splitting: Segregated proprietary Vendor ME metrics into two distinct profiles: ONU Upload and OLT Provision for higher granular analysis.
- Standalone AI Pipeline Entry Point: Fully supports global module execution after pip install. Users can now generate AI-ready JSON fact packages directly from anywhere via:
python3 -m omci.overview <path_to_pcap>
Full Changelog: v0.3.3...v0.3.4
v0.3.3
v0.3.2
v0.2.5
v0.3.1
🚀 v0.3.1 - The Semantic Framework Update
This major release marks the transformation of omcipcap from a basic packet parser into a comprehensive GPON/XGS-PON OMCI Semantic Analysis Framework. It introduces a pluggable semantic registry, enhanced JSON IR for AI-driven analysis, and critical stability fixes for standalone binaries.
🌟 Major Highlights
1. Dynamic Semantic Framework
- Pluggable Translators: Introduced the
OMCISemanticregistry to decouple G.988 logic from the core protocol parser. - Runtime Extensions: Added the
--semantic-dirargument, allowing users to dynamically load external Python scripts (e.g.,extensions/add_me134_option.py) to override or extend ME attribute decoding logic without modifying the core source code. - Intelligent Decoding: Native support for human-readable IPv4 addresses, MAC addresses, and VLAN filter lists (ME 84/171) instead of raw hexadecimal strings.
2. AI-Ready Topology & JSON IR
- Topology Command: Rebranded the
graphiccommand totopologywith enhanced data depth. - Machine-Readable Relations: The Topology JSON now includes explicit semantic relations (pointers) between MEs, specifically optimized for path analysis by LLMs (e.g., GPT-4, Claude).
- Standardized JSON Output: Added
-j/--json-outputsupport across all sub-commands (mibdb,diff,check,vlan-tbl,tcont-flow).
3. Advanced MIB Management
mibdbCommand: A powerful new command to snapshot and analyze the entire ONU MIB state from PCAP files.- Semantic
diff: Implemented semantic-aware MIB comparisons. You can now see logical changes likeVID: 100 -> VID: 200instead of binary/hex differences. - Custom MIB Definitions: Support for
--mib-jsonto load vendor-specific Managed Entity (ME) definitions.
4. CLI & UI Revamp
- Kebab-case Standardization: Standardized all sub-commands to POSIX/GNU style (e.g.,
vlan-tbl,tcont-flow). - Rich UI: Integrated the
richlibrary for beautiful, color-coded terminal tables and hierarchical trees.
🔧 Fixes & Maintenance (v0.3.1 Hotfix)
- Absolute Import Enforcement: Resolved
ImportErrorissues on Windows and Linux standalone binaries by migrating from relative to absolute imports incli.py. - CI/CD Integration: Implemented a GitHub Actions workflow for automated testing on Ubuntu 24.04.
- Code Quality: Standardized copyright headers and performed a comprehensive cleanup of unused imports.
📖 Example Usage
# Analyze MIB state with custom vendor extensions
omcipcap mibdb --class-id=134 --semantic-dir ./extensions sample.pcapng
# Compare two MIB states with semantic-aware output
omcipcap diff base.pcap target.pcapFull Changelog: v0.2.4...v0.3.1