Context
The pypi-support branch included WIP work on improved sequence introspection for the nw info command. The GlobalSequenceInfoTableProvider was added and integrated, but the full vision for enhanced introspection was not completed.
Identified in PR for pypi-support branch merge.
Current State
GlobalSequenceInfoTableProvider is implemented and working
nw info sequences shows sequence information
- Global sequences now properly displayed via new provider
- WIP commit "introstpection info comman ds" added foundation
Desired State
Complete the enhanced sequence introspection feature:
- Unified sequence view: Show all sequences regardless of source in one view
- Source attribution: Clearly indicate where each sequence comes from (global, vendor, device)
- Conflict detection: Highlight when same sequence name exists in multiple sources
- Filter options: Filter by source type (--global, --vendor, --device)
Example output:
Sequences Overview
------------------
Sequence Name | Source Type | Defined In | Commands
-----------------|-------------|----------------------|----------
backup | global | sequences/global.yml | 3
health-check | vendor | mikrotik, cisco | varies
custom-audit | device | router1, router2 | 5
Implementation Notes
Files Likely Affected
src/network_toolkit/commands/info.py - Add new subcommand or enhance existing
src/network_toolkit/common/table_providers.py - May need new provider
tests/test_info.py - Add tests for new functionality
Acceptance Criteria
Related
Context
The pypi-support branch included WIP work on improved sequence introspection for the
nw infocommand. TheGlobalSequenceInfoTableProviderwas added and integrated, but the full vision for enhanced introspection was not completed.Identified in PR for pypi-support branch merge.
Current State
GlobalSequenceInfoTableProvideris implemented and workingnw info sequencesshows sequence informationDesired State
Complete the enhanced sequence introspection feature:
Example output:
Implementation Notes
GlobalSequenceInfoTableProviderget_all_sequences()method (Issue [Config] Implement get_all_sequences() method for unified sequence introspection #37)--formatoption for different output stylesFiles Likely Affected
src/network_toolkit/commands/info.py- Add new subcommand or enhance existingsrc/network_toolkit/common/table_providers.py- May need new providertests/test_info.py- Add tests for new functionalityAcceptance Criteria
Related