Bug 3866: Support for Restconf HTTP Patch
[netconf.git] / opendaylight / restconf / sal-rest-connector / src / test / resources / instanceidentifier / yang / instance-identifier-patch-module.yang
1 module instance-identifier-patch-module {
2   namespace "instance:identifier:patch:module";
3
4   prefix "iipmodule";
5   revision 2015-11-21 {
6   }
7
8   container patch-cont {
9     container patch-cont2 {
10         leaf cont-leaf {
11             type string;
12         }
13     }
14
15     list my-list1 {
16
17         description "PATCH /restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1";
18
19         key name;
20
21         leaf name {
22             type string;
23         }
24
25         leaf my-leaf11 {
26             type string;
27         }
28
29         leaf my-leaf12 {
30             type string;
31         }
32
33         list my-list2 {
34             key name;
35
36             leaf name {
37                 type string;
38             }
39
40             leaf my-leaf21 {
41                 type string;
42             }
43
44             leaf my-leaf22 {
45                 type string;
46             }
47         }
48     }
49   }
50 }