ietf-lime-time-types@2019-02-04.yang   ietf-lime-time-types@2019-02-04-formatted.yang 
module ietf-lime-time-types { module ietf-lime-time-types {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-lime-time-types"; namespace "urn:ietf:params:xml:ns:yang:ietf-lime-time-types";
prefix "lime"; prefix lime;
organization
"IETF LIME Working Group";
contact
"WG Web: <https://datatracker.ietf.org/wg/lime>
WG List: <mailto:lmap@ietf.org>
Editor: Qin Wu organization
<bill.wu@huawei.com>"; "IETF LIME Working Group";
contact
"WG Web: <https://datatracker.ietf.org/wg/lime>
WG List: <mailto:lmap@ietf.org>
description Editor: Qin Wu
"This module provides time-related definitions used by the data <bill.wu@huawei.com>";
models written for Layer Independent OAM Management in the description
Multi-Layer Environment (LIME). This module defines "This module provides time-related definitions used by the data
identities but no schema tree elements. models written for Layer Independent OAM Management in the
Multi-Layer Environment (LIME). This module defines
identities but no schema tree elements.
Copyright (c) 2019 IETF Trust and the persons identified as Copyright (c) 2019 IETF Trust and the persons identified as
authors of the code. All rights reserved. authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 8532; see This version of this YANG module is part of RFC 8532; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2019-02-04" { revision 2019-02-04 {
description description
"Initial version."; "Initial version.";
reference reference
"RFC 8532: Generic YANG Data Model for the Management of "RFC 8532: Generic YANG Data Model for the Management of
Operations, Administration, and Maintenance (OAM) Protocols Operations, Administration, and Maintenance (OAM) Protocols
That Use Connectionless Communications"; That Use Connectionless Communications";
} }
/*** Collection of common types related to time ***/ /*** Collection of common types related to time ***/
/*** Time unit identity ***/ /*** Time unit identity ***/
identity time-unit-type { identity time-unit-type {
description description
"Time unit type."; "Time unit type.";
} }
identity hours { identity hours {
base time-unit-type; base time-unit-type;
description description
"Time unit in hours."; "Time unit in hours.";
} }
identity minutes { identity minutes {
base time-unit-type; base time-unit-type;
description description
"Time unit in minutes."; "Time unit in minutes.";
} }
identity seconds { identity seconds {
base time-unit-type; base time-unit-type;
description description
"Time unit in seconds."; "Time unit in seconds.";
} }
identity milliseconds { identity milliseconds {
base time-unit-type; base time-unit-type;
description description
"Time unit in milliseconds."; "Time unit in milliseconds.";
} }
identity microseconds { identity microseconds {
base time-unit-type; base time-unit-type;
description description
"Time unit in microseconds."; "Time unit in microseconds.";
} }
identity nanoseconds { identity nanoseconds {
base time-unit-type; base time-unit-type;
description description
"Time unit in nanoseconds."; "Time unit in nanoseconds.";
} }
/*** Timestamp format Identity ***/
identity timestamp-type { /*** Timestamp format Identity ***/
description
"Base identity for Timestamp Type."; identity timestamp-type {
} description
identity truncated-ptp { "Base identity for Timestamp Type.";
base timestamp-type; }
description
"Identity for 64-bit short-format PTP timestamp."; identity truncated-ptp {
} base timestamp-type;
identity truncated-ntp { description
base timestamp-type; "Identity for 64-bit short-format PTP timestamp.";
description }
"Identity for 32-bit short-format NTP timestamp.";
} identity truncated-ntp {
identity ntp64 { base timestamp-type;
base timestamp-type; description
description "Identity for 32-bit short-format NTP timestamp.";
"Identity for 64-bit NTP timestamp."; }
}
identity icmp { identity ntp64 {
base timestamp-type; base timestamp-type;
description description
"Identity for 32-bit ICMP timestamp."; "Identity for 64-bit NTP timestamp.";
} }
identity ptp80 {
base timestamp-type; identity icmp {
description base timestamp-type;
"Identity for 80-bit PTP timestamp."; description
} "Identity for 32-bit ICMP timestamp.";
}
identity ptp80 {
base timestamp-type;
description
"Identity for 80-bit PTP timestamp.";
}
} }
 End of changes. 15 change blocks. 
67 lines changed or deleted 79 lines changed or added

This html diff was produced by rfcdiff 1.45. The latest version is available from http://tools.ietf.org/tools/rfcdiff/