Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / MicrowaveModel-ObjectClasses-TdmContainer@2016-09-02.yang
1 module MicrowaveModel-ObjectClasses-TdmContainer {
2     namespace "uri:onf:MicrowaveModel-ObjectClasses-TdmContainer";
3     prefix MicrowaveModel-ObjectClasses-TdmContainer;
4
5     import CoreModel-CoreNetworkModule-ObjectClasses {
6         prefix CoreModel-CoreNetworkModule-ObjectClasses;
7     }
8     import MicrowaveModel-TypeDefinitions {
9         prefix MicrowaveModel-TypeDefinitions;
10     }
11     import CoreModel-CoreFoundationModule-TypeDefinitions {
12         prefix CoreModel-CoreFoundationModule-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-09-02 {
31         description 
32             "Initial revision."; 
33         reference 
34             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
35     }
36
37     feature hybrid-microwave {
38         description "Feature 'hybrid-microwave' is mandatory for device types transporting Ethernet + TDM.";
39     }
40     list MW_TdmContainer_Pac {
41         description "LTP(Client)";
42         key 'layerProtocol';
43         config true;
44         leaf layerProtocol {
45             type leafref {
46                 path '/CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/CoreModel-CoreNetworkModule-ObjectClasses:_ltpRefList/CoreModel-CoreNetworkModule-ObjectClasses:_lpList/CoreModel-CoreNetworkModule-ObjectClasses:uuid';
47             }
48             description "";
49         }
50         container tdmContainerCapability {
51             config false;
52             uses TdmContainerCapability;
53         }
54         container tdmContainerConfiguration {
55             config true;
56             uses TdmContainerConfiguration;
57         }
58         container tdmContainerStatus {
59             config false;
60             uses TdmContainerStatus;
61         }
62         container tdmContainerCurrentProblems {
63             config false;
64             uses TdmContainerCurrentProblems;
65         }
66         container tdmContainerCurrentPerformance {
67             config false;
68             uses TdmContainerCurrentPerformance;
69         }
70         container tdmContainerHistoricalPerformances {
71             config false;
72             uses TdmContainerHistoricalPerformances;
73         }
74     }
75     grouping TdmContainerCapability {
76         description "Bundling is not available.";
77         list supportedTdmContainerTypesList {
78             description "Lists the TDM containers that are supported.";
79             key 'tdmContainerName';
80             ordered-by system;
81             uses MicrowaveModel-TypeDefinitions:tdmContainerType;
82             min-elements 1;
83         }
84         leaf supportedAlarms {
85             type string;
86             config false;
87             description "Available alarms to be listed. Mandatory:'framingIsFaulty' and 'containerIsDown'. Further alarms might be added by the device.";
88             default "Supported alarms not yet defined.";
89         }
90     }
91     grouping TdmContainerConfiguration {
92         leaf containerID {
93             type string;
94             description "ContainterID in Netconf must be the same as EthernetPortID in OpenFlow so a connection can be made between the two items, which separately exist in the controller.";
95         }
96         container containerType {
97             description "Type of TDM container.";
98             config true;
99             uses MicrowaveModel-TypeDefinitions:tdmContainerType;
100         }
101         container segmentID {
102             description "Multiplicity = 1; One segment per TDM container; Type of segment must match type of container;";
103             config true;
104             uses MicrowaveModel-TypeDefinitions:segmentIDType;
105         }
106         list problemKindSeverityList {
107             description "Severity of the problem to be configured.";
108             key 'problemKindName';
109             config true;
110             ordered-by system;
111             uses MicrowaveModel-TypeDefinitions:containerProblemSeverityType;
112             min-elements 2;
113         }
114     }
115     grouping TdmContainerStatus {
116         leaf lastStatusChange {
117             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
118             config false;
119             description "Time the Container entered its current operational status. 
120                 _format:yyyyMMddhhmmss.s[Z|{+|-}HHMm]; yyyy='0000'..'9999' year; MM='01'..'12' month; dd='01'..'31' day; hh='00'..'23' hour; mm='00'..'59' minute; ss='00'..'59' second; s='.0'..'.9'tenth of second (set to '.0' if EMS or NE cannot support this granularity); Z='Z' indicates UTC (rather than local time); {+|-}='+' or '-' delta from UTC; HH='00'..'23' time zone difference in hours; Mm='00'..'59' time zone difference in minutes.";
121             default "20101120140000.0Z+1";
122         }
123     }
124     grouping TdmContainerCurrentProblems {
125         list currentProblemList {
126             key 'sequenceNumber';
127             ordered-by system;
128             uses MicrowaveModel-TypeDefinitions:containerCurrentProblemType;
129         }
130     }
131     grouping TdmContainerCurrentPerformance {
132         description "Aggregated performance information of the TDM container at a particular moment.";
133         list currentPerformanceDataList {
134             description "At least values of the counters, which are reset every 15 minutes, are to be provided. If available, the current values of the counters, which are reset every 24 hour, can be provided, too.";
135             key 'scannerId';
136             ordered-by system;
137             uses MicrowaveModel-TypeDefinitions:containerCurrentPerformanceType;
138             max-elements 2;
139             min-elements 1;
140         }
141     }
142     grouping TdmContainerHistoricalPerformances {
143         description "Aggregated performance information of the TDM container for a pre-defined measurement interval.";
144         list historicalPerformanceDataList {
145             key 'historyDataId';
146             ordered-by system;
147             uses MicrowaveModel-TypeDefinitions:containerHistoricalPerformanceType;
148         }
149     }
150 }