From 8bc3baf59cfd5dca6dcfe21bd050c5c75625a790 Mon Sep 17 00:00:00 2001 From: EstherLerouzic Date: Wed, 10 Jun 2020 14:56:28 +0200 Subject: [PATCH] propose a grouping for the triplet cd-pmd-penalty in transponder 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 --- ietf-optical-impairment-topology.yang | 71 +++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/ietf-optical-impairment-topology.yang b/ietf-optical-impairment-topology.yang index b272f74..cb53158 100644 --- a/ietf-optical-impairment-topology.yang +++ b/ietf-optical-impairment-topology.yang @@ -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"; @@ -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 {