mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
528 stars 342 forks source link

pyang -f yang annotate_file.yang throws error for confd syntax for the tailf:annotate-statement #899

Open anuthota opened 3 months ago

anuthota commented 3 months ago

Hi, Below is my annotate yang module. module tailf-common-monitoring-ann { namespace "urn:dummy-common"; prefix dummy1;

import tailf-common { prefix tailf; }

tailf:annotate-module tailf-common-monitoring { tailf:annotate-statement grouping[name='common-monitoring-objects'] { tailf:annotate-statement container[name='internal'] { tailf:annotate-statement container[name='cdb'] { tailf:annotate-statement list[name='datastore'] { tailf:annotate-statement leaf[name='disk-size'] {

image

This used to work with 1.7.8 and 2.1.1 pyang version.

Thanks.