1 module deviate-not-supported-test-module {
3 namespace "urn:ietf:params:xml:ns:yang:deviate-not-supported-test-module";
6 import deviation-host-test-module {
11 "Copyright (C) 2024 Ericsson
12 Modifications Copyright (C) 2024 OpenInfra Foundation Europe";
14 revision "2019-10-09" {
15 description "initial revision";
18 // ---------------- These deviations are just fine ---------------------
20 deviation /host:cont2/host:leaf21 {
21 deviate not-supported;
24 deviation /host:list21 {
25 deviate not-supported;
28 deviation /host:cont1 {
29 deviate not-supported {
30 yexte:updated-description "blurb"; // should be ok, extensions are allowed under deviate not-supported
34 // ---------------- These deviations try to not-support things that don't exist in the host model ---------------------
36 deviation /host:unknownElement {
37 deviate not-supported;
40 deviation /host:cont3/host:unknownElement {
41 deviate not-supported;
44 // ---------------- Various other findings ---------------------
46 deviation /host:cont4 {
47 deviate not-supported {
48 type int16; // cannot have child statements