YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug394-retest / 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     import ietf-yang-types {
12         prefix yang;
13         revision-date 2010-09-24;
14     }
15
16     revision "2014-03-04" {
17     }
18
19
20     container logrecords {
21         ext:info "Shows logrecords information";
22         ext:action show {
23
24             ext:info "Shows the log records";
25
26             input {
27                 leaf from {
28                     type yang:date-and-time;
29                     default "2000-01-01T00:00:00-00:00";
30                     description "Shows the log records from the given time";
31                 }
32                 leaf to {
33                     type yang:date-and-time;
34                     default "2099-01-01T00:00:00-00:00";
35                     description "Shows the log records up to the given time";
36                 }
37             }
38             output {
39                 leaf data {
40                     ext:cli-drop-node-name;
41                     type string;
42                     description "Shows the log records according to the given input";
43                 }
44             }
45         }
46     }
47
48 }