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

Update description of the model-name leaf. #1160

Merged
merged 22 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
853b926
Update description of model-name.
SydneyCaulfeild Aug 8, 2024
3754373
Add new revision.
SydneyCaulfeild Aug 8, 2024
ef5d95b
Update revision in openconfig-platform-common.
SydneyCaulfeild Aug 8, 2024
47fe1d3
Update openconfig-platform.yang
SydneyCaulfeild Aug 8, 2024
48fa5d1
Merge branch 'master' into update-descriptions
SydneyCaulfeild Aug 19, 2024
3caf23c
Merge branch 'master' into update-descriptions
SydneyCaulfeild Aug 26, 2024
772eb8b
Indicate that model-name is required.
SydneyCaulfeild Aug 26, 2024
1fdd154
Merge branch 'master' into update-descriptions
SydneyCaulfeild Aug 27, 2024
2096726
Check that removable is true for model-name.
SydneyCaulfeild Aug 28, 2024
c45f026
Apply suggested updates to definition.
SydneyCaulfeild Aug 28, 2024
0774b5e
Fix when stmt.
SydneyCaulfeild Aug 29, 2024
265c94c
Merge branch 'master' into update-descriptions
SydneyCaulfeild Aug 29, 2024
83bba81
Set mandatory true when removable is true.
SydneyCaulfeild Aug 29, 2024
37a425f
Remove "component name" from model name description.
SydneyCaulfeild Aug 29, 2024
0df4e7b
Do not mention FRU in model-name description.
SydneyCaulfeild Aug 29, 2024
9d872a6
Remove trailing whitespace.
SydneyCaulfeild Aug 30, 2024
23d441e
Fix when stmt.
SydneyCaulfeild Sep 3, 2024
395bfa1
When removable or state/type is CHASSIS
SydneyCaulfeild Sep 10, 2024
4b6ef40
Merge branch 'master' into update-descriptions
dplore Sep 11, 2024
6650e9e
Fix state/type in when statement.
SydneyCaulfeild Sep 11, 2024
19e94b0
Prefix chassis type.
SydneyCaulfeild Sep 12, 2024
11c36ff
Merge branch 'master' into update-descriptions
SydneyCaulfeild Sep 13, 2024
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
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.27.0";
oc-ext:openconfig-version "0.28.0";

revision "2024-08-08" {
description
"Update description of model-name leaf.";
reference "0.28.0";
}

revision "2024-05-29" {
description
Expand Down
18 changes: 14 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.27.0";
oc-ext:openconfig-version "0.28.0";

revision "2024-08-08" {
description
"Update description of model-name leaf.";
reference "0.28.0";
}

revision "2024-05-29" {
description
Expand Down Expand Up @@ -542,9 +548,13 @@ module openconfig-platform {
leaf model-name {
type string;
description
SydneyCaulfeild marked this conversation as resolved.
Show resolved Hide resolved
"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.";
"The model of a component. This should be the orderable part
number when the component is a FRU (field replaceable unit).
dplore marked this conversation as resolved.
Show resolved Hide resolved
To distinguish this from part-no, the model-name is the model
that could be searched for online. The part-no is the unique
identifier of a part, but would not necessarily have meaning
to someone reading it. The model-name is optional and should
only be populated if part-no is also populated.";
}

leaf clei-code {
Expand Down
Loading