48507d234a882ce5b986b4d4ea261570a7f1ba4e
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / test-services / test-services@2019-03-25.yang
1 module test-services {
2     yang-version 1.1;
3     namespace tests:test-services;
4     prefix ts;
5
6     revision "2019-03-25" {
7         description
8           "Initial revision.";
9     }
10
11     container test-data {
12         list services {
13             key "type-of-service";
14             leaf type-of-service {
15                 type string;
16             }
17
18             list instance {
19                 key "instance-name";
20
21                 leaf instance-name {
22                     type string;
23                 }
24
25                 leaf provider {
26                     type string;
27                 }
28             }
29
30             container next-data {
31                 leaf next-service {
32                     type string;
33                 }
34             }
35         }
36     }
37 }