Skip to content

Commit

Permalink
Update duration description.
Browse files Browse the repository at this point in the history
Update duration to secs.
Add an Abort status.
  • Loading branch information
ejbrever committed Jan 7, 2025
1 parent 7c1b119 commit a0feab6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions release/models/platform/openconfig-platform-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,12 @@ module openconfig-platform-types {
"The upgrade was completed.";
}

identity UPGRADE_ABORT {
base OPENCONFIG_UPGRADE_STATUS;
description
"The upgrade was aborted.";
}

identity UPGRADE_FAIL {
base OPENCONFIG_UPGRADE_STATUS;
description
Expand Down
3 changes: 2 additions & 1 deletion release/models/platform/openconfig-platform.yang
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ module openconfig-platform {
leaf duration {
type oc-yang:counter64;
description
"The duration of the upgrade, in microseconds.";
"The time elapsed since the upgrade was initiated or the
duration of the last upgrade. This is reported in seconds.";
}

leaf stop-timestamp {
Expand Down

0 comments on commit a0feab6

Please sign in to comment.