Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug394 / bug394.yang
1 module bug394 {
2     yang-version 1;
3     namespace "urn:test:bug394";
4     prefix "b394";
5
6     import bug394-ext {
7         prefix ext;
8         revision-date 2014-03-04;
9     }
10
11     revision "2014-03-04" {
12     }
13
14
15     container logrecords {
16         ext:info "Shows logrecords information";
17         ext:action show {
18
19             info "Shows the log records";
20             actionpoint logging-logrecord-show;
21
22             input {
23                 leaf from {
24                     type yang:date-and-time;
25                     default 2000-01-01T00:00:00-00:00;
26                     description "Shows the log records from the given time";
27                 }
28                 leaf to {
29                     type yang:date-and-time;
30                     default 2099-01-01T00:00:00-00:00;
31                     description "Shows the log records up to the given time";
32                 }
33             }
34             output {
35                 leaf data {
36                     cli-drop-node-name;
37                     type string;
38                     description "Shows the log records according to the given input";
39                 }
40             }
41         }
42     }
43
44 }