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

Feature/identity #118

Closed
wants to merge 3 commits into from
Closed

Feature/identity #118

wants to merge 3 commits into from

Conversation

steweg
Copy link
Contributor

@steweg steweg commented Apr 12, 2024

This patch adds Identity and PIdentity classes. But it requires PRs #116 and #102.

I also believe that it conflicts with #117 as that patch introduces just the parts and not the compiled ones.

steweg added 3 commits April 12, 2024 17:21
This patch introduces new class ExtensionPlugin, which is wrapper around
libyang extension plugin, which allows user to define custom action for
parsing, compiling, and freeing parsed or compiled extensions.

Custom actions can also raise a new type of exception
LibyangExtensionError, which allows proper translation of exception to
libyang error codes and logging of error message

Signed-off-by: Stefan Gula <[email protected]>
This patch introduces PNode alternative to SNode, which allows to
travers parsed module tree including groupings, uses and other special
nodes

Signed-off-by: Stefan Gula <[email protected]>
This patch introduces Identity and PIdentity classes. It also adds
identities() API to get list of identities from Module

Signed-off-by: Stefan Gula <[email protected]>
@steweg steweg force-pushed the feature/identity branch from 9927dfa to ac058c7 Compare April 29, 2024 06:38
@samuel-gauthier
Copy link
Collaborator

Could you rebase this on the master branch please, it will make things easier? Also, why is the ExtensionPlugin part needed for the Identities?

@steweg
Copy link
Contributor Author

steweg commented Aug 3, 2024

Will do that. Regarding the dependency, I have made this code after the Extension plugin patch and wanted to keep the same way of extensions() API. So let's keep it as it and merge it only after #116 will be done

@steweg steweg deleted the feature/identity branch December 16, 2024 13:09
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.

2 participants