Skip to content

Conversation

@steweg
Copy link
Contributor

@steweg steweg commented Nov 3, 2025

This PR introduces several commits needed for proper functionality with libyang v4.1.0

This patch removes the lyb_mod_update parsing option as this option is
no longer valid in libyang v4

Signed-off-by: Stefan Gula <[email protected]>
This patch introduces usage of parsing flags within lyd_parse_op API
call and exposed functions

Signed-off-by: Stefan Gula <[email protected]>
This patch removes mem from lyd_any_value as in libyang v4 it is no
longer present

Signed-off-by: Stefan Gula <[email protected]>
This patch updates the lys_module structure according to libyang v4

Signed-off-by: Stefan Gula <[email protected]>
This patch removes the LYD_ANYDATA_LYB option as it is no longer
available in libynag v4

Signed-off-by: Stefan Gula <[email protected]>
This patch updates the pattern structure according to libyang v4 and
removes the code variable

Signed-off-by: Stefan Gula <[email protected]>
This patch replaces direct reference of plugin with plugin_ref to be
compliant with libyang v4

Signed-off-by: Stefan Gula <[email protected]>
This patch updates the logic of extension to use updated version of
libyang v4 API

Signed-off-by: Stefan Gula <[email protected]>
This patch updates the SLeaf default and SLeafList defaults API with
logic introduced by libyang v4

Signed-off-by: Stefan Gula <[email protected]>
@steweg
Copy link
Contributor Author

steweg commented Nov 3, 2025

This PR apparently needs to wait for official release of libyang v4.1.0. If you would like to test it by yourself in the mean time, use libyang devel branch

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.

1 participant