summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang')
-rw-r--r--sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang746
1 files changed, 746 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang b/sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang
new file mode 100644
index 000000000..cf326b33f
--- /dev/null
+++ b/sdnr/wt/devicemanager/provider/src/main/resources/preload.cache.schema/tapi-photonic-media@2018-08-31.yang
@@ -0,0 +1,746 @@
+module tapi-photonic-media {
+ namespace "urn:onf:otcc:yang:tapi-photonic-media";
+ prefix tapi-photonic-media;
+ import tapi-common {
+ prefix tapi-common;
+ }
+ import tapi-connectivity {
+ prefix tapi-connectivity;
+ }
+ import tapi-topology {
+ prefix tapi-topology;
+ }
+ organization "ONF OTCC (Open Transport Configuration & Control) Project";
+ contact "
+ Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
+ Project List: <mailto:transport-api@opennetworking.org>
+ Editor: Karthik Sethuraman
+ <mailto:karthik.sethuraman@necam.com>";
+ description "
+ This module contains TAPI PhotonicMedia Model definitions.
+ Source: TapiPhotonicMedia.uml
+ Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
+ License: This module is distributed under the Apache License 2.0";
+ revision 2018-08-31 {
+ description "ONF Transport API version 2.1.0
+ This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
+ Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
+ reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
+ <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
+ }
+ revision 2018-03-07 {
+ description "ONF Transport API version 2.0.2
+ This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
+ Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
+ reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
+ <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
+ }
+ revision 2018-02-16 {
+ description "ONF Transport API version 2.0.1
+ This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
+ Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
+ reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
+ <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
+ }
+ revision 2018-01-02 {
+ description "ONF Transport API version 2.0.0
+ This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
+ Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
+ reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
+ <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
+ uses otsi-connection-end-point-spec-g;
+ description "Augments the base LayerProtocol information in ConnectionEndPoint with OCH-specific information";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
+ uses media-channel-node-edge-point-spec-g;
+ description "Augments the base LayerProtocol information in NodeEdgePoint with OCH-specific information";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
+ uses otsi-assembly-connection-end-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-common:service-interface-point" {
+ uses otsi-service-interface-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
+ uses otsi-connectivity-service-end-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-common:service-interface-point" {
+ uses media-channel-service-interface-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-connectivity:connectivity-service/tapi-connectivity:end-point" {
+ uses media-channel-service-interface-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
+ uses media-channel-connection-end-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
+ uses ots-connection-end-point-spec-g;
+ description "none";
+ }
+ augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
+ uses media-channel-assembly-spec-g;
+ description "none";
+ }
+ /***********************
+ * package object-classes
+ **********************/
+ grouping otsi-gserver-adaptation-pac-g {
+ leaf number-of-otsi {
+ type uint64;
+ config false;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-connection-end-point-spec-g {
+ container otsi-termination {
+ config false;
+ uses otsi-termination-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-termination-pac-g {
+ container selected-central-frequency {
+ config false;
+ uses central-frequency-or-wavelength-g;
+ description "none";
+ }
+ container selected-application-identifier {
+ config false;
+ uses application-identifier-g;
+ description "This attribute indicates the selected Application Identifier that is used by the OCh trail termination function. The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
+ }
+ leaf selected-modulation {
+ type modulation-technique;
+ default "UNDEFINED";
+ config false;
+ description "This parameter defines the modulation used at the source";
+ }
+ container selected-spectrum {
+ config false;
+ uses spectrum-g;
+ description "none";
+ }
+ container transmited-power {
+ config false;
+ uses power-properties-pac-g;
+ description "Measured power at the Transmitter.";
+ }
+ container received-power {
+ uses power-properties-pac-g;
+ description "none";
+ }
+ container laser-properties {
+ config false;
+ uses laser-properties-pac-g;
+ description "Laser properties.";
+ }
+ description "Provides status information only.";
+ }
+ grouping media-channel-pool-capability-pac-g {
+ list supportable-spectrum {
+ config false;
+ uses spectrum-g;
+ description "none";
+ }
+ list available-spectrum {
+ config false;
+ uses spectrum-g;
+ description "none";
+ }
+ list occupied-spectrum {
+ config false;
+ uses spectrum-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-node-edge-point-spec-g {
+ container mc-pool {
+ config false;
+ uses media-channel-pool-capability-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-routing-spec-g {
+ leaf optical-routing-strategy {
+ type optical-routing-strategy;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-properties-pac-g {
+ container occupied-spectrum {
+ config false;
+ uses spectrum-g;
+ description "none";
+ }
+ container measured-power-ingress {
+ config false;
+ uses power-properties-pac-g;
+ description "none";
+ }
+ container measured-power-egress {
+ uses power-properties-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-assembly-connection-end-point-spec-g {
+ container otsi-adapter {
+ config false;
+ uses otsi-gserver-adaptation-pac-g;
+ description "none";
+ }
+ container fec-parameters {
+ config false;
+ uses fec-properties-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-capability-pac-g {
+ list supportable-lower-central-frequency {
+ config false;
+ uses central-frequency-or-wavelength-g;
+ description "The lower frequency of the channel spectrum";
+ }
+ list supportable-upper-central-frequency {
+ config false;
+ uses central-frequency-or-wavelength-g;
+ description "The Upper frequency of the channel spectrum";
+ }
+ list supportable-application-identifier {
+ config false;
+ uses application-identifier-g;
+ description "The list of supportable ApplicationIdentifiers.";
+ }
+ leaf-list supportable-modulation {
+ type modulation-technique;
+ config false;
+ description "This parameter defines the modulation used at the source";
+ }
+ container total-power-warn-threshold {
+ config false;
+ uses total-power-threshold-pac-g;
+ description "none";
+ }
+ description "Can read the status of the warning for the upper value that the power can reach.";
+ }
+ grouping otsi-service-interface-point-spec-g {
+ container otsi-capability {
+ config false;
+ uses otsi-capability-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-connectivity-service-end-point-spec-g {
+ container otsi-config {
+ uses otsi-termination-config-pac-g;
+ description "none";
+ }
+ container nmc-config {
+ uses media-channel-config-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping otsi-termination-config-pac-g {
+ container central-frequency {
+ uses central-frequency-or-wavelength-g;
+ description "The central frequency of the laser. It is the oscillation frequency of the corresponding electromagnetic wave";
+ }
+ container application-identifier {
+ uses application-identifier-g;
+ description "This attribute indicates the selected Application Identifier.";
+ }
+ leaf modulation {
+ type modulation-technique;
+ description "The modulation techniqu selected at the source.";
+ }
+ leaf laser-control {
+ type laser-control-type;
+ description "Laser control can be FORCED-ON, FORCED-OFF or AUTOMATIC-LASER-SHUTDOWN";
+ }
+ container transmit-power {
+ uses power-properties-pac-g;
+ description "Transmit power as requested.";
+ }
+ leaf total-power-warn-threshold-upper {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Configure the Max, Default and Min values for the Upper power threshold.";
+ }
+ leaf total-power-warn-threshold-lower {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Configure Max, Default and Min values for lower power threshold.";
+ }
+ description "none";
+ }
+ grouping fec-properties-pac-g {
+ leaf pre-fec-ber {
+ type uint64;
+ config false;
+ description "counter: bit error rate before correction by FEC";
+ }
+ leaf post-fec-ber {
+ type uint64;
+ config false;
+ description "counter: bit error rate after correction by FEC";
+ }
+ leaf corrected-bytes {
+ type uint64;
+ config false;
+ description "Bytes corrected between those that were received corrupted";
+ }
+ leaf corrected-bits {
+ type uint64;
+ config false;
+ description "Bits corrected between those that were received corrupted";
+ }
+ leaf uncorrectable-bytes {
+ type uint64;
+ config false;
+ description "Bytes that could not be corrected by FEC";
+ }
+ leaf uncorrectable-bits {
+ type uint64;
+ config false;
+ description "Bits that could not be corrected by FEC";
+ }
+ description "none";
+ }
+ grouping media-channel-service-interface-point-spec-g {
+ container mc-pool {
+ config false;
+ uses media-channel-pool-capability-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-connectivity-service-end-point-spec-g {
+ container mc-config {
+ uses media-channel-config-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-config-pac-g {
+ container spectrum {
+ uses spectrum-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-connection-end-point-spec-g {
+ container media-channel {
+ config false;
+ uses media-channel-properties-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping ots-connection-end-point-spec-g {
+ container ots-media-channel {
+ config false;
+ uses media-channel-properties-pac-g;
+ description "none";
+ }
+ description "none";
+ }
+ grouping media-channel-assembly-spec-g {
+ description "none";
+ }
+ grouping laser-properties-pac-g {
+ leaf laser-status {
+ type laser-control-status-type;
+ config false;
+ description "none";
+ }
+ leaf laser-application-type {
+ type laser-type;
+ config false;
+ description "The type of laser, its operational wavelengths, and its applications. String size 255.";
+ }
+ leaf laser-bias-current {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ config false;
+ description "The Bias current of the laser that is the medium polarization current of the laser.";
+ }
+ leaf laser-temperature {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ config false;
+ description "The temperature of the laser";
+ }
+ description "none";
+ }
+ grouping power-properties-pac-g {
+ leaf total-power {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "The total power at any point in a channel specified in dBm.
+ range of type : -99.000..99.000";
+ }
+ leaf power-spectral-density {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ config false;
+ description "This describes how power of a signal is distributed over frequency specified in nW/MHz
+ range of type : -2147483648..2147483648";
+ }
+ description "Indication with severity warning raised when a total power value measured is above the threshold.";
+ }
+ grouping total-power-threshold-pac-g {
+ leaf total-power-upper-warn-threshold-default {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the default threshold that was set";
+ }
+ leaf total-power-upper-warn-threshold-min {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the lower threshold that was set";
+ }
+ leaf total-power-upper-warn-threshold-max {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the upper threshold that was set";
+ }
+ leaf total-power-lower-warn-threshold-default {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the default threshold that was set";
+ }
+ leaf total-power-lower-warn-threshold-max {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the upper threshold that was set";
+ }
+ leaf total-power-lower-warn-threshold-min {
+ type decimal64 {
+ fraction-digits 7;
+ }
+ description "Can read the value of the lower threshold that was set";
+ }
+ description "none";
+ }
+
+ /***********************
+ * package type-definitions
+ **********************/
+ identity SPECTRUM_TYPE {
+ base tapi-common:LAYER_PROTOCOL_QUALIFIER;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OTSi {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OTSiA {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OTSiG {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_NMC {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_NMCA {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_SMC {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_SMCA {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OCH {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OMS {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ identity SPECTRUM_TYPE_OTS {
+ base SPECTRUM_TYPE;
+ description "none";
+ }
+ grouping application-identifier-g {
+ leaf application-identifier-type {
+ type application-identifier-type;
+ description "The ITU-T recommendation which defines the application code format.";
+ }
+ leaf application-code {
+ type string;
+ description "none";
+ }
+ description "The syntax of ApplicationIdentifier is a pair {ApplicationIdentifierType, PrintableString}. The value of ApplicationIdentifierType is either STANDARD or PROPRIETARY. The value of PrintableString represents the standard application code as defined in the ITU-T Recommendations or a vendor-specific proprietary code. If the ApplicationIdentifierType is STANDARD the value of PrintableString represents a standard application code as defined in the ITU-T Recommendations. If the ApplicationIdentifierType is PROPRIETARY, the first six characters of the PrintableString must contain the Hexadecimal representation of an OUI assigned to the vendor whose implementation generated the Application Identifier; the remaining octets of the PrintableString are unspecified. The value of this attribute of an object instance has to be one of the values identified in the attribute SupportableApplicationIdentifierList of the same object instance. The values and value ranges of the optical interface parameters of a standard application code must be consistent with those values specified in the ITU-T Recommendation for that application code.";
+ }
+ grouping central-frequency-or-wavelength-g {
+ leaf grid-type {
+ type grid-type;
+ description "Specifies the frequency grid standard used to determine the nominal central frequency and frequency slot width";
+ }
+ leaf adjustment-granularity {
+ type adjustment-granularity;
+ description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency (in THz)";
+ }
+ leaf central-frequency {
+ type uint64;
+ description "The central frequency of the laser specified in MHz. It is the oscillation frequency of the corresponding electromagnetic wave. ";
+ }
+ leaf channel-number {
+ type uint64;
+ description "As per ITU-T G.694.1, this attribute is denoted as 'n' and is used to calculate the nominal central frequency (in THz) as follows:
+ 193.1 + <channelNumber> × <adjustmentGranularity> where channelNumber is a positive or negative integer including 0 and adjustment_granularity is the nominal central frequency granularity in THz";
+ }
+ description "This data-type holds the central frequency directly or optionally the information to determine the nominal central frequency of a FIXED grid (DWDM or CWDM) and FLEX grid type systems.
+ As per ITU-T G.694.1, the nominal central frequency (in THz) is calculated as follows:
+ 193.1 + <channelNumber> × <adjustmentGranularity> where channelNumber is a positive or negative integer including 0 and <adjustment_granularity> is the nominal central frequency granularity in THz
+ For FIXED grid types, the adjustmentGranularity is one of (0.1/0.05/0.025/0.0125) THz corresponding to channel spacing of one of (100/50/25/12.5) GHz
+ For FLEX grid type, the adjusmentGranularity is 0.00625 THz and the slot width is variable in increments of 12.5 GHz";
+ }
+ typedef optical-routing-strategy {
+ type enumeration {
+ enum OPTIMAL_OSNR {
+ description "none";
+ }
+ enum NO_RELAY {
+ description "none";
+ }
+ enum MIN_RELAY {
+ description "none";
+ }
+ enum PREFERRED_NO_CHANGE_WAVELENGTH_AS_RESTORE {
+ description "none";
+ }
+ enum PREFERRED_NO_SKIPPING_WAVELENGTH {
+ description "none";
+ }
+ }
+ description "none";
+ }
+ typedef application-identifier-type {
+ type enumeration {
+ enum PROPRIETARY {
+ description "none";
+ }
+ enum ITUT_G959_1 {
+ description "none";
+ }
+ enum ITUT_G698_1 {
+ description "none";
+ }
+ enum ITUT_G698_2 {
+ description "none";
+ }
+ enum ITUT_G696_1 {
+ description "none";
+ }
+ enum ITUT_G695 {
+ description "none";
+ }
+ }
+ description "none";
+ }
+ typedef grid-type {
+ type enumeration {
+ enum DWDM {
+ description "Fixed frequency grid in C & L bands as specified in ITU-T G.694.1
+ ";
+ }
+ enum CWDM {
+ description "Fixed frequency grid as specified in ITU-T G.694.2";
+ }
+ enum FLEX {
+ description "Flexible frequency grid as specified in ITU-T G.694.1. In this case,
+ - the allowed frequency slots have a nominal central frequency (in THz) defined by:
+ 193.1 + n × 0.00625 where n is a positive or negative integer including 0 and 0.00625 is the nominal central frequency granularity in THz
+ - and a slot width defined by:
+ 12.5 × m where m is a positive integer and 12.5 is the slot width granularity in GHz.
+ Any combination of frequency slots is allowed as long as no two frequency slots overlap.";
+ }
+ enum GRIDLESS {
+ description "none";
+ }
+ enum UNSPECIFIED {
+ description "Unspecified/proprietary frequency grid";
+ }
+ }
+ description "The frequency grid standard that specify reference set of frequencies used to denote allowed nominal central frequencies that may be used for defining applications.";
+ }
+ typedef adjustment-granularity {
+ type enumeration {
+ enum G_100GHZ {
+ description "100000 MHz";
+ }
+ enum G_50GHZ {
+ description "50000 MHz";
+ }
+ enum G_25GHZ {
+ description "25000 MHz";
+ }
+ enum G_12_5GHZ {
+ description "12500 MHz";
+ }
+ enum G_6_25GHZ {
+ description "6250 MHz";
+ }
+ enum G_3_125GHZ {
+ description "3125 MHz";
+ }
+ enum UNCONSTRAINED {
+ description "none";
+ }
+ }
+ description "Adjustment granularity in Gigahertz. As per ITU-T G.694.1, it is used to calculate nominal central frequency";
+ }
+ grouping spectrum-g {
+ leaf upper-frequency {
+ type uint64;
+ description "The upper frequency bound of the media channel spectrum specified in MHz";
+ }
+ leaf lower-frequency {
+ type uint64;
+ description "The lower frequency bound of the media channel spectrum specified in MHz";
+ }
+ container frequency-slot {
+ uses frequency-slot-g;
+ description "none";
+ }
+ description "This data-type holds the spectrum information in termsof upper/lower frequency directly or optionally the information to determin this in terms of the nominal central frequency and spectral width for a FIXED grid (DWDM or CWDM) and FLEX grid type systems.";
+ }
+ typedef modulation-technique {
+ type enumeration {
+ enum RZ {
+ description "none";
+ }
+ enum NRZ {
+ description "none";
+ }
+ enum BPSK {
+ description "none";
+ }
+ enum DPSK {
+ description "none";
+ }
+ enum QPSK {
+ description "none";
+ }
+ enum 8QAM {
+ description "none";
+ }
+ enum 16QAM {
+ description "none";
+ }
+ enum UNDEFINED {
+ description "none";
+ }
+ }
+ description "none";
+ }
+ grouping frequency-slot-g {
+ container central-frequency {
+ uses central-frequency-or-wavelength-g;
+ description "none";
+ }
+ leaf spectral-width {
+ type uint64;
+ description "Width of the media channel spectrum specified in MHz";
+ }
+ leaf slot-width-number {
+ type uint64;
+ description "As per ITU-T G.694.1, this attribute is denoted as 'm' and is used to calculate the slot width (in GHz) as follows:
+ 12.5 × m where m is a positive integer and 12.5 is the slot width granularity in GHz.";
+ }
+ description "The frequency range allocated to a slot and unavailable to other slots within a flexible grid. A frequency slot is defined by its nominal central frequency. As per ITU-T G.694.1 the slot width is calculated as follows:
+ 12.5 × <slotWidthNumber> where slotWidthNumber is a positive integer and 12.5 is the slot width granularity in GHz";
+ }
+ typedef laser-type {
+ type enumeration {
+ enum PUMP {
+ description "none";
+ }
+ enum MODULATED {
+ description "none";
+ }
+ enum PULSE {
+ description "none";
+ }
+ }
+ description "none";
+ }
+ typedef spectrum-type {
+ type identityref {
+ base SPECTRUM_TYPE;
+ }
+ description "none";
+ }
+ typedef laser-control-type {
+ type enumeration {
+ enum FORCED-ON {
+ description "none";
+ }
+ enum FORCED-OFF {
+ description "none";
+ }
+ enum AUTOMATIC-LASER-SHUTDOWN {
+ description "none";
+ }
+ enum UNDEFINED {
+ description "none";
+ }
+ }
+ description "none";
+ }
+ typedef laser-control-status-type {
+ type enumeration {
+ enum ON {
+ description "none";
+ }
+ enum OFF {
+ description "none";
+ }
+ enum PULSING {
+ description "none";
+ }
+ enum UNDEFINED {
+ description "none";
+ }
+ }
+ description "none";
+ }
+
+}