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

Add YDK Meta Data for must and when statements in a contaner #927

Closed
xulleon opened this issue Jun 7, 2019 · 1 comment
Closed

Add YDK Meta Data for must and when statements in a contaner #927

xulleon opened this issue Jun 7, 2019 · 1 comment
Assignees

Comments

@xulleon
Copy link

xulleon commented Jun 7, 2019

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

Currently YDK meta data does not have a field to indicate if a container has a "must"
statement.

          container segment-routing {
            presence "Indicates a segment-routing node is configured.";
            description "Segment Routing configuration";
            must "not(mpls and disable)";
            container mpls {
            …

            container forwarding {
              presence "Indicates a forwarding node is configured.";
              csc:xr-sch-pathname "/cfg/gl/ipv4-ospf/proc/<224>/ord_f/default/ord_v/area/<101>,<102>/ord_d/area_scope/ord_f/sr_forw";
              csc:xr-task "ospf";
              description "Enable Segment-routing forwarding on interfaces";
              must "mpls or disable";
              container mpls {

Current Behavior

Steps to Reproduce

Your Script


Logs

Enable logging and post the logs below


System Information

ygorelik pushed a commit that referenced this issue Jun 13, 2019
ygorelik pushed a commit to ygorelik/ydk-gen that referenced this issue Jun 14, 2019
@ygorelik ygorelik changed the title YDK Meta Data for must statement in a contaner Add YDK Meta Data for must and when statements in a contaner Jun 25, 2019
@ygorelik
Copy link
Collaborator

Implemented in releases 0.5.5.post2 and 0.8.4

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