Merge "Fixed for bug 1168 : Issue while update subnet"
[controller.git] / opendaylight / md-sal / sal-netconf-connector / src / test / resources / schemas / user-notification.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 "2014-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         container region {
43             leaf name {
44                 type string;
45             }
46
47             leaf time-zone {
48                 type string;
49             }
50         }
51
52         leaf visiting-date {
53             type string;
54         }
55     }
56 }