@@ -3,24 +3,27 @@ module sdcio_model {
33 namespace "urn:sdcio/model" ;
44 prefix sdcio_model;
55
6- import sdcio_model_ni {
7- prefix sdcio_model_ni;
8- }
9- import sdcio_model_if {
10- prefix sdcio_model_if;
11- }
12- import sdcio_model_choice {
13- prefix sdcio_model_choice;
14- }
15- import sdcio_model_doublekey {
16- prefix sdcio_model_doublekey;
17- }
18- import sdcio_model_leaflist {
19- prefix sdcio_model_leaflist;
20- }
21- import sdcio_model_list_unique {
22- prefix sdcio_model_list_unique;
23- }
6+ import sdcio_model_ni {
7+ prefix sdcio_model_ni;
8+ }
9+ import sdcio_model_if {
10+ prefix sdcio_model_if;
11+ }
12+ import sdcio_model_choice {
13+ prefix sdcio_model_choice;
14+ }
15+ import sdcio_model_doublekey {
16+ prefix sdcio_model_doublekey;
17+ }
18+ import sdcio_model_leaflist {
19+ prefix sdcio_model_leaflist;
20+ }
21+ import sdcio_model_list_unique {
22+ prefix sdcio_model_list_unique;
23+ }
24+ import sdcio_model_deref {
25+ prefix sdcio_model_deref;
26+ }
2427
2528 description
2629 "This is the test schema for sdcio" ;
@@ -30,22 +33,20 @@ import sdcio_model_list_unique {
3033 "Test schema first attempt" ;
3134 }
3235
33-
3436 uses sdcio_model_if:interface-top;
3537 uses sdcio_model_ni:network-instance-top;
3638 uses sdcio_model_choice:choicecase-top;
3739 uses sdcio_model_doublekey:doublekey-top;
3840 uses sdcio_model_leaflist:leaflist-top;
3941 uses sdcio_model_list_unique:list-unique-top;
40-
41- leaf patterntest {
42- type string {
43- length "7..10" ;
44- pattern "hallo [0-9a-fA-F]*" ;
45- // pattern 'hallo DU' {
46- // // modifier invert-match;
47- // }
48- }
49- }
50-
51- }
42+ uses sdcio_model_deref:deref-top;
43+ leaf patterntest {
44+ type string {
45+ length "7..10" ;
46+ pattern 'hallo [0-9a-fA-F]*' ;
47+ // pattern 'hallo DU' {
48+ // // modifier invert-match;
49+ // }
50+ }
51+ }
52+ }
0 commit comments