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

The config false leaf shouldn't be configed in startup stage #189

Closed
nowaits opened this issue Mar 10, 2021 · 1 comment
Closed

The config false leaf shouldn't be configed in startup stage #189

nowaits opened this issue Mar 10, 2021 · 1 comment
Labels

Comments

@nowaits
Copy link
Contributor

nowaits commented Mar 10, 2021

Hi ofof
I found the config false leaf can be configed in startup stage, there may be some logic error
Here is my test case:

module unigw {
...
   leaf test {
        config false;
        type string;
    }
...
}

and startup_db content this:

<configuration>
   <test xmlns="http://www.xdja.com/unigw">aaaa</test>
</configuration>

In the running db, get this:

<configuration>
   <test xmlns="http://www.xdja.com/unigw">aaaa</test>
</configuration>
@olofhagsand
Copy link
Member

Please verify the fix above

@nowaits nowaits closed this as completed Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants