Skip to content

Commit

Permalink
add uptime and promote system to v1 (openconfig#985)
Browse files Browse the repository at this point in the history
* add uptime and promote system to v1
  • Loading branch information
dplore committed Jan 17, 2024
1 parent f3daa9d commit 125c5c3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion release/models/system/openconfig-system.yang
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ module openconfig-system {
Section 4.c of the IETF Trust's Legal Provisions Relating
to IETF Documents (http://trustee.ietf.org/license-info).";

oc-ext:openconfig-version "0.17.1";
oc-ext:openconfig-version "1.0.0";

revision "2023-10-26" {
description
"Add up-time leaf and promote module to version 1.0.";
reference "1.0.0";
}

revision "2023-06-16" {
description
Expand Down Expand Up @@ -371,6 +377,14 @@ module openconfig-system {
"The current system date and time.";
}

leaf up-time {
type oc-types:timeticks64;
units "nanoseconds";
description
"The amount of time since the network operating system was
initialized.";
}

leaf boot-time {
type oc-types:timeticks64;
units "nanoseconds";
Expand Down

0 comments on commit 125c5c3

Please sign in to comment.