Added test for MouontPoints and URI
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / test-config-data / yang1 / test-interface.yang
1 module test-interface {
2     yang-version 1;
3     namespace "urn:ietf:params:xml:ns:yang:test-interface";
4     prefix "sn";
5
6     description
7         "test file";   
8
9     revision "2014-07-01" {
10         description
11             "Initial revision";
12         reference "will be defined";
13     }
14     
15     container interfaces {
16     
17         container block {
18             
19             leaf address {
20                 type string;
21             }
22             leaf location {
23                 type string;
24             }
25         }
26     
27         list interface {
28             key "name";
29          
30             leaf name {
31                 type string;
32             }
33             leaf type {
34                 type string;
35             }
36             leaf enabled {
37                 type string;
38             }
39         }
40     }
41 }