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

Clarify last-reboot-time is updated during a power-on event #1179

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 2 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
22 changes: 16 additions & 6 deletions release/models/platform/openconfig-platform.yang
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,16 @@ 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-05-29" {
revision "2024-09-09" {
description
"Clarify last-reboot-time is updated during a power-on
event.";
reference "0.28.0";
}

revision "2024-05-29" {
description
"Change install-position from leaf-ref to string.";
reference "0.27.0";
Expand Down Expand Up @@ -618,8 +625,9 @@ module openconfig-platform {
- USER_INITIATED
- SYSTEM_INITIATED
- POWER_FAILURE
This field is not updated during reboots; those are tracked
in the 'last-reboot-time' leaf.";
This field is only updated when power is shut off. It is not
updated during reboots; those are tracked in the
'last-reboot-time' leaf.";
}

container last-switchover-reason {
Expand Down Expand Up @@ -658,8 +666,10 @@ module openconfig-platform {
description
"This reports the time of the last reboot of the component. The
value is the timestamp in nanoseconds relative to the Unix Epoch
(Jan 1, 1970 00:00:00 UTC). This timer is not updated during
power shutdowns; those are tracked in 'last-poweroff-time' leaf.";
(Jan 1, 1970 00:00:00 UTC). This timer is updated when the component
starts up, either due to a power-on event or a reboot. This timer
is not updated during power shutdowns; those are tracked in
the 'last-poweroff-time' leaf.";
}

leaf switchover-ready {
Expand Down
Loading