diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index 3b3336efe..d4ba13862 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -644,8 +644,8 @@ revision "2024-05-29" { - SYSTEM_INITIATED - POWER_FAILURE 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."; + updated during reboots; those are tracked in the 'boot-time' + leaf."; } container last-switchover-reason { @@ -681,13 +681,25 @@ revision "2024-05-29" { leaf last-reboot-time { type oc-types:timeticks64; units "nanoseconds"; + status deprecated; 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 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."; + the 'last-poweroff-time' leaf. + This leaf is deprecated and the boot-time leaf should be used + instead."; + } + + leaf boot-time { + type oc-types:timeticks64; + units "nanoseconds"; + description + "This timestamp indicates the time that the component was started. + The value is the timestamp in nanoseconds relative to the Unix + Epoch (Jan 1, 1970 00:00:00 UTC)."; } leaf switchover-ready {