809cc4b17a16b6aae3723048fae2f70b62c24c3c
[smo/teiv.git] /
1 module range-test-module-simple-faulty {
2
3     namespace "urn:rdns:o-ran:oammodel:range-test-module-simple-faulty";
4     prefix this;
5
6         description
7         "Copyright (C) 2024 Ericsson
8         Modifications Copyright (C) 2024 OpenInfra Foundation Europe";
9
10     revision "2019-10-16" {
11         description "initial revision";
12     }
13
14 // -------------------------- Simple ranges that are faulty for a variety of reasons --------------------
15
16     container cont1 {
17
18         leaf leaf1 {
19             type int8 {
20                 range max..min;
21             }
22         }
23
24         leaf leaf2 {
25             type int8 {
26                 range 300..max;
27             }
28         }
29
30         leaf leaf3 {
31             type int8 {
32                 range "-4000  ..   max";
33             }
34         }
35
36         leaf leaf4 {
37             type int8 {
38                 range "min..max | min..max";
39             }
40         }
41
42         leaf leaf5 {
43             type int8 {
44                 range "min  ..  100| 30..  max";
45             }
46         }
47
48         leaf leaf6 {
49             type int8 {
50                 range -100..1000;
51             }
52         }
53
54         leaf leaf7 {
55             type int8 {
56                 range "-50..-20 | -40..-30";
57             }
58         }
59
60         leaf leaf8 {
61             type int8 {
62                 range "min..-20 | -30 | -40";
63             }
64         }
65
66         leaf leaf9 {
67             type int8 {
68                 range min..-20|30|25;
69             }
70         }
71
72         leaf leaf10 {
73             type int8 {
74                 range "min | 10 | 400";
75             }
76         }
77
78         leaf leaf11 {
79             type int8 {
80                 range "blurb | 10..10 | 70";
81             }
82         }
83
84         leaf leaf12 {
85             type int8 {
86                 range MIN..max;
87             }
88         }
89     }
90 }