Delete netconf
[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             list sub-interface {
31                 key "sub-name";
32                 
33                 leaf sub-name {
34                     type string;
35                 }
36             }
37             
38             leaf name {
39                 type string;
40             }
41             leaf type {
42                 type string;
43             }
44             leaf enabled {
45                 type string;
46             }
47         }
48     }
49 }