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

Generate ordered map (generation disabled) #822

Merged
merged 4 commits into from
Apr 26, 2023
Merged

Conversation

wenovus
Copy link
Collaborator

@wenovus wenovus commented Apr 24, 2023

  • gogen/ordered_list.go Add generation template for ordered maps per Add demonstration generated code for ordered maps in ygot #819
  • gogen/gogen_test.go unit test for ordered maps.
  • integration_tests/schemaops/... Add new ordered list YANG nodes/generated code and associated integration tests.
  • Internal flag enableOrderedMap added to disable this code path since generated code will error out when using helper functions (e.g. marshalling/unmarshalling).
  • Incorporate OrderedByUser attribute from goyang into IR.

@wenovus wenovus requested review from DanG100 and bormanp April 24, 2023 22:39
@github-actions
Copy link

github-actions bot commented Apr 24, 2023

Coverage Status

Coverage: 90.217% (+0.009%) from 90.208% when pulling e69da09 on generate-orderedmap into 37a3f75 on master.

@wenovus wenovus merged commit a0b27e2 into master Apr 26, 2023
@wenovus wenovus deleted the generate-orderedmap branch April 26, 2023 18:27
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

Successfully merging this pull request may close these issues.

2 participants