076443cbe4ef3db7380984262754869c667c9184
[smo/teiv.git] /
1 module deviate-not-supported-multi-level-test-module {
2
3     namespace "test:deviate-not-supported-multi-level-test-module";
4     prefix this;
5
6         description
7         "Copyright (C) 2024 Ericsson
8         Modifications Copyright (C) 2024 OpenInfra Foundation Europe";
9
10     revision "2019-10-09" {
11         description "initial revision";
12     }
13
14         container cont1 {
15                 container cont2 {
16                         container cont3 {
17                                 container cont4;
18                         }
19                 }
20         }
21
22         /*
23                 Deviations happen to be processed in the order in which they are defined in
24                 the model, so we can provoke a deviation where we try to not-support a
25                 container that a different deviation has already not-supported.
26         */
27
28         deviation /this:cont1/this:cont2/this:cont3/this:cont4 {
29         deviate not-supported;
30         }
31
32         deviation /this:cont1/this:cont2 {
33         deviate not-supported;
34         }
35
36         deviation /this:cont1/this:cont2/this:cont3 {
37         deviate not-supported;
38         }
39
40 }