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

Convert leafs to model type in YDK-Py #604

Closed
111pontes opened this issue Oct 17, 2017 · 1 comment
Closed

Convert leafs to model type in YDK-Py #604

111pontes opened this issue Oct 17, 2017 · 1 comment
Assignees

Comments

@111pontes
Copy link
Collaborator

Since YDK-Py 0.6.0, leafs have type Yleaf. This type requires conversion (e.g. to int, to float, etc). Using properties, a reference to a leaf could return data in the same type define in the data model. That automatic conversion will improve usability.

@ghost ghost added the enhancement label Oct 17, 2017
@ghost ghost assigned ylil93 Feb 5, 2018
@ghost
Copy link

ghost commented Feb 5, 2018

The sample here is currently failing because all the leafs are YLeaf objects

ylil93 added a commit to ylil93/ydk-gen that referenced this issue Feb 27, 2018
ghost pushed a commit that referenced this issue Feb 28, 2018
#604 Refactor py core to use native py types
@ghost ghost closed this as completed Mar 1, 2018
111pontes added a commit to 111pontes/ydk-gen that referenced this issue Apr 6, 2018
Introduces support for NETCONF access control model (ACM) and makes
bindings compatible with CiscoDevNet#604.
111pontes added a commit to 111pontes/ydk-gen that referenced this issue Apr 7, 2018
Introduces support for AFT, ISIS, LLDP, Network Instance and Segment
Routing models.  Makes bindings compatible with CiscoDevNet#604.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants