This module contains a collection of YANG definitions for Cisco IOS-XR frequency-synchronization package configuration. This YA...
Version: 2021-01-06
module Cisco-IOS-XR-um-frequency-synchronization-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-frequency-synchronization-cfg"; prefix um-frequency-synchronization-cfg; import ietf-yang-types { prefix yang; } import Cisco-IOS-XR-um-interface-cfg { prefix a1; } import Cisco-IOS-XR-um-snmp-server-cfg { prefix a2; } import Cisco-IOS-XR-um-location-cfg { prefix location; } import tailf-common { prefix tailf; } import cisco-semver { prefix semver; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR frequency-synchronization package configuration. This YANG module augments the modules with configuration data. Copyright (c) 2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-01-06" { description "Initial release"; } semver:module-version "1.0.0"; grouping IF-BODY { container frequency { tailf:dependency "../a1:interface-name"; when "../a1:interface-name[starts-with(text(),'FastEthernet')] or ../a1:interface-name[starts-with(text(),'GigabitEthernet')] or ../a1:interface-name[starts-with(text(),'TenGigE')] or ../a1:interface-name[starts-with(text(),'TwentyFiveGigE')] or ../a1:interface-name[starts-with(text(),'FortyGigE')] or ../a1:interface-name[starts-with(text(),'FiftyGigE')] or ../a1:interface-name[starts-with(text(),'HundredGigE')] or ../a1:interface-name[starts-with(text(),'TwoHundredGigE')] or ../a1:interface-name[starts-with(text(),'FourHundredGigE')] or ../a1:interface-name[starts-with(text(),'CPRIoE')]"; description "Frequency Synchronization configuration"; container synchronization { presence "Indicates a synchronization node is configured."; description "Frequency Synchronization configuration"; container ssm { description "SSM configuration commands"; container disable { presence "Indicates a disable node is configured."; description "Disable sending of SSMs"; } // container disable } // container ssm leaf priority { type uint32 { range "1..254"; } description "Source priority"; } leaf time-of-day-priority { type uint32 { range "1..254"; } description "Source time-of-day priority"; } container quality { description "Quality level configuration"; container transmit { description "Set the quality level to be transmitted"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container transmit container receive { description "Adjust the received quality level"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container receive } // container quality leaf wait-to-restore { type uint32 { range "0..12"; } description "Set the wait-to-restore time"; } container selection { description "Selection configuration commands"; container input { presence "Indicates a input node is configured."; description "Enable this source for selection"; } // container input } // container selection } // container synchronization } // container frequency } // grouping IF-BODY grouping CONT-BODY { container frequency { tailf:dependency "../a1:controller-name"; when "../a1:controller-name[starts-with(text(),'SONET')]"; description "Frequency Synchronization configuration"; container synchronization { presence "Indicates a synchronization node is configured."; description "Frequency Synchronization configuration"; container ssm { description "SSM configuration commands"; container disable { presence "Indicates a disable node is configured."; description "Disable sending of SSMs"; } // container disable } // container ssm leaf priority { type uint32 { range "1..254"; } description "Source priority"; } leaf time-of-day-priority { type uint32 { range "1..254"; } description "Source time-of-day priority"; } container quality { description "Quality level configuration"; container transmit { description "Set the quality level to be transmitted"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container transmit container receive { description "Adjust the received quality level"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container receive } // container quality leaf wait-to-restore { type uint32 { range "0..12"; } description "Set the wait-to-restore time"; } container selection { description "Selection configuration commands"; container input { presence "Indicates a input node is configured."; description "Enable this source for selection"; } // container input } // container selection } // container synchronization } // container frequency } // grouping CONT-BODY grouping LOCATION-BODY { container clock-interface { description "Clock interface configuration commands"; container syncs { description "Synchronization clock interface"; list sync { key "sync-id"; description "Synchronization clock interface"; leaf sync-id { type uint32 { range "0..4294967295"; } description "Synchronization clock interface"; } container frequency { description "Frequency Synchronization configuration"; container synchronization { description "Frequency Synchronization configuration"; container ssm { description "SSM configuration commands"; container disable { presence "Indicates a disable node is configured."; description "Disable sending of SSMs"; } // container disable } // container ssm leaf priority { type uint32 { range "1..254"; } description "Source priority"; } leaf time-of-day-priority { type uint32 { range "1..254"; } description "Source time-of-day priority"; } container quality { description "Quality level configuration"; container transmit { description "Set the quality level to be transmitted"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container transmit container receive { description "Adjust the received quality level"; container lowest { description "Specify the lowest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container lowest container highest { description "Specify the highest acceptable QL value"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two or ../../../../exact/itu-t/option/one or ../../../../exact/itu-t/option/two/generation/one or ../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two or ../../../../../../exact/itu-t/option/one or ../../../../../../exact/itu-t/option/two/generation/one or ../../../../../../exact/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container highest container exact { description "Specify the exact QL value to use"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; leaf one { type enumeration { enum "prc" { value 22; description "ITU-T Option 1: Primary reference clock"; } enum "prtc" { value 21; description "ITU-T Option 1: Primary reference timing clock"; } enum "e-prtc" { value 20; description "ITU-T Option 1: Enhanced primary reference timing clock"; } enum "ssu-a" { value 23; description "ITU-T Option 1: Type I or V subordinate clock"; } enum "ssu-b" { value 24; description "ITU-T Option 1: Type IV subordinate clock"; } enum "sec" { value 27; description "ITU-T Option 1: SONET equipment clock"; } enum "e-eec" { value 25; description "ITU-T Option 1: Enhanced ethernet equipment clock"; } enum "eec1" { value 26; description "ITU-T Option 1: Ethernet equipment clock"; } enum "dnu" { value 1; description "This signal should not be used for synchronization"; } } must "not(../two/generation/one or ../two/generation/two or ../../../../highest/itu-t/option/two/generation/one or ../../../../highest/itu-t/option/two/generation/two or ../../../../lowest/itu-t/option/one or ../../../../lowest/itu-t/option/two/generation/one or ../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 1"; } container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; leaf one { type enumeration { enum "prs" { value 42; description "ITU-T Option 2, Generation 1: Primary reference source"; } enum "prtc" { value 41; description "ITU-T Option 2, Generation 1: Primary reference timing clock"; } enum "e-prtc" { value 40; description "ITU-T Option 2, Generation 1: Enhanced primary reference timing clock"; } enum "stu" { value 43; description "ITU-T Option 2, Generation 1: Synchronized - traceability unknown"; } enum "st2" { value 44; description "ITU-T Option 2, Generation 1: Stratum 2"; } enum "st3" { value 45; description "ITU-T Option 2, Generation 1: Stratum 3"; } enum "smc" { value 48; description "ITU-T Option 2, Generation 1: SONET clock self timed"; } enum "eec2" { value 47; description "ITU-T Option 2, Generation 1: Ethernet equipment clock"; } enum "e-eec" { value 46; description "ITU-T Option 2, Generation 1: Ethernet ethernet equipment clock"; } enum "st4" { value 49; description "ITU-T Option 2, Generation 1: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../two or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/two or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 1"; } leaf two { type enumeration { enum "prs" { value 62; description "ITU-T Option 2, Generation 2: Primary reference source"; } enum "prtc" { value 61; description "ITU-T Option 2, Generation 2: Primary reference timing clock"; } enum "e-prtc" { value 60; description "ITU-T Option 2, Generation 2: Enhanced primary reference timing clock"; } enum "stu" { value 63; description "ITU-T Option 2, Generation 2: Synchronized - traceability unknown"; } enum "st2" { value 64; description "ITU-T Option 2, Generation 2: Stratum 2"; } enum "tnc" { value 65; description "ITU-T Option 2, Generation 2: Transit node clock"; } enum "st3e" { value 66; description "ITU-T Option 2, Generation 2: Stratum 3E"; } enum "st3" { value 67; description "ITU-T Option 2, Generation 2: Stratum 3"; } enum "smc" { value 70; description "ITU-T Option 2, Generation 2: SONET clock self timed"; } enum "eec2" { value 69; description "ITU-T Option 2, Generation 2: Ethernet equipment clock"; } enum "e-eec" { value 68; description "ITU-T Option 2, Generation 2: Ethernet ethernet equipment clock"; } enum "st4" { value 71; description "ITU-T Option 2, Generation 2: Stratum 4 freerun"; } enum "dus" { value 1; description "This signal should not be used for synchronization"; } } must "not(../../../one or ../one or ../../../../../../highest/itu-t/option/one or ../../../../../../highest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/one or ../../../../../../lowest/itu-t/option/two/generation/one or ../../../../../../lowest/itu-t/option/two/generation/two)"; description "ITU-T QL option 2, generation 2"; } } // container generation } // container two } // container option } // container itu-t } // container exact } // container receive } // container quality leaf wait-to-restore { type uint32 { range "0..12"; } description "Set the wait-to-restore time"; } container selection { description "Selection configuration commands"; container input { presence "Indicates a input node is configured."; description "Enable this source for selection"; } // container input } // container selection } // container synchronization } // container frequency } // list sync } // container syncs } // container clock-interface } // grouping LOCATION-BODY augment /a1:interfaces/a1:interface { uses IF-BODY; } augment /a1:interfaces/a1:interface-preconfigure { uses IF-BODY; } augment /a1:interfaces/a1:controller { uses CONT-BODY; } augment /a1:interfaces/a1:controller-preconfigure { uses CONT-BODY; } augment /a2:snmp-server/a2:traps { container frequency { description "Enable Frequency Synchronization traps"; container synchronization { presence "Indicates a synchronization node is configured."; description "Enable Frequency Synchronization traps"; } // container synchronization leaf synchronization-quality-level { type enumeration { enum "dnu" { value 1; description "DNU"; } enum "prc" { value 2; description "PRC"; } enum "sec" { value 3; description "SEC"; } enum "ssu-a" { value 4; description "SSU-A"; } enum "ssu-b" { value 5; description "SSU-B"; } } description "Quality level trap"; } } // container frequency } augment /location:locations/location:location { uses LOCATION-BODY; } augment /location:locations/location:preconfigured-location { uses LOCATION-BODY; } container frequency { description "Frequency Synchronization configuration"; container synchronization { presence "Indicates a synchronization node is configured."; description "Frequency Synchronization configuration"; container quality { description "Quality level option selection"; container itu-t { description "ITU-T QL options"; container option { description "ITU-T QL options"; container one { presence "Indicates a one node is configured."; description "ITU-T QL option 1"; } // container one container two { description "ITU-T QL option 2"; container generation { description "ITU-T QL option 2 generation"; container one { must "not(../../../../option/one or ../two)"; presence "Indicates a one node is configured."; description "ITU-T QL option 2, generation 1"; } // container one container two { must "not(../../../../option/one or ../one)"; presence "Indicates a two node is configured."; description "ITU-T QL option 2, generation 2"; } // container two } // container generation } // container two } // container option } // container itu-t } // container quality container clock-interface { description "Clock interface configuration"; container timing-mode { description "Clock interface timing mode"; container system { must "not(../independent)"; presence "Indicates a system node is configured."; description "Use the system's selected timing source for clock-interface output"; } // container system container independent { must "not(../system)"; presence "Indicates a independent node is configured."; description "Use the line interfaces for clock-interface output, which is not looped back to the clock-interface input"; } // container independent } // container timing-mode } // container clock-interface container system { description "System timing configuration"; container timing-mode { description "System timing mode"; container line-only { must "not(../clock-only)"; presence "Indicates a line-only node is configured."; description "Use only line-interfaces for system timing"; } // container line-only container clock-only { must "not(../line-only)"; presence "Indicates a clock-only node is configured."; description "Use only clock-interfaces for system timing"; } // container clock-only } // container timing-mode } // container system container log { description "Logging options"; container selection { description "Selection logging options"; container changes { must "not(../errors)"; presence "Indicates a changes node is configured."; description "Log both selection changes and errors"; } // container changes container errors { must "not(../changes)"; presence "Indicates a errors node is configured."; description "Log selection errors"; } // container errors } // container selection } // container log container clock-identity { description "Clock ID configuration"; leaf mac-address { type yang:mac-address; description "MAC address to use to form the clock ID"; } } // container clock-identity } // container synchronization } // container frequency } // module Cisco-IOS-XR-um-frequency-synchronization-cfg
© 2023 YumaWorks, Inc. All rights reserved.