Skip to content

Commit

Permalink
Bias voltage thresholds (#907)
Browse files Browse the repository at this point in the history
* Initial commit for bias and voltage thresholds
* Specify that the thresholds are compared against the instant parameter of the measured value
  • Loading branch information
jnelson-sj authored Jul 24, 2023
1 parent a0e4461 commit 94aeb47
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions release/models/platform/openconfig-platform-transceiver.yang
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ module openconfig-platform-transceiver {
specify a physical-channel within a TRANSCEIVER component
(i.e. gray optic) that it is associated with.";

oc-ext:openconfig-version "0.11.0";
oc-ext:openconfig-version "0.12.0";

revision "2023-06-27" {
description
"Add tx bias and voltage thresholds";
reference "0.12.0";
}

revision "2023-05-03" {
description
Expand Down Expand Up @@ -439,7 +445,9 @@ module openconfig-platform-transceiver {

container thresholds {
description
"Enclosing container for transceiver alarm thresholds.";
"Enclosing container for transceiver alarm thresholds.
Each threshold is compared to the instant value of the
measured parameter corresponding to the threshold";

list threshold {
key "severity";
Expand Down Expand Up @@ -803,6 +811,38 @@ module openconfig-platform-transceiver {
description
"The lower power threshold for the laser input power.";
}
leaf laser-bias-current-upper{
description
"The upper threshold for the laser bias current.";
type decimal64 {
fraction-digits 2;
}
units mA;
}
leaf laser-bias-current-lower{
description
"The lower threshold for the laser bias current.";
type decimal64 {
fraction-digits 2;
}
units mA;
}
leaf supply-voltage-upper{
description
"The upper threshold for the transceiver supply voltage.";
type decimal64 {
fraction-digits 2;
}
units volts;
}
leaf supply-voltage-lower{
description
"The lower threshold for the transceiver supply voltage.";
type decimal64 {
fraction-digits 2;
}
units volts;
}
}

grouping port-transceiver-top {
Expand Down

0 comments on commit 94aeb47

Please sign in to comment.