1 module transportpce-common-types {
2 namespace "http://org/transportpce/common-types";
3 prefix org-transportpce-common-types;
5 import org-openroadm-resource-types {
6 prefix org-openroadm-resource-types;
7 revision-date 2016-10-14;
9 import org-openroadm-common-types {
10 prefix org-openroadm-common-types;
11 revision-date 2018-10-19;
16 "add pm-granularity from org-openroadm-pm-types";
20 "Replace leaf width in optical-renderer-input by mc-width and nmc-width";
24 "Replace olm-renderer-input by optical-rendrer-input.
25 Create optical-renderer-nodes and otn-renderer-nodes groupings";
29 "Update grouping olm-renderer-input, adding min, max frequencies
30 lower spectral slot number and higher spectral slot number
31 fix center-freq unit";
35 "Updated grouping olm-renderer-input to enable support for flex-grid";
39 "Add necessary parameters to consolidate OTN and address ONAP
40 MDONS use case, including grouping otn-renderer-input";
44 "Add grouping otn-renderer-input";
48 "Initial revision of TransportPCE common-types";
51 typedef pm-names-enum {
53 enum vendorExtension {
61 "Bit error rate (BER)";
63 enum opticalPowerOutput {
66 "Optical Power Output (OPOUT-OTS, OPOUT-OMS, OPT-OCH). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
68 enum opticalReturnLoss {
71 "Optical Return Loss (ORL-OTS) - at MW port(s) B";
73 enum opticalPowerInput {
76 "Optical Power Input (OPIN-OTS, OPIN-OMS, OPR-OCH). Total optical power";
81 "Code Violations (CV)";
86 "Errored Seconds (ES)";
88 enum severelyErroredSeconds {
91 "Severely Errored Seconds (SES)";
93 enum unavailableSeconds {
96 "Unavailable Seconds (UAS)";
101 "In frames (INFRAMES-E)";
103 enum inFramesErrored {
106 "In frames errored (INFRAMESERR-E)";
111 "Out frames (OUTFRAMES-E)";
113 enum erroredSecondsEthernet {
116 "Errored Seconds Ethernet (ES-E)";
118 enum severelyErroredSecondsEthernet {
121 "Severly Errored Seconds, Ethernet (SES-E)";
123 enum unavailableSecondsEthernet {
126 "Unavailable Seconds, Ethernet (UAS-E)";
128 enum erroredBlockCount {
131 "Errored block count";
136 "Number of frames between a DMValue toggle event and the received DMp signal value toggle event";
141 "Defect Seconds (DS)";
143 enum backwardIncomingAlignmentError {
146 "Backward Incoming Alignment Error (BIAE)";
148 enum incomingAlignmentError {
151 "Incoming Alignment Error (IAE)";
153 enum opticalPowerOutputMin {
156 "Minimum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
158 enum opticalPowerOutputMax {
161 "Maximum Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
163 enum opticalPowerOutputAvg {
166 "Average Optical Power Output (OPOUT-OTS). Total optical power includes Variable Optical Attenuator (VOA) attenuation";
168 enum opticalPowerInputMin {
171 "Minimum Optical Power Input (OPIN-OTS). Total optical power";
173 enum opticalPowerInputMax {
176 "Maximum Optical Power Input (OPIN-OTS). Total optical power";
178 enum opticalPowerInputAvg {
181 "Average Optical Power Input (OPIN-OTS). Total optical power";
183 enum opticalPowerOutputOSC {
186 "OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
188 enum opticalPowerOutputOSCMin {
191 "Minimum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
193 enum opticalPowerOutputOSCMax {
196 "Maximum OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
198 enum opticalPowerOutputOSCAvg {
201 "Average OSC Optical Power Output (OPT-OSC). OSC Transmit power on MW port";
203 enum opticalPowerInputOSC {
206 "OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
208 enum opticalPowerInputOSCMin {
211 "Minimum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
213 enum opticalPowerInputOSCMax {
216 "Maximum OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
218 enum opticalPowerInputOSCAvg {
221 "Average OSC Optical Power Input (OPR-OSC). OSC Receive power on MW port";
223 enum preFECCorrectedErrors {
226 "pFEC corrected Errors";
228 enum totalOpticalPowerInput {
231 "Total Optical Power Input.";
233 enum totalOpticalPowerInputMin {
236 "Minumun Total Optical Power Input.";
238 enum totalOpticalPowerInputMax {
241 "Maximum Total Optical Power Input.";
243 enum totalOpticalPowerInputAvg {
246 "Average Total Optical Power Input.";
248 enum FECCorrectableBlocks {
251 "FEC Correctable Blocks.";
253 enum FECUncorrectableBlocks {
256 "FEC Uncorrectable Blocks.";
258 enum BIPErrorCounter {
263 enum protectionSwitchingCount {
266 "Protection Switching Count (PSC)";
268 enum protectionSwitchingDuration {
271 "Protection Switching Duration in seconds (PSD)";
273 enum erroredBlockCountTCM1-up {
276 "errored Blocks Count on TCM1 up direction.";
278 enum erroredBlockCountTCM2-up {
281 "errored Blocks Count on TCM2 up direction.";
283 enum erroredBlockCountTCM3-up {
286 "errored Blocks Count on TCM3 up direction.";
288 enum erroredBlockCountTCM4-up {
291 "errored Blocks Count on TCM4 up direction.";
293 enum erroredBlockCountTCM5-up {
296 "errored Blocks Count on TCM5 up direction.";
298 enum erroredBlockCountTCM6-up {
301 "errored Blocks Count on TCM6 up direction.";
306 "Delay on TCM1 up direction.";
311 "Delay on TCM2 up direction.";
316 "Delay on TCM3 up direction.";
321 "Delay on TCM4 up direction.";
326 "Delay on TCM5 up direction.";
331 "Delay on TCM6 up direction.";
333 enum erroredBlockCountTCM1-down {
336 "errored Blocks Count on TCM1 down direction.";
338 enum erroredBlockCountTCM2-down {
341 "errored Blocks Count on TCM2 down direction.";
343 enum erroredBlockCountTCM3-down {
346 "errored Blocks Count on TCM3 down direction.";
348 enum erroredBlockCountTCM4-down {
351 "errored Blocks Count on TCM4 down direction.";
353 enum erroredBlockCountTCM5-down {
356 "errored Blocks Count on TCM5 down direction.";
358 enum erroredBlockCountTCM6-down {
361 "errored Blocks Count on TCM6 down direction.";
363 enum delayTCM1-down {
366 "Delay on TCM1 down direction.";
368 enum delayTCM2-down {
371 "Delay on TCM2 down direction.";
373 enum delayTCM3-down {
376 "Delay on TCM3 down direction.";
378 enum delayTCM4-down {
381 "Delay on TCM4 down direction.";
383 enum delayTCM5-down {
386 "Delay on TCM5 down direction.";
388 enum delayTCM6-down {
391 "Delay on TCM6 down direction.";
427 typedef pm-granularity {
429 "Granularity of PM bin";
431 enum "notApplicable" {
433 "This is for total statistic counters on devices that support
457 grouping optical-renderer-nodes {
464 "Gloabally unique identifier for the node";
470 "Source termination point ";
476 "Destination termination point ";
481 grouping otn-renderer-nodes {
488 "Globally unique identifier for the node";
493 "Source termination point ";
498 "Destination termination point for end nodes";
503 "Destination termination point for intermediate switch";
508 grouping optical-renderer-input {
510 "Type to be used by OLM and Renderer RPCs";
518 type org-openroadm-common-types:frequency-THz;
522 " Width of network media channel nmc";
523 type org-openroadm-common-types:frequency-GHz;
527 " Width of media channel (mc)";
528 type org-openroadm-common-types:frequency-GHz;
531 type org-openroadm-common-types:frequency-THz;
534 type org-openroadm-common-types:frequency-THz;
536 leaf lower-spectral-slot-number {
539 leaf higher-spectral-slot-number {
542 uses optical-renderer-nodes;
543 uses node-interfaces;
546 grouping otn-renderer-input {
548 "Type to be used by OLM and Renderer RPCs for OTN";
552 uses otn-renderer-nodes;
555 grouping olm-get-pm-input {
560 "Gloabally unique identifier
564 type org-openroadm-resource-types:resource-type-enum;
567 "Type of the PM resource";
569 container resource-identifier {
574 "Identifier of particular resource of given type";
576 leaf circuit-pack-name {
577 when "../../resource-type = 'port'";
581 "In case resource type is port, then particular resource is identified by port-name
582 (resource-name) and circuit-pack-name (this leaf).";
589 "Granularity of PM bin can be
590 notApplicable,15min,24Hour";
606 grouping node-interfaces {
607 list node-interface {
612 leaf-list och-interface-id {
615 leaf-list otu-interface-id {
618 leaf-list odu-interface-id {
621 leaf-list eth-interface-id {
624 leaf-list connection-id {
630 grouping otn-constraint {
631 container otn-constraints {
632 leaf trib-port-number {
635 "defines a trib-port that must be used at A or Z end";
637 leaf-list opu-trib-slots {
640 "defines a list of trib-slots that must be used at A or Z end";
642 leaf-list opucn-trib-slots {
645 "defines a list of opucn-trib-slots that must be used at A or
648 container imposed-api {
650 "defines constraints on access point identifier to be used by
651 local device when one end point of the path (service) is located
652 in a remote domain not handled by the controller. These parameters
653 are passed to the local controller (transportpce) for interoperability
655 SAPI : The source api (local domain) to be used by A
656 or Z end as expected by remote controller.
657 DAPI: defines the destination api (remote domain) to be used by A
658 or Z end as exposed in the remote domain. Used when the end of the path
659 is in an external domain, handled by a remote controller.
660 EXPECTED-SAPI : The api of the remote end of the path (in an external
661 domain) as expected to be received by A or Z end.
662 EXPECTED-DAPI : defines the destination api to be used by remote end
663 as exposed in the local domain. Used when the end of the path is in an
664 external domain, handled by a remote controller";
674 "The source api used by the node";
679 "the destination api of the other end of the path";
684 "The api of the remote end of the path as expected to be received
690 "api of the node itself, supposed to be used by remote end as