You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Fix default value generation for non-singleton unions in leaf getters when -generate_simple_unions=true. Errors out for -generate_simple_unions=false.
ygot now checks that the default statement's value conforms to the type's restrictions. However, note there is a goyang bug with respect to the inheritance of max and min values that makes the check overly-lenient in some cases: openconfig/goyang#128.
NOTE: Previously passing generation will now fail if there is a default statement that doesn't conform to the type restrictions. Notably, pyang did not catch this error for leafref statements.
Generate default values for decimal64 and unions correctly.
NOTE: Previously passing generation will now fail if there is a default statement for a YANG typedef decimal64 or typedef union statement that's used as a leaf type in the compiled YANG models and -generate_simple_unions=false.
Fix where unsupported types were producing non-compilable code when -generate_simple_unions=true.