-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for rewriting the appended module name. (#545)
* (M) ygot/render.go * (M) ygot/render_test.go - This change allows the contents of the `module` tag to be rewritten when outputting RFC7951-compatible JSON. Particularly, this is useful when a node that was removed from the schema is re-added using an augmentation, and the user wants to specify that ygot should pretend that the node is still in the original module.
- Loading branch information
Showing
2 changed files
with
148 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters