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

Leaf with config false is editable in Python #3

Open
MatthewSpofford opened this issue Jul 23, 2024 · 0 comments
Open

Leaf with config false is editable in Python #3

MatthewSpofford opened this issue Jul 23, 2024 · 0 comments

Comments

@MatthewSpofford
Copy link

Similar to an issue that was reported for the restconf library, I've found that using config false in a YANG model still allows the leaf to be configured through a POST/PATCH request for the Python RESTCONF server. I used the getting started example code for Python, as well as the modified YANG model:

module hello {
	leaf message {
	    config false;
	    type string;
	}
}

I've confirmed that this does not occur with the restconf's Go implementation, so maybe this is an issue with the Python side, or the "getting started" example code is not equipped for what I need.

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

No branches or pull requests

1 participant