Juniper / yang

Junos Yang module
Apache License 2.0
103 stars 38 forks source link

Invalid regular expression? #16

Open TribuneX opened 3 years ago

TribuneX commented 3 years ago

I am trying to use the provided models for 19.2R1 with libyang. However, some regular expressions cannot be processed by libyang. They just seem to be invalid:

description "DSCP-IPV6 code point";
              type union {
                type string {
                  pattern "\*";
                }
                type string;
              }

Shouldn't be "\*" just ".*"? This pattern is used at multiple places in junos-conf-class-of-service and junos-conf-dynamic-profiles.

rampolisetty commented 3 years ago

We will check this.

-Rama