Cisco-IOS-XR-mirror-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR mirror package operational data. Copyright (c) 2013-2...

  • Version: 2019-04-05

    Cisco-IOS-XR-mirror-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-mirror-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-mirror-oper {
            prefix Cisco-IOS-XR-mirror-oper;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR mirror package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Change-bag-reason {
          type enumeration {
            enum "checksum" {
              value 0;
              description "Checksum";
            }
            enum "size" {
              value 1;
              description "Size";
            }
            enum "mod-time" {
              value 2;
              description "Modification time";
            }
            enum "permissions" {
              value 3;
              description "Permissions changed";
            }
            enum "owner" {
              value 4;
              description "Owner changed";
            }
            enum "group" {
              value 5;
              description "Group changed";
            }
            enum "reserved" {
              value 6;
              description "<reserved>";
            }
            enum "acl" {
              value 7;
              description "ACL changed";
            }
            enum "xattr" {
              value 8;
              description
                "Extended attributes changed";
            }
            enum "none" {
              value 9;
              description
                "Unknown or no mismatch. When UT_UNKNOWN or
               UT_NONE.";
            }
            enum "sub-item" {
              value 10;
              description
                "Sub item of this dir has a change";
            }
            enum "new-item" {
              value 11;
              description
                "This item is newly created";
            }
          }
          description "ChangeReason";
        }
    
        typedef File-bag {
          type enumeration {
            enum "file" {
              value 0;
              description "File";
            }
            enum "directory" {
              value 1;
              description "Directory";
            }
            enum "symlink" {
              value 2;
              description "Symlink";
            }
            enum "device" {
              value 3;
              description "Device";
            }
            enum "special" {
              value 4;
              description "Special";
            }
            enum "unknown" {
              value 5;
              description "<unknown>";
            }
          }
          description "ItemType";
        }
    
        typedef Update-bag {
          type enumeration {
            enum "send" {
              value 0;
              description
                "Send changes to standby";
            }
            enum "recv" {
              value 1;
              description
                "Receive changes from standby";
            }
            enum "create" {
              value 2;
              description "Create on standby";
            }
            enum "hardlink" {
              value 3;
              description "Hardlink";
            }
            enum "unknown" {
              value 4;
              description
                "Unexpected reason, use update_msg field";
            }
            enum "none" {
              value 5;
              description
                "In sync on both active and standby";
            }
            enum "delete" {
              value 6;
              description "Delete on standby";
            }
            enum "sub-item" {
              value 7;
              description
                "Sub item of this dir needs a change";
            }
          }
          description "Update";
        }
    
        typedef Mirror-bag-state {
          type enumeration {
            enum "no" {
              value 0;
              description
                "Not mirrored, and no sync in progress";
            }
            enum "yes" {
              value 1;
              description "Mirrored";
            }
            enum "in-progress" {
              value 2;
              description
                "Not mirrored, but sync in progress";
            }
          }
          description "MirrorState";
        }
      }  // submodule Cisco-IOS-XR-mirror-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.