Skip to content

Conversation

@keogaki
Copy link
Contributor

@keogaki keogaki commented Apr 15, 2025

…mand option to set the path origin from the YANG module name or an arbitrarily specified name.
@coveralls
Copy link

coveralls commented Apr 15, 2025

Coverage Status

coverage: 88.813% (+0.005%) from 88.808%
when pulling 8b9ad6e on keogaki:set_path_origin
into 863d894 on openconfig:master.

@keogaki keogaki changed the title Add fields to IR and IROptions used by settting the path origin from the YANG module name or an specified name. Add fields to IR and IROptions used by settting the path origin from the YANG module name or a specified name. Apr 15, 2025
Copy link
Member

@robshakir robshakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution -- but this doesn't look like the right design to me. We're adding things to the ygot-generated IR that are not really in-line with what the IR should be specifying -- i.e., pre-parsed details of YANG structures that code-generation can use.

@keogaki keogaki marked this pull request as ready for review April 23, 2025 08:33
Copy link
Member

@robshakir robshakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes. This looks better now that it is encapsulated in the IR generation. I have one suggested logic change, and then some style changes.

Copy link
Member

@robshakir robshakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes.

@robshakir
Copy link
Member

/gcbrun

@robshakir robshakir merged commit 3a953aa into openconfig:master May 28, 2025
6 checks passed
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.

5 participants