Add latest MEF NRP yang modules.
[unimgr.git] / nrp-api / src / main / yang / nrp-interface.yang
1 module nrp-interface {
2     namespace "urn:mef:yang:nrp-interface";
3     prefix nrp-interface;
4     import tapi-connectivity {
5         prefix tapi-connectivity;
6     }
7     import tapi-common {
8         prefix tapi-common;
9     }
10     import nrm-connectivity {
11         prefix nrm-connectivity;
12     }
13     organization "Metro Ethernet Forum (MEF)";
14     contact "MEF";
15     description "none";
16     revision 2017-02-27 {
17         description "MEF NRP 1.0.alpha";
18         reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020 and RFC 6087";
19     }
20     augment "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:service-end-point" {
21         uses nrp-cg-eth-frame-flow-cpa-aspec;
22         description "none";
23     }
24     augment "/tapi-common:context/tapi-connectivity:connectivity-service" {
25         uses nrp-cg-eth-conn-serv-spec;
26         description "none";
27     }
28     augment "/tapi-common:context/tapi-common:service-interface-point/tapi-common:layer-protocol" {
29         uses nrp-augmentation;
30         description "none";
31     }
32     /***********************
33     * package diagrams
34     **********************/
35
36     /***********************
37     * package object-classes
38     **********************/
39         grouping nrp-cg-eth-uni-spec {
40             uses nrm-connectivity:cg-eth-uni-spec;
41             description "none";
42         }
43         grouping nrp-cg-eth-inni-spec {
44             uses nrm-connectivity:cg-eth-enni-spec;
45             description "none";
46         }
47         grouping nrp-cg-eth-frame-flow-cpa-aspec {
48             uses nrm-connectivity:cg-eth-frame-flow-cpa-aspec;
49             description "none";
50         }
51         grouping nrp-cg-eth-conn-serv-spec {
52             uses nrm-connectivity:cg-eth-conn-serv-spec;
53             description "none";
54         }
55         grouping nrp-cg-eth-enni-spec {
56             uses nrm-connectivity:cg-eth-enni-spec;
57             description "none";
58         }
59         grouping nrp-augmentation {
60             container nrp-cg-eth-uni-spec {
61                 uses nrp-cg-eth-uni-spec;
62                 description "none";
63             }
64             container nrp-cg-eth-inni-spec {
65                 uses nrp-cg-eth-inni-spec;
66                 description "none";
67             }
68             container nrp-cg-eth-enni-spec {
69                 uses nrp-cg-eth-enni-spec;
70                 description "none";
71             }
72             description "none";
73         }
74
75 }