We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When yang model contains typedef statement, which defines bits type, the generated bundle defines corresponding class, but its meta data is missing.
typedef Ydk-bits-type { description "this is bits type value"; type bits { bit disable-nagle { position 0; } bit auto-sense-speed { position 1; } } }
class YdkBitsType(FixedBitsDict): """ YdkBitsType this is bits type value Keys are:- auto\-sense\-speed , disable\-nagle """ def __init__(self): dictionary_ = { 'auto-sense-speed': False, 'disable-nagle': False, } pos_map_ = { 'auto-sense-speed': 1, 'disable-nagle': 0, } super().__init__(dictionary_, pos_map_)
YDK-0.5.5 and 0.8.3.
The text was updated successfully, but these errors were encountered:
Applicable only to YDK-0.5.5 as 'bits' type is implemented in C++.
Sorry, something went wrong.
ygorelik
No branches or pull requests
Current Behavior
When yang model contains typedef statement, which defines bits type, the generated bundle defines corresponding class, but its meta data is missing.
Steps to Reproduce
System Information
YDK-0.5.5 and 0.8.3.
The text was updated successfully, but these errors were encountered: