Skip to content

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

@xulleon

Description

@xulleon

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions