You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm working on a CLI application with SONiC application extension, and also using SONiC CLI Auto-generation tools.
The CLI will be automatically generated by SONiC yang model. But there are some issues listed below when I test the CLI.
Command description error for config update.
It should be 'update' instead of 'add'.
Still displaying the command of not configurable table that defined config false in the yang model.
Cannot show other db (eg. state db) table data except config db.
ATTENUATOR table is in config db, and ATTENUATOR_TABLE table is in state db. It can only display ATTENUATOR table elements with attenuator command, but ATTENUATOR_TABLE is empty by attenuator-table command.
Steps to reproduce the issue
Please use the attached yang model file to test the CLI
Describe the results you received
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
1. Fixed the error description for config update
2. Not displaying the command of not configurable table that defined config false in the yang model.
3. Support showing other db table data defined in sonic yang model, not just config db.
1. Fixed the error description for config update
2. Not displaying the command of not configurable table that defined config false in the yang model.
3. Support showing other db table data defined in sonic yang model, not just config db.
Description
Currently I'm working on a CLI application with SONiC application extension, and also using SONiC CLI Auto-generation tools.
The CLI will be automatically generated by SONiC yang model. But there are some issues listed below when I test the CLI.
It should be 'update' instead of 'add'.
ATTENUATOR table is in config db, and ATTENUATOR_TABLE table is in state db. It can only display ATTENUATOR table elements with attenuator command, but ATTENUATOR_TABLE is empty by attenuator-table command.
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
sonic-optical-attenuator.zip
The text was updated successfully, but these errors were encountered: