Fragment handling decreasing performance for large number of cmHandles
[cps.git] / csit / plans / cps / pnfsim / netconf-config / stores.yang
1 module stores {
2
3     yang-version 1.1;
4
5     namespace "org:onap:ccsdk:sample";
6
7     prefix book-store;
8
9         import ietf-yang-types { prefix yang; }
10         import ietf-inet-types { prefix inet; }
11
12     revision "2020-09-15" {
13         description
14         "Sample Model";
15     }
16
17     typedef year {
18         type uint16 {
19             range "1000..9999";
20         }
21     }
22
23     container bookstore {
24
25         leaf bookstore-name {
26             type string;
27         }
28
29         list categories {
30
31             key "code";
32
33             leaf code {
34                 type string;
35             }
36
37             leaf name {
38                 type string;
39             }
40
41             list books {
42                 key title;
43
44                 leaf title {
45                     type string;
46                 }
47                 leaf lang {
48                     type string;
49                 }
50                 leaf-list authors {
51                     type string;
52                 }
53                 leaf pub_year {
54                      type year;
55                 }
56                 leaf price {
57                      type uint64;
58                 }
59             }
60         }
61    }
62 }
63