Cisco-IOS-XR-freqsync-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR freqsync package configuration. This module contains def...

  • Version: 2020-04-15

    Cisco-IOS-XR-freqsync-cfg@2020-04-15


    
      module Cisco-IOS-XR-freqsync-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-freqsync-cfg";
    
        prefix freqsync-cfg;
    
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-config-mda-cfg {
          prefix node;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-freqsync-datatypes {
          prefix dt1;
        }
        import Cisco-IOS-XR-snmp-agent-cfg {
          prefix a1;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a2;
        }
    
        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 freqsync package configuration.
         
         This module contains definitions
         for the following management objects:
           frequency-synchronization: Frequency Synchronization global
             configuration
         
         This YANG module augments the
           Cisco-IOS-XR-snmp-agent-cfg,
           Cisco-IOS-XR-ifmgr-cfg
           Cisco-IOS-XR-config-mda-cfg
         modules with configuration data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-04-15" {
          description
            "Fixed must conditions bug.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-30" {
          description
            "Ensure propagation of MDA mandatory state to YANG model.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Fsync-system-timing-mode {
          type enumeration {
            enum "line-only" {
              value 2;
              description "Line-interfaces only";
            }
            enum "clock-only" {
              value 3;
              description
                "Clock-interfaces only";
            }
          }
          description "Fsync system timing mode";
        }
    
        typedef Fsync-clock-source {
          type enumeration {
            enum "system" {
              value 1;
              description "System";
            }
            enum "independent" {
              value 3;
              description "Independent";
            }
          }
          description "Fsync clock source";
        }
    
        typedef Fsync-source-selection-logging {
          type enumeration {
            enum "changes" {
              value 1;
              description
                "Log both selection changes and errors";
            }
            enum "errors" {
              value 2;
              description "Log selection errors";
            }
          }
          description
            "Fsync source selection logging";
        }
    
        typedef Freq-sync-quality-level {
          type enumeration {
            enum "dnu" {
              value 1;
              description "DNU";
            }
            enum "prc" {
              value 2;
              description "PRC";
            }
            enum "sec" {
              value 3;
              description "SEC";
            }
            enum "ssua" {
              value 4;
              description "SSU A";
            }
            enum "ssub" {
              value 5;
              description "SSU B";
            }
          }
          description "Freq sync quality level";
        }
    
        container frequency-synchronization {
          presence "CLI submode compatibility.";
          description
            "Frequency Synchronization global configuration";
          leaf clock-identity {
            type yang:mac-address;
            description "Local clock ID";
          }
    
          leaf quality-level-option {
            type dt1:Fsync-ql-option;
            default "option-1";
            description "Quality level option";
          }
    
          leaf source-selection-logging {
            type Fsync-source-selection-logging;
            description
              "Source selection logging option";
          }
    
          leaf clock-interface-source-type {
            type Fsync-clock-source;
            description
              "Clock interface source type";
          }
    
          leaf system-timing-mode {
            type Fsync-system-timing-mode;
            description "System timing mode";
          }
        }  // container frequency-synchronization
      }  // module Cisco-IOS-XR-freqsync-cfg
    

© 2024 YumaWorks, Inc. All rights reserved.