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

must doesn't seem to be supported in deviation #269

Open
ankitjain093 opened this issue Jul 10, 2024 · 0 comments
Open

must doesn't seem to be supported in deviation #269

ankitjain093 opened this issue Jul 10, 2024 · 0 comments

Comments

@ankitjain093
Copy link

the following example of a deviation statement to add a must constraint to a leaf doesn't seem to be supported:

deviation /l2:l2vpn-svc/l2:sites/l2:site/l2:site-network-accesses/l2:site-network-access/l2:connection/l2:lag-interfaces/l2:lag-interface/l2:lacp/l2:mini-link-num {
        deviate add {
            must "count(../member-links/member-link) >= ." {
                error-message "Minimum links can't be less than configured member links";
            }
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant