fe3fce24daa458a6b390ee81b9475f47eb46bb67
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / MicrowaveModel-Notifications@2016-08-09.yang
1 module MicrowaveModel-Notifications {
2     namespace "uri:onf:MicrowaveModel-Notifications";
3     prefix MicrowaveModel-Notifications;
4
5     import CoreModel-CoreFoundationModule-TypeDefinitions {
6         prefix CoreModel-CoreFoundationModule-TypeDefinitions;
7     }
8     import CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages {
9         prefix CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages;
10     }
11     import MicrowaveModel-TypeDefinitions {
12         prefix MicrowaveModel-TypeDefinitions;
13     }
14
15     organization 
16         'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
17
18     contact 
19         'WG Web:   <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
20          WG List:  <mailto:wireless-transport@login.opennetworking.org >
21          WG Chair: Lyndon Ong
22                    <mailto:lyong@ciena.com>
23          WG Chair: Giorgio Cazzaniga
24                    <mailto:giorgio.cazzaniga@sm-optics.com>';
25
26     description 
27         'This module contains a collection of YANG definitions for 
28          managing microwave transport networks.';
29
30     revision 2016-08-09 {
31         description 
32             "Initial revision."; 
33         reference 
34             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
35     }
36
37     notification ObjectCreationNotification {
38         description "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac has to be instancieted in the controller.";
39         leaf counter {
40             type int32;
41             description "Counts object creation notifications.";
42         }
43         leaf timeStamp {
44             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
45         }
46         leaf objectIdRef {
47             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
48             description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
49         }
50         leaf objectType {
51             type string;
52             description "Type of Object to be chosen from the following list of values: 'MW_AirInterface_Pac', 'MW_AirInterfaceDiversity_Pac', 'MW_Structure_Pac', 'MW_PureEthernetStructure_Pac', 'MW_HybridMwStructure_Pac', 'MW_Container_Pac', 'MW_EthernetContainer_Pac' or 'MW_TdmContainer_Pac'.";
53         }
54     }
55     notification ObjectDeletionNotification {
56         description "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac instance has to be deleted in the controller.";
57         leaf counter {
58             type int32;
59             description "Counts object deletion notifications.";
60         }
61         leaf timeStamp {
62             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
63         }
64         leaf objectIdRef {
65             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
66             description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
67         }
68     }
69     notification AttributeValueChangedNotification {
70         description "To be sent when an attribute has changed and one or more controllers have to update their data.";
71         leaf counter {
72             type int32;
73             description "Counts attribute value changed notifications.";
74         }
75         leaf timeStamp {
76             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
77         }
78         leaf objectIdRef {
79             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
80             description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
81         }
82         leaf attributeName {
83             type string;
84             description "Name of the attribute that has been changed.";
85         }
86         leaf newValue {
87             type string;
88             description "Attribute value converted to a string (xml, json, ...)";
89         }
90     }
91     notification ProblemNotification {
92         description "To be sent when a problem occurs at a MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
93         leaf counter {
94             type int32;
95             description "Counts problem notifications";
96         }
97         leaf timeStamp {
98             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
99         }
100         leaf objectIdRef {
101             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
102             description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
103         }
104         leaf problem {
105             type string;
106             description "Name of the problem according to AirInterface::AirInterfaceCapability::supportedAlarms or AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms or Structure::StructureCapability::supportedAlarms or PureEthernetStructure::PureEthernetStructureCapability::supportedAlarms or HybridMwStructure::HybridMwStructureCapability::supportedAlarms or Container::ContainerCapability::supportedAlarms or EthernetContainer::EthernetContainerCapability::supportedAlarms or TdmContainer::TdmContainerCapability::supportedAlarms.";
107         }
108         leaf severity {
109             type MicrowaveModel-TypeDefinitions:severityType;
110             description "Severity of the problem according to AirInterface::AirInterfaceConfiguration::problemSeverityList, AirInterfaceDiversity::AirInterfaceDiversityConfiguration::problemSeverityList, Structure::StructureConfiguration::problemSeverityList, PureEthernetStructure::PureEthernetStructureConfiguration::problemSeverityList, HybridMwStructure::HybridMwStructureConfiguration::problemSeverityList, Container::ContainerConfiguration::problemSeverityList, EthernetContainer::EthernetContainerConfiguration::problemSeverityList or TdmContainer::TdmContainerConfiguration::problemSeverityList";
111         }
112     }
113 }