Details
-
Sub-task
-
Status: Resolved
-
Medium
-
Resolution: Won't Do
-
None
-
None
-
None
Description
CSIT is pulling this yang github repo to run the
validator. The repo has a lot of syntax issues, most of which can be resolved with simple
edits (adding semicolons, etc). One of the trickier issues is how to handle this:
/* Mapped to device model * Device Model Target: /top:System/top:rpm-items/top:pfxlistv4-items/top:RuleV4-list/top:name * Transformation Function: oc_prefix_name_to_rule_prefix_name */ deviation oc-rpol:routing-policy/oc-rpol:defined-sets/oc-rpol:prefix-sets/oc-rpol:prefix-set/oc-rpol:prefix-set-name { deviate /* add, replace, or delete */ { /* something */ /* "something's value" */; } }
the deviate statement does not pass validation.