Cisco-IOS-XR-um-frequency-synchronization-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR frequency-synchronization package configuration. This YA...

  • Version: 2021-01-06

    Cisco-IOS-XR-um-frequency-synchronization-cfg@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";
    
        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.