Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemodel / src / main / yang / MicrowaveModel-ObjectClasses-HybridMwStructure@2016-09-02.yang
1 module MicrowaveModel-ObjectClasses-HybridMwStructure {
2     namespace "uri:onf:MicrowaveModel-ObjectClasses-HybridMwStructure";
3     prefix MicrowaveModel-ObjectClasses-HybridMwStructure;
4
5     import CoreModel-CoreNetworkModule-ObjectClasses {
6         prefix CoreModel-CoreNetworkModule-ObjectClasses;
7     }
8     import CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages {
9         prefix CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages;
10     }
11     import MicrowaveModel-TypeDefinitions {
12         prefix MicrowaveModel-TypeDefinitions;
13     }
14     import CoreModel-CoreFoundationModule-TypeDefinitions {
15         prefix CoreModel-CoreFoundationModule-TypeDefinitions;
16     }
17
18     organization 
19         'ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project';
20
21     contact 
22         'WG Web:   <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
23          WG List:  <mailto:wireless-transport@login.opennetworking.org >
24          WG Chair: Lyndon Ong
25                    <mailto:lyong@ciena.com>
26          WG Chair: Giorgio Cazzaniga
27                    <mailto:giorgio.cazzaniga@sm-optics.com>';
28
29     description 
30         'This module contains a collection of YANG definitions for 
31          managing microwave transport networks.';
32
33     revision 2016-09-02 {
34         description 
35             "Initial revision."; 
36         reference 
37             "ONF TR xyz: A YANG Data Model for Microwave Transport Networks."; 
38     }
39
40     feature hybrid-microwave {
41         description "Feature 'hybrid-microwave' is mandatory for device types transporting Ethernet + TDM.";
42     }
43     list MW_HybridMwStructure_Pac {
44         description "LTP(MWS-TTP)
45             The HybridMwStructure_Pac and its attached classes MUST be provided on management interfaces of microwave devices, which are transporting TDM and Ethernet traffic.";
46         key 'layerProtocol';
47         config true;
48         leaf layerProtocol {
49             type leafref {
50                 path '/CoreModel-CoreNetworkModule-ObjectClasses:NetworkElement/CoreModel-CoreNetworkModule-ObjectClasses:_ltpRefList/CoreModel-CoreNetworkModule-ObjectClasses:_lpList/CoreModel-CoreNetworkModule-ObjectClasses:uuid';
51             }
52             description "";
53         }
54         container hybridMwStructureCapability {
55             config false;
56             uses HybridMwStructureCapability;
57         }
58         container hybridMwStructureConfiguration {
59             config true;
60             uses HybridMwStructureConfiguration;
61         }
62         container hybridMwStructureStatus {
63             config false;
64             uses HybridMwStructureStatus;
65         }
66         container hybridMwStructureCurrentProblems {
67             config false;
68             uses HybridMwStructureCurrentProblems;
69         }
70         container hybridMwStructureCurrentPerformance {
71             config false;
72             uses HybridMwStructureCurrentPerformance;
73         }
74         container hybridMwStructureHistoricalPerformances {
75             config false;
76             uses HybridMwStructureHistoricalPerformances;
77         }
78     }
79     grouping HybridMwStructureCapability {
80         description "Describes the logical structuring of the physical capacity provided by a hybrid microwave device (TDM + Ethernet).
81             Segmentation is available.
82             TDM transport is available.";
83         leaf structureId {
84             type CoreModel-CoreFoundationModule-SuperClassesAndCommonPackages:UniversalId;
85             config false;
86             description "Identifies the Structure for bundling and container.";
87         }
88         list supportedTdmStructureTypesList {
89             description "Lists the TDM frame types that are supported.";
90             key 'tdmStructureName';
91             ordered-by system;
92             uses MicrowaveModel-TypeDefinitions:tdmStructureType;
93             min-elements 1;
94         }
95         leaf supportedAlarms {
96             type string;
97             config false;
98             description "Available alarms to be listed. Mandatory:non. Names are to be separated by commas. Further alarms might be added by the device.";
99             default "Supported alarms not yet defined.";
100         }
101     }
102     grouping HybridMwStructureConfiguration {
103         container structureType {
104             description "TDM frame to be applied.";
105             config true;
106             uses MicrowaveModel-TypeDefinitions:tdmStructureType;
107         }
108         leaf numberOfTdmSegmentsToBeReserved {
109             type int16;
110             description "Allows to configure the number of segments reserved for TDM frames of the type specified in HybridMwStructure::HybridMwStructureConfiguration::structureType";
111             default -1;
112         }
113         list problemKindSeverityList {
114             description "Severity of the type of problem to be configured.";
115             key 'problemKindName';
116             config true;
117             ordered-by system;
118             uses MicrowaveModel-TypeDefinitions:structureProblemSeverityType;
119         }
120     }
121     grouping HybridMwStructureStatus {
122         list segmentStatusList {
123             description "Status of each segment (all TDM and one Ethernet).
124                 Multiplicity = HybridMwStructure::StructureConfiguration::tdmReservedNumberOfSegments + 1";
125             key 'segmentStatusTypeId';
126             ordered-by system;
127             uses MicrowaveModel-TypeDefinitions:segmentStatusType;
128         }
129         leaf lastStatusChange {
130             type CoreModel-CoreFoundationModule-TypeDefinitions:DateAndTime;
131             config false;
132             description "Time and date of the last update of the status information.
133                 _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.";
134         }
135     }
136     grouping HybridMwStructureCurrentProblems {
137         list currentProblemList {
138             key 'sequenceNumber';
139             ordered-by system;
140             uses MicrowaveModel-TypeDefinitions:structureCurrentProblemType;
141         }
142     }
143     grouping HybridMwStructureCurrentPerformance {
144         description "Aggregated performance information of the structure of a hybrid microwave at a particular moment.";
145         list currentPerformanceDataList {
146             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.";
147             key 'scannerId';
148             ordered-by system;
149             uses MicrowaveModel-TypeDefinitions:structureCurrentPerformanceType;
150             max-elements 2;
151             min-elements 1;
152         }
153     }
154     grouping HybridMwStructureHistoricalPerformances {
155         description "Aggregated performance information of the structure of a hybrid microwave for a pre-defined measurement interval.";
156         list historicalPerformanceDataList {
157             key 'historyDataId';
158             ordered-by system;
159             uses MicrowaveModel-TypeDefinitions:structureHistoricalPerformanceType;
160         }
161     }
162 }