Cisco-IOS-XR-linux-xlnc-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR linux-xlnc package operational data. Copyright (c) 20...

  • Version: 2020-06-22

    Cisco-IOS-XR-linux-xlnc-oper-sub1@2020-06-22


    
      submodule Cisco-IOS-XR-linux-xlnc-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-linux-xlnc-oper {
            prefix
              Cisco-IOS-XR-linux-xlnc-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        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 linux-xlnc package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-06-22" {
          description
            "Added address-only interface types and corresponding inconsistencies";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
    
        typedef Bag-mac-addr {
          type yang:mac-address;
          description "Bag mac addr";
        }
    
        typedef Xlnc-bag-admin-state {
          type enumeration {
            enum "admin-down" {
              value 0;
              description
                "Administratively down";
            }
            enum "admin-up" {
              value 1;
              description "Administratively up";
            }
            enum "admin-unknown" {
              value 2;
              description "Unknown admin state";
            }
          }
          description
            "Administrative state values";
        }
    
        typedef Xlnc-bag-attr {
          type enumeration {
            enum "admin-state" {
              value 0;
              description
                "Interface administrative state";
            }
            enum "mac-address" {
              value 1;
              description "MAC address";
            }
            enum "l3-mtu" {
              value 2;
              description "L3 MTU";
            }
            enum "ipv4-address" {
              value 3;
              description "IPv4 address";
            }
            enum "ipv6-enabled" {
              value 4;
              description "IPv6 enabled";
            }
            enum "ipv6-address" {
              value 5;
              description "IPv6 address";
            }
            enum "unknown-attr" {
              value 6;
              description "Unknown attribute";
            }
          }
          description "Interface attribute type";
        }
    
        typedef Xlnc-bag-op {
          type enumeration {
            enum "set" {
              value 0;
              description "Set";
            }
            enum "delete" {
              value 1;
              description "Delete";
            }
            enum "unknown-op" {
              value 2;
              description "Unknown";
            }
          }
          description
            "Operation type (set or delete)";
        }
    
        typedef Xlnc-bag-sync-dir {
          type enumeration {
            enum "to-xr" {
              value 0;
              description "From Linux to IOS-XR";
            }
            enum "to-linux" {
              value 1;
              description "From IOS-XR to Linux";
            }
            enum "unknown-dir" {
              value 2;
              description "Unknown direction";
            }
          }
          description
            "Synchronization direction";
        }
    
        typedef Xlnc-bag-error-category {
          type enumeration {
            enum "default-error-category" {
              value 0;
              description "Default error type";
            }
            enum "set-linux-error-category" {
              value 1;
              description
                "Error setting interface attributes in Linux";
            }
            enum "set-ios-xr-error-category" {
              value 2;
              description
                "Error setting interface attributes in IOS-XR";
            }
            enum "im-resync-error-category" {
              value 3;
              description
                "Error setting interface attribute during IM
               resync";
            }
            enum "unknown-category" {
              value 4;
              description
                "Unknown error category";
            }
          }
          description "Error category";
        }
    
        typedef Xlnc-bag-inconsistency-category {
          type enumeration {
            enum "attribute-conflicting-sync" {
              value 0;
              description
                "An attempt was made to synchronize interface
               attributes in one direction, when they were
               already being synchronized in the opposing
               direction.";
            }
            enum "conflicting-im-resync" {
              value 1;
              description
                "During an IM resync, an attempt was made to
               synchronize interface attributes in one
               direction when they were already being
               synchronized in the opposing direction.";
            }
            enum
              "more-than-one-ipv6-link-local-address" {
              value 2;
              description
                "An attempt was made to configure more than one
               link-local IPv6 address on a single interface.";
            }
            enum "more-than-on-ipv4-address" {
              value 3;
              description
                "An attempt was made to configure more than one
               primary IPv4 address on a single interface.";
            }
            enum
              "delete-unknown-ipv6-link-local-address" {
              value 4;
              description
                "An attempt was made to remove an unknown
               link-local IPv6 address from an interface.";
            }
            enum "delete-unknown-ipv4-address" {
              value 5;
              description
                "An attempt was made to remove an unknown IPv4
               address from an interface.";
            }
            enum
              "attribute-set-in-linux-failure" {
              value 6;
              description
                "An attempt to set an interface attribute value
               in Linux failed.";
            }
            enum "attribute-set-in-xr-failure" {
              value 7;
              description
                "An attempt to set an interface attribute value
               in IOS-XR failed.";
            }
            enum "mtu-too-small-for-ipv6" {
              value 8;
              description
                "The MTU set in Linux is smaller than the
               minimum size required for IPv6. The Linux
               kernel will remove any IPv6 addresses on the
               interface, which must be re-added when the MTU
               is increased.";
            }
            enum
              "mac-address-change-not-supported" {
              value 9;
              description
                "MAC address changes are not supported for this
               interface type on this platform. The MAC
               address has not been changed.";
            }
            enum "unknown-inconsistency" {
              value 10;
              description
                "Unknown inconsistency type";
            }
            enum "delete-loopback-address" {
              value 11;
              description
                "An address that was automatically added to a
               Linux loopback device to provide L3
               reachability has been unexpectedly removed.
               Traffic to/from Linux applications using that
               address will be dropped";
            }
          }
          description "XLNC inconsistency types";
        }
    
        typedef Bag-in6-addr {
          type inet:ipv6-address;
          description "Bag in6 addr";
        }
      }  // submodule Cisco-IOS-XR-linux-xlnc-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.