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

Optical channel reference to it's logical channel #1129

Closed
wants to merge 14 commits into from
Closed
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ module openconfig-terminal-device {
ports per linecard, separate linecards for client and line ports,
etc.).";

oc-ext:openconfig-version "1.9.1";
oc-ext:openconfig-version "1.9.2";

revision "2024-06-12" {
description
"Add a state leaf to optical channels to reference their logical
channel assignment.";
reference "1.9.2";
}

revision "2023-12-13" {
description
Expand Down Expand Up @@ -1325,6 +1332,18 @@ module openconfig-terminal-device {
to the same value across related optical channels.";
}

leaf logical-channel-assignment {
type leafref {
path "/oc-opt-term:terminal-device/oc-opt-term:logical-channels" +
"/oc-opt-term:channel/oc-opt-term:index";
}
description
"Reference to the logical channel that is directly assigned
to this optical channel if it is assigned to a logical channel.
The logical channel must also reference this optical channel at
logical-channel-assignments/assignment/state/optical-channel";
}

uses oc-transceiver:optical-power-state;

container chromatic-dispersion {
Expand Down
Loading