Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bias voltage thresholds #907

Merged
merged 6 commits into from
Jul 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading