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

Changing type for NTP fields in openconfig-system.yang #995

Closed
wants to merge 2 commits into from
Closed
Changes from all 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
8 changes: 4 additions & 4 deletions release/models/system/openconfig-system.yang
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ module openconfig-system {
}

leaf root-delay {
type uint32;
type oc-types:ieeefloat32;
// TODO: reconsider units for these values -- the spec defines
// rootdelay and rootdisperson as 2 16-bit integers for seconds
// and fractional seconds, respectively. This gives a
Expand All @@ -770,7 +770,7 @@ module openconfig-system {
}

leaf root-dispersion {
type uint64;
type oc-types:ieeefloat32;
units "milliseconds";
description
"Dispersion (epsilon) represents the maximum error inherent
Expand All @@ -781,7 +781,7 @@ module openconfig-system {
}

leaf offset {
type uint64;
type oc-types:ieeefloat32;
units "milliseconds";
description
"Estimate of the current time offset from the peer. This is
Expand Down Expand Up @@ -1280,4 +1280,4 @@ module openconfig-system {

// data definition statements
uses system-top;
}
}
Loading