2 namespace "urn:onf:params:xml:ns:yang:g.874.1-model";
8 import ietf-yang-types {
12 organization "ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project";
13 contact "WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
14 WG List: <mailto:wireless-transport@login.opennetworking.org>
16 <mailto:lyong@ciena.com>
17 WG Chair: Giorgio Cazzaniga
18 <mailto:giorgio.cazzaniga@sm-optics.com>
19 Editors: Thorsten Heinze
20 <mailto:thorsten.heinze@telefonica.com>
22 <mailto:martin.skorupski@highstreet-technologies.com>";
23 description "<p>Version 2.02; outcome of the 10/2013 Nuremberg meeting.<br>Version 2.03; updates for Geneva 03-2014<br>Version 2.04; updates for Shanghai 09-2014<br>Version 2.05; input to Geneva 11-2014<br>Version 2.06; output from Geneva 11-2014<br>Version 2.07; using OpenProfile 3-2015<br>Version 2.08; output from Geneva 06-2015</p>";
25 description "Initial version";
26 reference "ONF TR 532: A YANG Data Model for Wireless Networks.";
28 /***********************
29 * package object-classes
30 **********************/
31 grouping otn-current-data-g {
34 description "The timestamp associated with when the current data was collected.";
36 uses q.822-current-data-g;
37 description "This object class is an abstract class from which the OTN layer-specific CurrentData object classes are inherited. This object class is a subclass of the Q.822 CurrentData object class, which in turn is a subclass of X.739 Scanner object class. It inherits the following attributes: scannerId, operationalState, granularityPeriod, administrativeState, suspectIntervalFlag, elapsedTime, observedObjectClass, and observedObjectInstance.";
39 grouping otn-history-data-g {
40 leaf suspect-interval-flag {
43 description "This attribute indicates that the data collected during the interval is suspect.";
45 uses q.822-history-data-g;
46 description "This object class is an abstract class from which the OTN layer-specific HistoryData object classes are inherited. ";
49 /***********************
50 * package type-definitions
51 **********************/
52 typedef directionality {
64 description "The enumeration with the options for directionality of the termination point.";
78 description "This enumeration indicates the GCC access represented by the entity.";
80 typedef operational-state {
89 description "The list of valid operational states for the connection.";
100 description "The operation type associated with the protection mechanism (either non-revertive or revertive).";
102 typedef ext-cmd-operation {
116 enum release-of-manual-switch {
119 enum release-of-forced-switch {
122 enum release-of-lockout {
126 description "This enumeration contains the options for the actions that instruct the protection system for performing specific protection switching operations.";
128 typedef administrative-state {
140 description "For more information on Administrative State, See ITU-T Recs. X.731 and M.3100.";
142 typedef oc-tk-nim-k-bit-rate {
157 description "Provides an enumeration with the meaning of each 'k' value.";
171 description "List of modes for trace identifier mismatch detection.";
173 typedef oc-tk-nim-problem-list {
176 description "Loss of Signal -- Payload";
179 description "Open Connection Indicator";
182 description "Server Signal Failure -- Payload -- can not co-exist with SSF or SSF-O";
185 description "Server Signal Failure -- Overhead; can not co-exist with SSF or SSF-P";
188 description "Server Signal Failure; can not co-exist with SSF-P or SSF-O";
191 description "Trail Trace Identifier Mismatch";
194 description "Signal Degraded";
197 description "Backward Defect Indication";
200 description "The valid list of problems for the entity.";
202 typedef tcm-monitoring {
211 description "Monitoring types for the tandem connection monitoring function.";
225 description "List of value modes for the sink side of the tandem connection monitoring function.";
227 typedef ops-mnk-ttp-k-bit-rate {
236 description "Provides an enumeration with the meaning of each 'k' value.";
238 typedef ops-mnk-ttp-problem-list {
241 description "Loss of Signal";
244 description "Loss of Lane Alignment";
247 description "The valid list of problems for the entity.";
249 typedef op-sn-ttp-problem-list {
252 description "Loss of Signal";
255 description "The valid list of problems for the entity.";
257 typedef otm-n-k-bit-rates {
278 description "Provides an enumeration with the meaning of each 'k' value.";
280 typedef domain-interface {
289 description "This enumeration provides the options for the interface associated with OTMn.";
291 typedef otm-n-optical-reach {
303 description "The valid options for reach of the optical cable.";
314 description "The enumeration of the options for the Automatic Power Reduction Status.";
316 typedef ot-sn-ttp-problem-list {
319 description "BDI-P (Backward Defect Indication - Payload); not co-exist with BDI-O or BDI";
322 description "BDI-O (Backward Defect Indication - Overhead); not co-exist with BDI-P or BDI";
325 description "BDI (Backward Defect Indication); not co-exist with BDI-P or BDI-O";
328 description "TIM (Trail Trace Identifier Mismatch);";
331 description "-P (Loss of Signal - Payload); not co-exist with LOS-O or LOS";
334 description "LOS-O (Loss of Signal - Overhead); not co-exist with LOS-P or LOS";
337 description "LOS (Loss of Signal); not co-exist with LOS-P or LOS-O. ";
340 description "The valid list of problems for the entity.";
342 typedef ot-uk-ctp-adaptation {
345 description "i.e. OPSM/OTUk-a, OCh[r]/OTUk-a";
348 description "i.e. OPSM/OTUk-b, OCh[r]/OTUk-b";
350 enum vendor-specific {
351 description "i.e. OCh[r]/OTUk-v";
353 enum functionally-standardized {
354 description "i.e. OCh[r]/OTUkV";
357 description "The adaptation options for OTUk_ConnectionTermationPoints.";
359 typedef ot-uk-ctp-k-bit-rate {
374 description "Provides an enumeration with the meaning of each 'k' value.";
376 typedef ot-uk-ctp-problem-list {
379 description "Loss of Frame";
382 description "Alarm Indication Signal";
385 description "Loss of MultiFrame";
388 description "The valid list of problems for the entity.";
390 typedef ot-uk-ttp-problem-list {
393 description "Trail Trace Identifier Mismatch";
396 description "Signal Degraded";
399 description "Backward Defect Indication";
402 description "Server Signal Failure";
405 description "The valid list of problems for the entity.";
407 typedef monitored-direction {
416 description "The enumeration with the options for directionality for nonintrusive monitoring.";
418 typedef deg-thr-type {
421 description "<p>Choice of % or Number of errored blocks</p>";
423 enum number-errored-blocks {
424 description "<p>Number of % or blocks</p>";
427 description "<p>The value of the threshold can be provisioned in terms of number of errored blocks or in terms of percentage of errored blocks. For percentage-based specification, in order to support provision of less than 1%, the specification consists of two fields. The first field indicates the granularity of percentage. For examples, in 1%, in 0.1%, or in 0.01%, etc. The second field indicates the multiple of the granularity. For number of errored block based, the value is a positive integer.</p>";
443 typedef application-identifier-type {
454 typedef printable-string {
458 typedef date-and-time {
460 description "This primitive type defines the date and time according to the following structure:
461 'yyyyMMddhhmmss.s[Z|{+|-}HHMm]' where:
462 yyyy '0000'..'9999' year
468 s '.0'..'.9' tenth of second (set to '.0' if EMS or NE cannot support this granularity)
469 Z 'Z' indicates UTC (rather than local time)
470 {+|-} '+' or '-' delta from UTC
471 HH '00'..'23' time zone difference in hours
472 Mm '00'..'59' time zone difference in minutes.";
474 typedef aps-channel {
505 description "This primitive type defines a bit oriented string.
506 The size of the BitString will be defined in the valueRange property of the attribute; according to ASN.1 (X.680).
507 The semantic of each bit position will be defined in the Documentation field of the attribute.";
509 typedef delay-measurement-role {
520 typedef resize-operation-type {
523 description "Increase Bandwidth";
526 description "Decrease Bandwidth";
531 typedef granularity-period-type {
539 enum period-24-hours {
543 description "The enumeration with the options for granularity period of the performance data.";
546 /***********************
547 * package illustrative-object-diagrams
548 **********************/
550 /***********************
551 * package imported-information-object-classes
552 **********************/
553 /***********************
555 **********************/
556 grouping q.822-current-data-g {
557 leaf suspect-interval-flag {
559 description "This attribute is used to indicate that the performance data for the current period may not be reliable. Some reasons for this to occur are:- Suspect data were detected by the actual resource doing data collection.- Transition of the administrativeState attribute to/from the 'lock' state.- Transition of the operationalState to/from the 'disabled' state.- Scheduler setting that inhibits the collection function.- The performance counters were reset during the interval.- The currentData (or subclass) object instance was created during the monitoring period.";
565 uses x.739-scanner-g;
568 grouping q.822-history-data-g {
569 leaf history-data-id {
573 leaf period-end-time {
574 type yang:date-and-time;
577 leaf granularity-period {
578 type granularity-period-type;
585 /***********************
587 **********************/
588 grouping x.739-scanner-g {
593 leaf granularity-period {
594 type granularity-period-type;
597 leaf administrative-state {
598 type core-model:administrative-state;
605 /***********************
607 **********************/
608 grouping x.721-top-g {
610 type object-identifier;
611 description "ObjectClass ::= CHOICE{ globalForm [0] OBJECT IDENTIFIER,
612 localForm [1] INTEGER}";
615 type object-identifier;
618 description "This is the top level of managed object class hierarchy and every other managed object class is a specialization of either this generic class (top) or a specialization of subclass of top. The parameter miscellaneousError is to be used when a processing failure has occurred and the error condition encountered does not match any of object's defined specific error types.";
622 /***********************
623 * package imported-data-types
624 **********************/
625 typedef object-instance {
633 typedef object-identifier {
637 typedef generalized-time {
641 typedef time-period {
643 description "This primitive Type is imported from X.739.";