Cisco-IOS-XR-linux-xlnc-oper

This module contains a collection of YANG definitions for Cisco IOS-XR linux-xlnc package operational data. This module contain...

  • Version: 2020-06-22

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


    
      module Cisco-IOS-XR-linux-xlnc-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-linux-xlnc-oper";
    
        prefix linux-xlnc-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-linux-xlnc-oper-sub1 {
          revision-date "2020-06-22";
        }
    
        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 linux-xlnc package operational data.
    
    This module contains definitions
    for the following management objects:
      linux-networking: Linux Networking 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";
    
        container linux-networking {
          config false;
          description
            "Linux Networking operational data";
          container global {
            description
              "Global operational data";
            container interfaces {
              description
                "Linux Networking interface information";
              container address-only-interfaces {
                description
                  "Interfaces with addresses addeded to a Linux
    Loopback";
                list address-only-interface {
                  key "vrf-name interface-name";
                  description
                    "Interface with an IP address added to a Linux
    Loopback";
                  leaf vrf-name {
                    type xr:Cisco-ios-xr-string;
                    description "VRF name";
                  }
    
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf interface-name-xr {
                    type string;
                    description
                      "IOS-XR interface name";
                  }
    
                  leaf vrf-name-xr {
                    type string;
                    description
                      "IOS-XR VRF name the interface is assigned to";
                  }
    
                  leaf ipv4-address-xr {
                    type inet:ipv4-address;
                    description
                      "IPv4 address which has been added to a Linux
    loopbad device";
                  }
    
                  leaf virtual {
                    type boolean;
                    description
                      "Whether this address comes from an IOS-XR
    Virtual IP address";
                  }
    
                  leaf-list ipv4-address {
                    type Bag-in6-addr;
                    description
                      "IPv6 addressess which has been added to a Linux
    loopbad device";
                  }
                }  // list address-only-interface
              }  // container address-only-interfaces
            }  // container interfaces
    
            container status {
              description
                "Linux Networking operational status";
              container inconsistencies-per-vrfs {
                description
                  "Global inconsistencies table";
                list inconsistencies-per-vrf {
                  key "vrf-name";
                  description
                    "Inconsistencies observed for a particular VRF
    .";
                  leaf vrf-name {
                    type xr:Cisco-ios-xr-string;
                    description "VRF name";
                  }
    
                  leaf vrf-name-xr {
                    type string;
                    description
                      "IOS-XR VRF name";
                  }
    
                  leaf linux-network-namespace-name {
                    type string;
                    description
                      "Linux network namespace name corresponding to
    the IOS-XR VRF";
                  }
    
                  leaf inconsistencies-truncated {
                    type boolean;
                    description
                      "The oldest entries are no longer saved, because
    the sequence became too long.";
                  }
    
                  list inconsistency {
                    description
                      "Sequence of inconsistencies";
                    container error {
                      description
                        "Diagnostic information about the error which
    caused the inconsistency.";
                      container interface-attributes-operation {
                        when
                          "../error-category = 'default-error-category'" {
                          description
                            "../ErrorCategory = 'DefaultErrorCategory'";
                        }
                        description
                          "Interface attributes synchronization operation";
                        container attribute-value {
                          description
                            "Value of interface attribute";
                          container ipv4-address {
                            when
                              "../attribute-type = 'ipv4-address'" {
                              description
                                "../AttributeType = 'IPv4Address'";
                            }
                            description
                              "IPv4 address";
                            leaf address {
                              type inet:ipv4-address;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv4-address
    
                          container ipv6-address {
                            when
                              "../attribute-type = 'ipv6-address'" {
                              description
                                "../AttributeType = 'IPv6Address'";
                            }
                            description
                              "IPv6 address";
                            leaf address {
                              type Bag-in6-addr;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv6-address
    
                          leaf attribute-type {
                            type Xlnc-bag-attr;
                            description
                              "AttributeType";
                          }
    
                          leaf admin-state {
                            when
                              "../attribute-type = 'admin-state'" {
                              description
                                "../AttributeType = 'AdminState'";
                            }
                            type Xlnc-bag-admin-state;
                            description
                              "Interface administrative state";
                          }
    
                          leaf mac-address {
                            when
                              "../attribute-type = 'mac-address'" {
                              description
                                "../AttributeType = 'MACAddress'";
                            }
                            type Bag-mac-addr;
                            description
                              "MAC address";
                          }
    
                          leaf l3-mtu {
                            when
                              "../attribute-type = 'l3-mtu'" {
                              description
                                "../AttributeType = 'L3_MTU'";
                            }
                            type uint32;
                            description "L3 MTU";
                          }
    
                          leaf ipv6-enabled {
                            when
                              "../attribute-type = 'ipv6-enabled'" {
                              description
                                "../AttributeType = 'IPv6Enabled'";
                            }
                            type boolean;
                            description
                              "IPv6 enabled in IOS-XR";
                          }
                        }  // container attribute-value
    
                        leaf synchronization-direction {
                          type Xlnc-bag-sync-dir;
                          description
                            "Synchronization direction";
                        }
    
                        leaf operation-type {
                          type Xlnc-bag-op;
                          description
                            "Operation type (set or delete)";
                        }
                      }  // container interface-attributes-operation
    
                      container set-linux-error {
                        when
                          "../error-category = 'set-linux-error-category'" {
                          description
                            "../ErrorCategory = 'SetLinuxErrorCategory'";
                        }
                        description
                          "Error type associated with failure to set
    interface attributes in Linux.";
                        container operation {
                          description
                            "Failed synchronization operation";
                          container attribute-value {
                            description
                              "Value of interface attribute";
                            container ipv4-address {
                              when
                                "../attribute-type = 'ipv4-address'" {
                                description
                                  "../AttributeType = 'IPv4Address'";
                              }
                              description
                                "IPv4 address";
                              leaf address {
                                type inet:ipv4-address;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv4-address
    
                            container ipv6-address {
                              when
                                "../attribute-type = 'ipv6-address'" {
                                description
                                  "../AttributeType = 'IPv6Address'";
                              }
                              description
                                "IPv6 address";
                              leaf address {
                                type Bag-in6-addr;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv6-address
    
                            leaf attribute-type {
                              type Xlnc-bag-attr;
                              description
                                "AttributeType";
                            }
    
                            leaf admin-state {
                              when
                                "../attribute-type = 'admin-state'" {
                                description
                                  "../AttributeType = 'AdminState'";
                              }
                              type Xlnc-bag-admin-state;
                              description
                                "Interface administrative state";
                            }
    
                            leaf mac-address {
                              when
                                "../attribute-type = 'mac-address'" {
                                description
                                  "../AttributeType = 'MACAddress'";
                              }
                              type Bag-mac-addr;
                              description
                                "MAC address";
                            }
    
                            leaf l3-mtu {
                              when
                                "../attribute-type = 'l3-mtu'" {
                                description
                                  "../AttributeType = 'L3_MTU'";
                              }
                              type uint32;
                              description
                                "L3 MTU";
                            }
    
                            leaf ipv6-enabled {
                              when
                                "../attribute-type = 'ipv6-enabled'" {
                                description
                                  "../AttributeType = 'IPv6Enabled'";
                              }
                              type boolean;
                              description
                                "IPv6 enabled in IOS-XR";
                            }
                          }  // container attribute-value
    
                          leaf synchronization-direction {
                            type Xlnc-bag-sync-dir;
                            description
                              "Synchronization direction";
                          }
    
                          leaf operation-type {
                            type Xlnc-bag-op;
                            description
                              "Operation type (set or delete)";
                          }
                        }  // container operation
    
                        leaf attribute-value-valid {
                          type boolean;
                          description
                            "Indicates whether the attribute value in the
    synchronization operation is valid.";
                        }
    
                        leaf ios-xr-error-decode {
                          type string;
                          description
                            "Decode string for the IOS-XR error.";
                        }
    
                        leaf libnl-error-decode {
                          type string;
                          description
                            "Optional decode string for the libnl error.";
                        }
                      }  // container set-linux-error
    
                      container set-ios-xr-error {
                        when
                          "../error-category = 'set-ios-xr-error-category'" {
                          description
                            "../ErrorCategory = 'SetIOS_XR_ErrorCategory'";
                        }
                        description
                          "Error type associated with failure to set
    interface attributes in IOS-XR.";
                        container operation {
                          description
                            "Failed synchronization operation";
                          container attribute-value {
                            description
                              "Value of interface attribute";
                            container ipv4-address {
                              when
                                "../attribute-type = 'ipv4-address'" {
                                description
                                  "../AttributeType = 'IPv4Address'";
                              }
                              description
                                "IPv4 address";
                              leaf address {
                                type inet:ipv4-address;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv4-address
    
                            container ipv6-address {
                              when
                                "../attribute-type = 'ipv6-address'" {
                                description
                                  "../AttributeType = 'IPv6Address'";
                              }
                              description
                                "IPv6 address";
                              leaf address {
                                type Bag-in6-addr;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv6-address
    
                            leaf attribute-type {
                              type Xlnc-bag-attr;
                              description
                                "AttributeType";
                            }
    
                            leaf admin-state {
                              when
                                "../attribute-type = 'admin-state'" {
                                description
                                  "../AttributeType = 'AdminState'";
                              }
                              type Xlnc-bag-admin-state;
                              description
                                "Interface administrative state";
                            }
    
                            leaf mac-address {
                              when
                                "../attribute-type = 'mac-address'" {
                                description
                                  "../AttributeType = 'MACAddress'";
                              }
                              type Bag-mac-addr;
                              description
                                "MAC address";
                            }
    
                            leaf l3-mtu {
                              when
                                "../attribute-type = 'l3-mtu'" {
                                description
                                  "../AttributeType = 'L3_MTU'";
                              }
                              type uint32;
                              description
                                "L3 MTU";
                            }
    
                            leaf ipv6-enabled {
                              when
                                "../attribute-type = 'ipv6-enabled'" {
                                description
                                  "../AttributeType = 'IPv6Enabled'";
                              }
                              type boolean;
                              description
                                "IPv6 enabled in IOS-XR";
                            }
                          }  // container attribute-value
    
                          leaf synchronization-direction {
                            type Xlnc-bag-sync-dir;
                            description
                              "Synchronization direction";
                          }
    
                          leaf operation-type {
                            type Xlnc-bag-op;
                            description
                              "Operation type (set or delete)";
                          }
                        }  // container operation
    
                        leaf ios-xr-error-decode {
                          type string;
                          description
                            "Optional decode string for the IOS-XR error.";
                        }
    
                        leaf error-string {
                          type string;
                          description
                            "Optional error string describing the failure.";
                        }
                      }  // container set-ios-xr-error
    
                      container resync-attributes-operation {
                        when
                          "../error-category = 'im-resync-error-category'" {
                          description
                            "../ErrorCategory = 'ImResyncErrorCategory'";
                        }
                        description
                          "Resync interface attributes synchronization
    operation";
                        container attribute-value {
                          description
                            "Value of interface attribute";
                          container ipv4-address {
                            when
                              "../attribute-type = 'ipv4-address'" {
                              description
                                "../AttributeType = 'IPv4Address'";
                            }
                            description
                              "IPv4 address";
                            leaf address {
                              type inet:ipv4-address;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv4-address
    
                          container ipv6-address {
                            when
                              "../attribute-type = 'ipv6-address'" {
                              description
                                "../AttributeType = 'IPv6Address'";
                            }
                            description
                              "IPv6 address";
                            leaf address {
                              type Bag-in6-addr;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv6-address
    
                          leaf attribute-type {
                            type Xlnc-bag-attr;
                            description
                              "AttributeType";
                          }
    
                          leaf admin-state {
                            when
                              "../attribute-type = 'admin-state'" {
                              description
                                "../AttributeType = 'AdminState'";
                            }
                            type Xlnc-bag-admin-state;
                            description
                              "Interface administrative state";
                          }
    
                          leaf mac-address {
                            when
                              "../attribute-type = 'mac-address'" {
                              description
                                "../AttributeType = 'MACAddress'";
                            }
                            type Bag-mac-addr;
                            description
                              "MAC address";
                          }
    
                          leaf l3-mtu {
                            when
                              "../attribute-type = 'l3-mtu'" {
                              description
                                "../AttributeType = 'L3_MTU'";
                            }
                            type uint32;
                            description "L3 MTU";
                          }
    
                          leaf ipv6-enabled {
                            when
                              "../attribute-type = 'ipv6-enabled'" {
                              description
                                "../AttributeType = 'IPv6Enabled'";
                            }
                            type boolean;
                            description
                              "IPv6 enabled in IOS-XR";
                          }
                        }  // container attribute-value
    
                        leaf synchronization-direction {
                          type Xlnc-bag-sync-dir;
                          description
                            "Synchronization direction";
                        }
    
                        leaf operation-type {
                          type Xlnc-bag-op;
                          description
                            "Operation type (set or delete)";
                        }
                      }  // container resync-attributes-operation
    
                      leaf error-category {
                        type Xlnc-bag-error-category;
                        description
                          "ErrorCategory";
                      }
                    }  // container error
    
                    leaf milliseconds-since-epoch {
                      type uint64;
                      units "millisecond";
                      description
                        "How many milliseconds after the Unix epoch the
    inconsistency occurred";
                    }
    
                    leaf inconsistency-category {
                      type Xlnc-bag-inconsistency-category;
                      description
                        "Type of inconsistency which occurred";
                    }
                  }  // list inconsistency
                }  // list inconsistencies-per-vrf
              }  // container inconsistencies-per-vrfs
    
              container inconsistencies-per-interfaces {
                description
                  "Global inconsistencies table";
                list inconsistencies-per-interface {
                  key "interface-name";
                  description
                    "Inconsistencies observed for a particular
    interface.";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf xr-interface-name {
                    type string;
                    description
                      "IOS-XR interface name";
                  }
    
                  leaf linux-interface-name {
                    type string;
                    description
                      "Linux interface name of the corresponding
    exposed XR interface (EXI)";
                  }
    
                  leaf vrf-name {
                    type string;
                    description
                      "IOS-XR VRF name the interface is assigned to";
                  }
    
                  leaf linux-network-namespace-name {
                    type string;
                    description
                      "Linux network namespace name corresponding to
    the IOS-XR VRF the interface is assigned to";
                  }
    
                  leaf inconsistencies-truncated {
                    type boolean;
                    description
                      "The oldest entries are no longer saved, because
    the sequence became too long.";
                  }
    
                  list inconsistency {
                    description
                      "Sequence of inconsistencies";
                    container error {
                      description
                        "Diagnostic information about the error which
    caused the inconsistency.";
                      container interface-attributes-operation {
                        when
                          "../error-category = 'default-error-category'" {
                          description
                            "../ErrorCategory = 'DefaultErrorCategory'";
                        }
                        description
                          "Interface attributes synchronization operation";
                        container attribute-value {
                          description
                            "Value of interface attribute";
                          container ipv4-address {
                            when
                              "../attribute-type = 'ipv4-address'" {
                              description
                                "../AttributeType = 'IPv4Address'";
                            }
                            description
                              "IPv4 address";
                            leaf address {
                              type inet:ipv4-address;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv4-address
    
                          container ipv6-address {
                            when
                              "../attribute-type = 'ipv6-address'" {
                              description
                                "../AttributeType = 'IPv6Address'";
                            }
                            description
                              "IPv6 address";
                            leaf address {
                              type Bag-in6-addr;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv6-address
    
                          leaf attribute-type {
                            type Xlnc-bag-attr;
                            description
                              "AttributeType";
                          }
    
                          leaf admin-state {
                            when
                              "../attribute-type = 'admin-state'" {
                              description
                                "../AttributeType = 'AdminState'";
                            }
                            type Xlnc-bag-admin-state;
                            description
                              "Interface administrative state";
                          }
    
                          leaf mac-address {
                            when
                              "../attribute-type = 'mac-address'" {
                              description
                                "../AttributeType = 'MACAddress'";
                            }
                            type Bag-mac-addr;
                            description
                              "MAC address";
                          }
    
                          leaf l3-mtu {
                            when
                              "../attribute-type = 'l3-mtu'" {
                              description
                                "../AttributeType = 'L3_MTU'";
                            }
                            type uint32;
                            description "L3 MTU";
                          }
    
                          leaf ipv6-enabled {
                            when
                              "../attribute-type = 'ipv6-enabled'" {
                              description
                                "../AttributeType = 'IPv6Enabled'";
                            }
                            type boolean;
                            description
                              "IPv6 enabled in IOS-XR";
                          }
                        }  // container attribute-value
    
                        leaf synchronization-direction {
                          type Xlnc-bag-sync-dir;
                          description
                            "Synchronization direction";
                        }
    
                        leaf operation-type {
                          type Xlnc-bag-op;
                          description
                            "Operation type (set or delete)";
                        }
                      }  // container interface-attributes-operation
    
                      container set-linux-error {
                        when
                          "../error-category = 'set-linux-error-category'" {
                          description
                            "../ErrorCategory = 'SetLinuxErrorCategory'";
                        }
                        description
                          "Error type associated with failure to set
    interface attributes in Linux.";
                        container operation {
                          description
                            "Failed synchronization operation";
                          container attribute-value {
                            description
                              "Value of interface attribute";
                            container ipv4-address {
                              when
                                "../attribute-type = 'ipv4-address'" {
                                description
                                  "../AttributeType = 'IPv4Address'";
                              }
                              description
                                "IPv4 address";
                              leaf address {
                                type inet:ipv4-address;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv4-address
    
                            container ipv6-address {
                              when
                                "../attribute-type = 'ipv6-address'" {
                                description
                                  "../AttributeType = 'IPv6Address'";
                              }
                              description
                                "IPv6 address";
                              leaf address {
                                type Bag-in6-addr;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv6-address
    
                            leaf attribute-type {
                              type Xlnc-bag-attr;
                              description
                                "AttributeType";
                            }
    
                            leaf admin-state {
                              when
                                "../attribute-type = 'admin-state'" {
                                description
                                  "../AttributeType = 'AdminState'";
                              }
                              type Xlnc-bag-admin-state;
                              description
                                "Interface administrative state";
                            }
    
                            leaf mac-address {
                              when
                                "../attribute-type = 'mac-address'" {
                                description
                                  "../AttributeType = 'MACAddress'";
                              }
                              type Bag-mac-addr;
                              description
                                "MAC address";
                            }
    
                            leaf l3-mtu {
                              when
                                "../attribute-type = 'l3-mtu'" {
                                description
                                  "../AttributeType = 'L3_MTU'";
                              }
                              type uint32;
                              description
                                "L3 MTU";
                            }
    
                            leaf ipv6-enabled {
                              when
                                "../attribute-type = 'ipv6-enabled'" {
                                description
                                  "../AttributeType = 'IPv6Enabled'";
                              }
                              type boolean;
                              description
                                "IPv6 enabled in IOS-XR";
                            }
                          }  // container attribute-value
    
                          leaf synchronization-direction {
                            type Xlnc-bag-sync-dir;
                            description
                              "Synchronization direction";
                          }
    
                          leaf operation-type {
                            type Xlnc-bag-op;
                            description
                              "Operation type (set or delete)";
                          }
                        }  // container operation
    
                        leaf attribute-value-valid {
                          type boolean;
                          description
                            "Indicates whether the attribute value in the
    synchronization operation is valid.";
                        }
    
                        leaf ios-xr-error-decode {
                          type string;
                          description
                            "Decode string for the IOS-XR error.";
                        }
    
                        leaf libnl-error-decode {
                          type string;
                          description
                            "Optional decode string for the libnl error.";
                        }
                      }  // container set-linux-error
    
                      container set-ios-xr-error {
                        when
                          "../error-category = 'set-ios-xr-error-category'" {
                          description
                            "../ErrorCategory = 'SetIOS_XR_ErrorCategory'";
                        }
                        description
                          "Error type associated with failure to set
    interface attributes in IOS-XR.";
                        container operation {
                          description
                            "Failed synchronization operation";
                          container attribute-value {
                            description
                              "Value of interface attribute";
                            container ipv4-address {
                              when
                                "../attribute-type = 'ipv4-address'" {
                                description
                                  "../AttributeType = 'IPv4Address'";
                              }
                              description
                                "IPv4 address";
                              leaf address {
                                type inet:ipv4-address;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv4-address
    
                            container ipv6-address {
                              when
                                "../attribute-type = 'ipv6-address'" {
                                description
                                  "../AttributeType = 'IPv6Address'";
                              }
                              description
                                "IPv6 address";
                              leaf address {
                                type Bag-in6-addr;
                                description
                                  "Linux representation of the address";
                              }
    
                              leaf prefix-length {
                                type uint8;
                                description
                                  "Network prefix length";
                              }
                            }  // container ipv6-address
    
                            leaf attribute-type {
                              type Xlnc-bag-attr;
                              description
                                "AttributeType";
                            }
    
                            leaf admin-state {
                              when
                                "../attribute-type = 'admin-state'" {
                                description
                                  "../AttributeType = 'AdminState'";
                              }
                              type Xlnc-bag-admin-state;
                              description
                                "Interface administrative state";
                            }
    
                            leaf mac-address {
                              when
                                "../attribute-type = 'mac-address'" {
                                description
                                  "../AttributeType = 'MACAddress'";
                              }
                              type Bag-mac-addr;
                              description
                                "MAC address";
                            }
    
                            leaf l3-mtu {
                              when
                                "../attribute-type = 'l3-mtu'" {
                                description
                                  "../AttributeType = 'L3_MTU'";
                              }
                              type uint32;
                              description
                                "L3 MTU";
                            }
    
                            leaf ipv6-enabled {
                              when
                                "../attribute-type = 'ipv6-enabled'" {
                                description
                                  "../AttributeType = 'IPv6Enabled'";
                              }
                              type boolean;
                              description
                                "IPv6 enabled in IOS-XR";
                            }
                          }  // container attribute-value
    
                          leaf synchronization-direction {
                            type Xlnc-bag-sync-dir;
                            description
                              "Synchronization direction";
                          }
    
                          leaf operation-type {
                            type Xlnc-bag-op;
                            description
                              "Operation type (set or delete)";
                          }
                        }  // container operation
    
                        leaf ios-xr-error-decode {
                          type string;
                          description
                            "Optional decode string for the IOS-XR error.";
                        }
    
                        leaf error-string {
                          type string;
                          description
                            "Optional error string describing the failure.";
                        }
                      }  // container set-ios-xr-error
    
                      container resync-attributes-operation {
                        when
                          "../error-category = 'im-resync-error-category'" {
                          description
                            "../ErrorCategory = 'ImResyncErrorCategory'";
                        }
                        description
                          "Resync interface attributes synchronization
    operation";
                        container attribute-value {
                          description
                            "Value of interface attribute";
                          container ipv4-address {
                            when
                              "../attribute-type = 'ipv4-address'" {
                              description
                                "../AttributeType = 'IPv4Address'";
                            }
                            description
                              "IPv4 address";
                            leaf address {
                              type inet:ipv4-address;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv4-address
    
                          container ipv6-address {
                            when
                              "../attribute-type = 'ipv6-address'" {
                              description
                                "../AttributeType = 'IPv6Address'";
                            }
                            description
                              "IPv6 address";
                            leaf address {
                              type Bag-in6-addr;
                              description
                                "Linux representation of the address";
                            }
    
                            leaf prefix-length {
                              type uint8;
                              description
                                "Network prefix length";
                            }
                          }  // container ipv6-address
    
                          leaf attribute-type {
                            type Xlnc-bag-attr;
                            description
                              "AttributeType";
                          }
    
                          leaf admin-state {
                            when
                              "../attribute-type = 'admin-state'" {
                              description
                                "../AttributeType = 'AdminState'";
                            }
                            type Xlnc-bag-admin-state;
                            description
                              "Interface administrative state";
                          }
    
                          leaf mac-address {
                            when
                              "../attribute-type = 'mac-address'" {
                              description
                                "../AttributeType = 'MACAddress'";
                            }
                            type Bag-mac-addr;
                            description
                              "MAC address";
                          }
    
                          leaf l3-mtu {
                            when
                              "../attribute-type = 'l3-mtu'" {
                              description
                                "../AttributeType = 'L3_MTU'";
                            }
                            type uint32;
                            description "L3 MTU";
                          }
    
                          leaf ipv6-enabled {
                            when
                              "../attribute-type = 'ipv6-enabled'" {
                              description
                                "../AttributeType = 'IPv6Enabled'";
                            }
                            type boolean;
                            description
                              "IPv6 enabled in IOS-XR";
                          }
                        }  // container attribute-value
    
                        leaf synchronization-direction {
                          type Xlnc-bag-sync-dir;
                          description
                            "Synchronization direction";
                        }
    
                        leaf operation-type {
                          type Xlnc-bag-op;
                          description
                            "Operation type (set or delete)";
                        }
                      }  // container resync-attributes-operation
    
                      leaf error-category {
                        type Xlnc-bag-error-category;
                        description
                          "ErrorCategory";
                      }
                    }  // container error
    
                    leaf milliseconds-since-epoch {
                      type uint64;
                      units "millisecond";
                      description
                        "How many milliseconds after the Unix epoch the
    inconsistency occurred";
                    }
    
                    leaf inconsistency-category {
                      type Xlnc-bag-inconsistency-category;
                      description
                        "Type of inconsistency which occurred";
                    }
                  }  // list inconsistency
                }  // list inconsistencies-per-interface
              }  // container inconsistencies-per-interfaces
            }  // container status
          }  // container global
        }  // container linux-networking
      }  // module Cisco-IOS-XR-linux-xlnc-oper
    

© 2023 YumaWorks, Inc. All rights reserved.