From a5c640ab4b8bcb7145f8e0cafdfea52046affec9 Mon Sep 17 00:00:00 2001 From: Darren Loher Date: Mon, 9 Sep 2024 13:35:40 -0700 Subject: [PATCH 1/4] Clarify last-reboot-time is updated during a power-on event --- .../models/platform/openconfig-platform.yang | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index 89ebb559b..e07691d1d 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -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"; @@ -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 { @@ -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 { From a7c2787fde341e4d538356f3196b8e1c6cd4269b Mon Sep 17 00:00:00 2001 From: Darren Loher Date: Mon, 9 Sep 2024 13:37:19 -0700 Subject: [PATCH 2/4] fix ws --- release/models/platform/openconfig-platform.yang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index e07691d1d..896494614 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -625,8 +625,8 @@ revision "2024-05-29" { - USER_INITIATED - 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 + 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."; } From 980c5375692cdada3effe397a8342f286f505df3 Mon Sep 17 00:00:00 2001 From: dplore Date: Wed, 11 Sep 2024 16:59:37 -0700 Subject: [PATCH 3/4] submodule version bump --- release/models/platform/openconfig-platform-common.yang | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/release/models/platform/openconfig-platform-common.yang b/release/models/platform/openconfig-platform-common.yang index 04f58b3ac..ef41f1b71 100644 --- a/release/models/platform/openconfig-platform-common.yang +++ b/release/models/platform/openconfig-platform-common.yang @@ -20,7 +20,14 @@ 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-09-09" { + description + "Clarify last-reboot-time is updated during a power-on + event."; + reference "0.28.0"; + } revision "2024-05-29" { description From 3edd9fda9151bf62ce7153754feb07385fbb7b0b Mon Sep 17 00:00:00 2001 From: dplore Date: Thu, 19 Sep 2024 11:11:45 -0700 Subject: [PATCH 4/4] fix version conflict --- release/models/platform/openconfig-platform.yang | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index 6bfa65711..66eacacc1 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -65,7 +65,14 @@ module openconfig-platform { (presence or absence of a component) and state (physical attributes or status)."; - oc-ext:openconfig-version "0.29.0"; + oc-ext:openconfig-version "0.30.0"; + + revision "2024-10-13" { + description + "Clarify last-reboot-time is updated during a power-on + event."; + reference "0.30.0"; + } revision "2024-10-13" { description