Skip to content

Commit

Permalink
propose a grouping for the triplet cd-pmd-penalty in transponder
Browse files Browse the repository at this point in the history
Adding a madatory attribute for max values for CD and PMD

penalty is mandatory (otherwise an element in the list is meaningless)

       |     +--ro max-chromatic-dispersion                         decimal64
       |     +--ro max-polarization-mode-dispersion                 decimal64
       |     +--ro chromatic-and-polarization-dispersion-penalty* []
       |        +--ro chromatic-dispersion            decimal64
       |        +--ro polarization-mode-dispersion    decimal64
       |        +--ro penalty                         decimal64

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
  • Loading branch information
EstherLerouzic committed Jun 22, 2020
1 parent dbad4eb commit 8bc3baf
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions ietf-optical-impairment-topology.yang
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,45 @@ module ietf-optical-impairment-topology {

// grouping

grouping cd-pmd-penalty {
description "entries of table; triplet chromatic
dispersion, polarization mode dispersion and
associated penalty";

leaf chromatic-dispersion {
type decimal64 {
fraction-digits 2;
range "0..max";
}
units "ps/nm";
mandatory true;
config false;
description "chromatic dispersion";
}

leaf polarization-mode-dispersion {
type decimal64 {
fraction-digits 2;
range "0..max";
}
units "ps";
mandatory true;
config false;
description "Polarization mode dispersion";
}

leaf penalty {
type decimal64 {
fraction-digits 2;
range "0..max";
}
units "dB";
mandatory true;
config false;
description "Associated penalty on the receiver"; }

}

grouping transponder-attributes {
description "Configuration of an optical transponder";

Expand Down Expand Up @@ -281,6 +320,38 @@ module ietf-optical-impairment-topology {
is able to correct errors";
}

leaf max-chromatic-dispersion {
type decimal64 {
fraction-digits 2;
range "0..max";
}
units "ps/nm";
mandatory true;
config false;
description "Maximum acceptable accumulated chromatic dispersion
on the receiver";
}

leaf max-polarization-mode-dispersion {
type decimal64 {
fraction-digits 2;
range "0..max";
}
units "ps";
mandatory true;
config false;
description "Maximum acceptable accumulated polarization mode dispersion
on the receiver";
}

list chromatic-and-polarization-dispersion-penalty {
description
"Optional penalty associated with a given accumulated CD and PMD.
This list of triplet cd, pmd, penalty can be used to sample
the function penalty = f(CD, PMD).";
config false;
uses cd-pmd-penalty ;
}
}

grouping sliceable-transponder-attributes {
Expand Down

0 comments on commit 8bc3baf

Please sign in to comment.