Move netconf-console to apps/
[netconf.git] / plugins / sal-netconf-connector / src / test / resources / schemas / user-notification3.yang
1 module user-notification {
2     yang-version 1;
3     namespace "org:opendaylight:notification:test:ns:yang:user-notification";
4     prefix "user";
5
6     organization "Cisco Systems";
7     contact "Lukas Sedlak";
8     description "Test model for testing notifications";
9
10     revision "2016-07-08" {
11         description "Initial revision";
12     }
13
14     identity user-identity {
15         description "Identity of user incoming to Web Page";
16     }
17
18     identity public-user {
19         base user-identity;
20         description "Identity of random public non-registered user";
21     }
22
23     notification user-visited-page {
24         leaf incoming-user {
25             type identityref {
26                 base "user-identity";
27             }
28         }
29
30         leaf ip-address {
31             type string;
32         }
33
34         leaf mac {
35             type string;
36         }
37
38         leaf browser-id {
39             type string;
40         }
41
42         leaf visiting-date {
43             type string;
44         }
45     }
46 }