Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

presence containers at the end of the path are not shown #61

Open
hellt opened this issue Sep 19, 2024 · 1 comment
Open

presence containers at the end of the path are not shown #61

hellt opened this issue Sep 19, 2024 · 1 comment

Comments

@hellt
Copy link
Member

hellt commented Sep 19, 2024

some sr linux paths have a presence container at the very end of it, for example

/acl/acl-filter[name=cpm][type=ipv4]/entry[sequence-id=10]/action/drop

where drop is a presence container. Unfortunately, it is now shown in the path browser (nor in the tree), and the reason is that gnmic exports the paths down to a leaf, and has an edge case for the presence containers at the end of the path.

Some time ago gnmic got a new flag to export paths with containers in the flat view https://gnmic.openconfig.net/cmd/path/#with-non-leaves

I think we need to use this one...

/cc @karimra @siva19susi

@siva19susi
Copy link
Contributor

@hellt our generate.sh needs update with this flag when running gnmic generate paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants