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

Code generation: Python #537

Open
evyncke opened this issue Jan 24, 2022 · 2 comments
Open

Code generation: Python #537

evyncke opened this issue Jan 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request Priority: High

Comments

@evyncke
Copy link
Contributor

evyncke commented Jan 24, 2022

In a similar way as Cisco YANG suite (no more in YC.O) or Cisco YANG explorer (the latter being public domain), from a module tree view it MUST be possible to select several leaves / nodes and to generate Python code for the user.

This code would enable getting/modifying the values of those leaves.

PYANG may be used as a back-end. Of course, the generated code would be more like a template and would rely/import on existing Python to actually issue NETCONF requests and parse XML (if required).

@bclaise would you mind asking Jean Q. if he remembers the Python modules he used ?

@evyncke evyncke added enhancement New feature or request Priority: Medium labels Jan 24, 2022
@evyncke
Copy link
Contributor Author

evyncke commented Jul 1, 2022

Is there any progress on this issue ?

@SlavomirMazurPantheon
Copy link
Contributor

Hello @evyncke,

I'm very sorry, but I didn't notice this Github issue.
FYI: this search repository has been discontinued, as the functionality has been moved to the backend repository - I should probably archive this one. However, for the future, create an issue in the backend repo please.

I'm a little worried that this enhancement might be too big for us to cover it in our YANG Catalog maintenance. However, I will have to find out more details and what needs to be done. Maybe some POC and then I will get back to you.

Regards,
Slavomír Mazúr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: High
Projects
None yet
Development

No branches or pull requests

4 participants