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

Key-based access to list items #231

Closed
3 tasks done
111pontes opened this issue Aug 26, 2016 · 1 comment
Closed
3 tasks done

Key-based access to list items #231

111pontes opened this issue Aug 26, 2016 · 1 comment
Assignees
Projects

Comments

@111pontes
Copy link
Collaborator

111pontes commented Aug 26, 2016

In YDK-Py, YANG lists are currently implemented based on simple python lists. It's not possible to access a particular item based on key(s). This will be particularly useful when processing a long list of operational data (e.g. looking for a specific prefix in a long of prefixes).

  • Python
  • Go
  • C++
@ghost
Copy link

ghost commented Apr 23, 2018

Proposed fix

Change YList to use OrderedDict in python and ordered map in Go

@ghost ghost added this to In progress in YDK May 7, 2018
@ghost ghost closed this as completed Jul 3, 2018
YDK automation moved this from In progress to Done Jul 3, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
YDK
  
Done
Development

No branches or pull requests

2 participants