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

Fix for showing state below mountpoints #521

Merged
merged 1 commit into from
May 22, 2024

Commits on May 22, 2024

  1. xml_merge1(): Allow merging trees with nodes below mountpoints

    xml_merge1() fails right now when merging trees which have data
    below mountpoints with an error message like this:
    
    XML node %s/%s has no corresponding yang specification (Invalid XML or wrong Yang spec?
    
    This is because xml_merge1() does not handle mountpoints. Adjust
    it accordingly.
    
    Note that this was encountered when generating the state of a a yang
    module that has both state and config below a mountpoint. In that case
    netconf_trymerge() will be called to merge state and config and will
    trigger the problem in xml_merge1().
    colinhusu committed May 22, 2024
    Configuration menu
    Copy the full SHA
    f38a0cd View commit details
    Browse the repository at this point in the history