Skip to content

Commit

Permalink
addressing Lou's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
agva123 committed Jul 16, 2020
1 parent 901a04e commit 2bce4f0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion ietf-layer0-types.yang 100644 → 100755
Expand Up @@ -45,7 +45,7 @@ module ietf-layer0-types {
This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.";

revision "2020-05-19" {
revision "2020-07-16" {
description
"Initial Version";
reference
Expand Down Expand Up @@ -262,6 +262,10 @@ module ietf-layer0-types {
"Label for DWDM or CWDM grid";
case dwdm {
leaf dwdm-n {
when "../../../grid-type = 'wson-grid-dwdm'" {
description
"Valid only when grid type is DWDM.";
}
type l0-types:dwdm-n;
description
"The central frequency of DWDM. ";
Expand All @@ -272,6 +276,10 @@ module ietf-layer0-types {
}
case cwdm {
leaf cwdm-n {
when "../../../grid-type = 'wson-grid-cwdm'" {
description
"Valid only when grid type is CWDM.";
}
type l0-types:cwdm-n;
description
"Channel wavelength computing input. ";
Expand Down Expand Up @@ -364,6 +372,10 @@ module ietf-layer0-types {
"Grid type: DWDM, CWDM, etc.";
case dwdm {
leaf wson-dwdm-channel-spacing {
when "../../grid-type = 'wson-grid-dwdm'" {
description
"Valid only when grid type is DWDM.";
}
type identityref {
base dwdm-ch-spc-type;
}
Expand All @@ -377,6 +389,10 @@ module ietf-layer0-types {
}
case cwdm {
leaf wson-cwdm-channel-spacing {
when "../../grid-type = 'wson-grid-cwdm'" {
description
"Valid only when grid type is CWDM.";
}
type identityref {
base cwdm-ch-spc-type;
}
Expand Down

0 comments on commit 2bce4f0

Please sign in to comment.