[Phase 1] Create discovery tooling for YANG path exploration #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Build a CLI tool to interactively explore YANG paths on live devices, making path discovery easier.
Features
CLI Interface
Implementation
pygnmifor gNMI operationsclickfor CLIrichfor pretty outputOutput
src/cli.pywith discover commandssrc/gnmi/client.pywrapper✅ Implementation Complete
All features from this issue have been implemented and tested in PR #21.
Completed Features
GNMIClientwrapper with context manager supportfabric-orch discover capabilitiesfabric-orch discover get --type configfabric-orch discover get --type statefabric-orch discover setwith dry-run default--output file:pathoptionAdditional Features Implemented
on-change,samplemodes)fabric-orch discover paths)GNMI_TARGET,GNMI_USERNAME,GNMI_PASSWORD)Testing
Validated against cEOS 4.35.0F lab:
Files Added
Ready for merge via PR #21.