Skip to content

Commit

Permalink
fix install-position (openconfig#1117)
Browse files Browse the repository at this point in the history
Correct install-position to be a string, not a leaf-ref.
  • Loading branch information
dplore authored May 30, 2024
1 parent 9eeeb20 commit c50178f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
8 changes: 7 additions & 1 deletion release/models/platform/openconfig-platform-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ submodule openconfig-platform-common {
"This modules contains common groupings that are used in multiple
components within the platform module.";

oc-ext:openconfig-version "0.26.0";
oc-ext:openconfig-version "0.27.0";

revision "2024-05-29" {
description
"Change install-position from leaf-ref to string.";
reference "0.27.0";
}

revision "2024-04-12" {
description
Expand Down
12 changes: 8 additions & 4 deletions release/models/platform/openconfig-platform.yang
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ module openconfig-platform {
(presence or absence of a component) and state (physical
attributes or status).";

oc-ext:openconfig-version "0.26.0";
oc-ext:openconfig-version "0.27.0";

revision "2024-05-29" {
description
"Change install-position from leaf-ref to string.";
reference "0.27.0";
}

revision "2024-04-12" {
description
Expand Down Expand Up @@ -431,9 +437,7 @@ oc-ext:openconfig-version "0.26.0";
}

leaf install-position {
type leafref {
path "../name";
}
type string;
description
"System-supplied index to a position where this component is
installed. The position may be referred in device documenation
Expand Down

0 comments on commit c50178f

Please sign in to comment.