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-pm-types {
10 prefix org-openroadm-pm-types;
11 revision-date 2016-10-14;
13 import org-openroadm-common-types {
14 prefix org-openroadm-common-types;
15 revision-date 2018-10-19;
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.";
438 grouping optical-renderer-nodes {
445 "Gloabally unique identifier for the node";
451 "Source termination point ";
457 "Destination termination point ";
462 grouping otn-renderer-nodes {
469 "Globally unique identifier for the node";
474 "Source termination point ";
479 "Destination termination point for end nodes";
484 "Destination termination point for intermediate switch";
489 grouping optical-renderer-input {
491 "Type to be used by OLM and Renderer RPCs";
499 type org-openroadm-common-types:frequency-THz;
503 " Width of network media channel nmc";
504 type org-openroadm-common-types:frequency-GHz;
508 " Width of media channel (mc)";
509 type org-openroadm-common-types:frequency-GHz;
512 type org-openroadm-common-types:frequency-THz;
515 type org-openroadm-common-types:frequency-THz;
517 leaf lower-spectral-slot-number {
520 leaf higher-spectral-slot-number {
523 uses optical-renderer-nodes;
524 uses node-interfaces;
527 grouping otn-renderer-input {
529 "Type to be used by OLM and Renderer RPCs for OTN";
533 uses otn-renderer-nodes;
536 grouping olm-get-pm-input {
541 "Gloabally unique identifier
545 type org-openroadm-resource-types:resource-type-enum;
548 "Type of the PM resource";
550 container resource-identifier {
555 "Identifier of particular resource of given type";
557 leaf circuit-pack-name {
558 when "../../resource-type = 'port'";
562 "In case resource type is port, then particular resource is identified by port-name
563 (resource-name) and circuit-pack-name (this leaf).";
567 type org-openroadm-pm-types:pm-granularity;
570 "Granularity of PM bin can be
571 notApplicable,15min,24Hour";
587 grouping node-interfaces {
588 list node-interface {
593 leaf-list och-interface-id {
596 leaf-list otu-interface-id {
599 leaf-list odu-interface-id {
602 leaf-list eth-interface-id {
605 leaf-list connection-id {
611 grouping otn-constraint {
612 container otn-constraints {
613 leaf trib-port-number {
616 "defines a trib-port that must be used at A or Z end";
618 leaf-list opu-trib-slots {
621 "defines a list of trib-slots that must be used at A or Z end";
623 leaf-list opucn-trib-slots {
626 "defines a list of opucn-trib-slots that must be used at A or
629 container imposed-api {
631 "defines constraints on access point identifier to be used by
632 local device when one end point of the path (service) is located
633 in a remote domain not handled by the controller. These parameters
634 are passed to the local controller (transportpce) for interoperability
636 SAPI : The source api (local domain) to be used by A
637 or Z end as expected by remote controller.
638 DAPI: defines the destination api (remote domain) to be used by A
639 or Z end as exposed in the remote domain. Used when the end of the path
640 is in an external domain, handled by a remote controller.
641 EXPECTED-SAPI : The api of the remote end of the path (in an external
642 domain) as expected to be received by A or Z end.
643 EXPECTED-DAPI : defines the destination api to be used by remote end
644 as exposed in the local domain. Used when the end of the path is in an
645 external domain, handled by a remote controller";
655 "The source api used by the node";
660 "the destination api of the other end of the path";
665 "The api of the remote end of the path as expected to be received
671 "api of the node itself, supposed to be used by remote end as