Skip to content

Commit

Permalink
add model-name (#1007)
Browse files Browse the repository at this point in the history
* add model-name
  • Loading branch information
dplore authored Dec 19, 2023
1 parent d11c015 commit 9b90653
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 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.23.0";
oc-ext:openconfig-version "0.24.0";

revision "2023-11-28" {
description
"Add model-name";
reference "0.24.0";
}

revision "2023-02-13" {
description
Expand Down
16 changes: 15 additions & 1 deletion 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.23.0";
oc-ext:openconfig-version "0.24.0";

revision "2023-11-28" {
description
"Add model-name";
reference "0.24.0";
}

revision "2023-02-13" {
description
Expand Down Expand Up @@ -463,6 +469,14 @@ module openconfig-platform {
(field replaceable unit)";
}

leaf model-name {
type string;
description
"A human readable string describing the model of a component.
This string is optional and should only be populated if part-no
is also populated.";
}

leaf clei-code {
type string;
description
Expand Down

0 comments on commit 9b90653

Please sign in to comment.