Cisco-IOS-XE-interface-common

Cisco XE Native Interfaces Common Yang model. Copyright (c) 2016-2020 by Cisco Systems, Inc. All rights reserved.

  • Version: 2021-07-01

    Cisco-IOS-XE-interface-common@2021-07-01


    
      module Cisco-IOS-XE-interface-common {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-interface-common";
    
        prefix ios-ifc;
    
        import cisco-semver {
          prefix cisco-semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
    Customer Service
    
    Postal: 170 W Tasman Drive
    San Jose, CA 95134
    
    Tel: +1 1800 553-NETS
    
    E-mail: cs-yang@cisco.com";
    
        description
          "Cisco XE Native Interfaces Common Yang model.
    Copyright (c) 2016-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-07-01" {
          description
            "- Added L2LISP interface and subinterface";
        }
    
        revision "2021-03-01" {
          description
            "- Added range for Loopback interface in interface-grouping";
        }
    
        revision "2020-07-01" {
          description
            "- Added interface type MFR and serial-subinterface";
        }
    
        revision "2020-03-01" {
          description
            "- Added Obsolete interface grouping for obsolete interfaces";
        }
    
        revision "2019-11-01" {
          description
            "
    - Deprecating Async interface type";
        }
    
        revision "2019-07-01" {
          description
            "- Establish semantic version baseline
    - Add BD-VIF interface";
        }
    
        revision "2019-01-22" {
          description
            "Added leaf for App-hosting Gigabit Ethernet interface";
        }
    
        revision "2018-06-18" {
          description
            "Change passive-interface to 'leaf-list interface'";
        }
    
        revision "2018-02-08" {
          description
            "Add a type of Interface: Ethernet";
        }
    
        revision "2017-11-27" {
          description "Added Change 25GE name";
        }
    
        revision "2017-11-13" {
          description
            "Added leafs for FortyGigabitEthernet and HundredGigE interfaces";
        }
    
        revision "2017-09-15" {
          description
            "This revison has changes for the new 2gig interface addition";
        }
    
        revision "2017-08-16" {
          description
            "This revision has changes for new 5gig and 25gig interfaces addition";
        }
    
        revision "2017-03-04" {
          description
            "Changed LISP key type to string to support OC mapping";
        }
    
        revision "2017-02-07" {
          description "Initial revision";
        }
    
        cisco-semver:module-version "2.1.0";
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.3.0";
        cisco-semver:module-version "1.2.0";
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        grouping interface-grouping {
          choice interface-choice {
            leaf AppNav-Compress {
              type uint16;
              description
                "Service-Context Virtual Interface Compress";
            }
            leaf AppNav-UnCompress {
              type uint16;
              description
                "Service-Context Virtual Interface UnCompress";
            }
            leaf ATM {
              type string;
              description "ATM interface";
            }
            container ATM-subinterface {
              leaf ATM {
                type string;
              }
            }  // container ATM-subinterface
            leaf ATM-ACR {
              type string {
                pattern '[0-9]';
              }
              description "ATM-ACR interface";
            }
            container ATM-ACRsubinterface {
              leaf ATM-ACR {
                type string {
                  pattern
                    '[0-9]\.([0-9]/){3}[0-9]';
                }
              }
            }  // container ATM-ACRsubinterface
            leaf BDI {
              type string;
              description
                "Bridge-Domain interface";
            }
            leaf CEM {
              type string {
                pattern '([0-9]/){2}[0-9]';
              }
              description "CEM interface";
            }
            leaf CEM-ACR {
              type uint8 {
                range "0..255";
              }
              description "CEM-ACR interface";
            }
            leaf Embedded-Service-Engine {
              type string;
              description
                "cisco embedded service engine module";
            }
            leaf Ethernet {
              type string;
              description "IEEE 802.3";
            }
            leaf FastEthernet {
              type string;
              description
                "FastEthernet IEEE 802.3";
            }
            leaf GigabitEthernet {
              type string;
              description
                "GigabitEthernet IEEE 802.3z";
            }
            leaf FiveGigabitEthernet {
              type string;
              description
                "Five GigabitEthernet ";
            }
            leaf AppGigabitEthernet {
              type string;
              description
                "App-hosting Gigabit Ethernet IEEE 802.3z";
            }
            leaf TwentyFiveGigabitEthernet {
              type string;
              status obsolete;
              description
                "Twenty Five GigabitEthernet ";
            }
            leaf TwentyFiveGigE {
              type string;
              description
                "Twenty Five GigabitEthernet ";
            }
            leaf TwoGigabitEthernet {
              type string;
              description "Two GigabitEthernet ";
            }
            leaf FortyGigabitEthernet {
              type string;
              description
                "Forty GigabitEthernet ";
            }
            leaf HundredGigE {
              type string;
              description
                "Hundred GigabitEthernet";
            }
            leaf L2LISP {
              type string;
              description
                "L2 Locator/ID Separation Protocol Virtual Interface";
            }
            container L2LISP-subinterface {
              description
                "L2 Locator/ID Separation Protocol Virtual Interface";
              leaf L2LISP {
                type string {
                  pattern
                    '[0-9]*(. ?[1-9][0-9]*)*';
                }
              }
            }  // container L2LISP-subinterface
            leaf LISP {
              type string;
              description
                "Locator/ID Separation Protocol Virtual Interface";
            }
            container LISP-subinterface {
              description
                "Locator/ID Separation Protocol Virtual Interface";
              leaf LISP {
                type string {
                  pattern
                    '[0-9]*(. ?[1-9][0-9]*)*';
                }
              }
            }  // container LISP-subinterface
            leaf Loopback {
              type uint32 {
                range "0..2147483647";
              }
              description "Loopback interface";
            }
            leaf Multilink {
              type uint16;
              description
                "Multilink-group interface";
            }
            leaf nve {
              type uint16;
              description
                "Network virtualization endpoint interface";
            }
            leaf overlay {
              type uint16;
              description "Overlay interface";
            }
            leaf Port-channel {
              type uint32;
              description
                "Ethernet Channel of interfaces";
            }
            container Port-channel-subinterface {
              leaf Port-channel {
                type string;
              }
            }  // container Port-channel-subinterface
            leaf pseudowire {
              type uint32;
              description "Pseudowire Interface";
            }
            leaf SM {
              type string;
              description "SM Interface";
            }
            leaf Cellular {
              type string;
              description "Cellular Interface";
            }
            leaf Dialer {
              type string;
              description "Dialer Interface";
            }
            leaf Serial {
              type string;
              description "Serial interface";
            }
            leaf Async {
              type string;
              description
                "Async serial interface";
            }
            leaf TenGigabitEthernet {
              type string;
              description "Ten Gigabit Ethernet";
            }
            leaf Tunnel {
              type uint32;
              description "Tunnel interface";
            }
            leaf Virtual-Template {
              type uint16;
              description
                "Virtual Template interface";
            }
            leaf Vlan {
              type uint16;
              description "Iosxr Vlans";
            }
            leaf VirtualPortGroup {
              type uint16;
              description "Virtual Port Group";
            }
            leaf vasileft {
              type uint16;
              description "vasileft";
            }
            leaf vasiright {
              type uint16;
              description "vasiright";
            }
            leaf BD-VIF {
              type string;
              description
                "Bridge-Domain Virtual IP interface";
            }
            leaf MFR {
              type uint32 {
                range "0..2147483647";
              }
              description "MFR interface";
            }
            container Serial-subinterface {
              leaf Serial {
                type string;
              }
            }  // container Serial-subinterface
          }  // choice interface-choice
        }  // grouping interface-grouping
    
        grouping passive-interface-grouping {
          container passive-interface {
            description
              "Suppress routing updates on an interface";
            choice passive-interface-choice {
              leaf default {
                type empty;
                description
                  "Suppress routing updates on all interfaces";
              }
              leaf-list interface {
                type string;
              }
            }  // choice passive-interface-choice
          }  // container passive-interface
    
          container disable {
            when "../passive-interface/default";
            list passive-interface {
              key "interface";
              leaf interface {
                type string;
              }
            }  // list passive-interface
          }  // container disable
        }  // grouping passive-interface-grouping
    
        grouping interface-deprecated-grouping {
          choice interface-choice {
            leaf AppNav-Compress {
              type uint16;
              status deprecated;
              description
                "Service-Context Virtual Interface Compress";
            }
            leaf AppNav-UnCompress {
              type uint16;
              status deprecated;
              description
                "Service-Context Virtual Interface UnCompress";
            }
            leaf ATM {
              type string;
              status deprecated;
              description "ATM interface";
            }
            container ATM-subinterface {
              status deprecated;
              leaf ATM {
                type string;
                status deprecated;
              }
            }  // container ATM-subinterface
            leaf ATM-ACR {
              type string {
                pattern '[0-9]';
              }
              status deprecated;
              description "ATM-ACR interface";
            }
            container ATM-ACRsubinterface {
              status deprecated;
              leaf ATM-ACR {
                type string {
                  pattern
                    '[0-9]\.([0-9]/){3}[0-9]';
                }
                status deprecated;
              }
            }  // container ATM-ACRsubinterface
            leaf BDI {
              type string;
              status deprecated;
              description
                "Bridge-Domain interface";
            }
            leaf CEM {
              type string {
                pattern '([0-9]/){2}[0-9]';
              }
              status deprecated;
              description "CEM interface";
            }
            leaf CEM-ACR {
              type uint8 {
                range "0..255";
              }
              status deprecated;
              description "CEM-ACR interface";
            }
            leaf Embedded-Service-Engine {
              type string;
              status deprecated;
              description
                "cisco embedded service engine module";
            }
            leaf Ethernet {
              type string;
              status deprecated;
              description "IEEE 802.3";
            }
            leaf FastEthernet {
              type string;
              status deprecated;
              description
                "FastEthernet IEEE 802.3";
            }
            leaf GigabitEthernet {
              type string;
              status deprecated;
              description
                "GigabitEthernet IEEE 802.3z";
            }
            leaf FiveGigabitEthernet {
              type string;
              status deprecated;
              description
                "Five GigabitEthernet ";
            }
            leaf AppGigabitEthernet {
              type string;
              status deprecated;
              description
                "App-hosting Gigabit Ethernet IEEE 802.3z";
            }
            leaf TwentyFiveGigE {
              type string;
              status deprecated;
              description
                "Twenty Five GigabitEthernet ";
            }
            leaf TwoGigabitEthernet {
              type string;
              status deprecated;
              description "Two GigabitEthernet ";
            }
            leaf FortyGigabitEthernet {
              type string;
              status deprecated;
              description
                "Forty GigabitEthernet ";
            }
            leaf HundredGigE {
              type string;
              status deprecated;
              description
                "Hundred GigabitEthernet";
            }
            leaf LISP {
              type string;
              status deprecated;
              description
                "Locator/ID Separation Protocol Virtual Interface";
            }
            container LISP-subinterface {
              status deprecated;
              description
                "Locator/ID Separation Protocol Virtual Interface";
              leaf LISP {
                type string {
                  pattern
                    '[0-9]*(. ?[1-9][0-9]*)*';
                }
                status deprecated;
              }
            }  // container LISP-subinterface
            leaf Loopback {
              type uint32;
              status deprecated;
              description "Loopback interface";
            }
            leaf Multilink {
              type uint16;
              status deprecated;
              description
                "Multilink-group interface";
            }
            leaf nve {
              type uint16;
              status deprecated;
              description
                "Network virtualization endpoint interface";
            }
            leaf overlay {
              type uint16;
              status deprecated;
              description "Overlay interface";
            }
            leaf Port-channel {
              type uint32;
              status deprecated;
              description
                "Ethernet Channel of interfaces";
            }
            container Port-channel-subinterface {
              status deprecated;
              leaf Port-channel {
                type string;
                status deprecated;
              }
            }  // container Port-channel-subinterface
            leaf pseudowire {
              type uint32;
              status deprecated;
              description "Pseudowire Interface";
            }
            leaf SM {
              type string;
              status deprecated;
              description "SM Interface";
            }
            leaf Cellular {
              type string;
              status deprecated;
              description "Cellular Interface";
            }
            leaf Dialer {
              type string;
              status deprecated;
              description "Dialer Interface";
            }
            leaf Serial {
              type string;
              status deprecated;
              description "Serial interface";
            }
            leaf Async {
              type string;
              status deprecated;
              description
                "Async serial interface";
            }
            leaf TenGigabitEthernet {
              type string;
              status deprecated;
              description "Ten Gigabit Ethernet";
            }
            leaf Tunnel {
              type uint32;
              status deprecated;
              description "Tunnel interface";
            }
            leaf Virtual-Template {
              type uint16;
              status deprecated;
              description
                "Virtual Template interface";
            }
            leaf Vlan {
              type uint16;
              status deprecated;
              description "Iosxr Vlans";
            }
            leaf VirtualPortGroup {
              type uint16;
              status deprecated;
              description "Virtual Port Group";
            }
            leaf vasileft {
              type uint16;
              status deprecated;
              description "vasileft";
            }
            leaf vasiright {
              type uint16;
              status deprecated;
              description "vasiright";
            }
            leaf BD-VIF {
              type string;
              status deprecated;
              description
                "Bridge-Domain Virtual IP interface";
            }
          }  // choice interface-choice
        }  // grouping interface-deprecated-grouping
    
        grouping interface-obsolete-grouping {
          choice interface-choice {
            status obsolete;
            case AppNav-Compress {
              status obsolete;
              leaf AppNav-Compress {
                type uint16;
                status obsolete;
                description
                  "Service-Context Virtual Interface Compress";
              }
            }  // case AppNav-Compress
    
            case AppNav-UnCompress {
              status obsolete;
              leaf AppNav-UnCompress {
                type uint16;
                status obsolete;
                description
                  "Service-Context Virtual Interface UnCompress";
              }
            }  // case AppNav-UnCompress
    
            case ATM {
              status obsolete;
              leaf ATM {
                type string;
                status obsolete;
                description "ATM interface";
              }
            }  // case ATM
    
            case ATM-subinterface {
              status obsolete;
              container ATM-subinterface {
                status obsolete;
                leaf ATM {
                  type string;
                }
              }  // container ATM-subinterface
            }  // case ATM-subinterface
    
            case ATM-ACR {
              status obsolete;
              leaf ATM-ACR {
                type string {
                  pattern '[0-9]';
                }
                status obsolete;
                description "ATM-ACR interface";
              }
            }  // case ATM-ACR
    
            case ATM-ACRsubinterface {
              status obsolete;
              container ATM-ACRsubinterface {
                status obsolete;
                leaf ATM-ACR {
                  type string {
                    pattern
                      '[0-9]\.([0-9]/){3}[0-9]';
                  }
                  status obsolete;
                }
              }  // container ATM-ACRsubinterface
            }  // case ATM-ACRsubinterface
    
            case BDI {
              status obsolete;
              leaf BDI {
                type string;
                status obsolete;
                description
                  "Bridge-Domain interface";
              }
            }  // case BDI
    
            case CEM {
              status obsolete;
              leaf CEM {
                type string {
                  pattern '([0-9]/){2}[0-9]';
                }
                status obsolete;
                description "CEM interface";
              }
            }  // case CEM
    
            case CEM-ACR {
              status obsolete;
              leaf CEM-ACR {
                type uint8 {
                  range "0..255";
                }
                status obsolete;
                description "CEM-ACR interface";
              }
            }  // case CEM-ACR
    
            case Embedded-Service-Engine {
              status obsolete;
              leaf Embedded-Service-Engine {
                type string;
                status obsolete;
                description
                  "cisco embedded service engine module";
              }
            }  // case Embedded-Service-Engine
    
            case Ethernet {
              status obsolete;
              leaf Ethernet {
                type string;
                status obsolete;
                description "IEEE 802.3";
              }
            }  // case Ethernet
    
            case FastEthernet {
              status obsolete;
              leaf FastEthernet {
                type string;
                status obsolete;
                description
                  "FastEthernet IEEE 802.3";
              }
            }  // case FastEthernet
    
            case GigabitEthernet {
              status obsolete;
              leaf GigabitEthernet {
                type string;
                status obsolete;
                description
                  "GigabitEthernet IEEE 802.3z";
              }
            }  // case GigabitEthernet
    
            case FiveGigabitEthernet {
              status obsolete;
              leaf FiveGigabitEthernet {
                type string;
                status obsolete;
                description
                  "Five GigabitEthernet ";
              }
            }  // case FiveGigabitEthernet
    
            case AppGigabitEthernet {
              status obsolete;
              leaf AppGigabitEthernet {
                type string;
                status obsolete;
                description
                  "App-hosting Gigabit Ethernet IEEE 802.3z";
              }
            }  // case AppGigabitEthernet
    
            case TwentyFiveGigabitEthernet {
              status obsolete;
              leaf TwentyFiveGigabitEthernet {
                type string;
                status obsolete;
                description
                  "Twenty Five GigabitEthernet ";
              }
            }  // case TwentyFiveGigabitEthernet
    
            case TwentyFiveGigE {
              status obsolete;
              leaf TwentyFiveGigE {
                type string;
                status obsolete;
                description
                  "Twenty Five GigabitEthernet ";
              }
            }  // case TwentyFiveGigE
    
            case TwoGigabitEthernet {
              status obsolete;
              leaf TwoGigabitEthernet {
                type string;
                status obsolete;
                description
                  "Two GigabitEthernet ";
              }
            }  // case TwoGigabitEthernet
    
            case FortyGigabitEthernet {
              status obsolete;
              leaf FortyGigabitEthernet {
                type string;
                status obsolete;
                description
                  "Forty GigabitEthernet ";
              }
            }  // case FortyGigabitEthernet
    
            case HundredGigE {
              status obsolete;
              leaf HundredGigE {
                type string;
                status obsolete;
                description
                  "Hundred GigabitEthernet";
              }
            }  // case HundredGigE
    
            case LISP {
              status obsolete;
              leaf LISP {
                type string;
                status obsolete;
                description
                  "Locator/ID Separation Protocol Virtual Interface";
              }
            }  // case LISP
    
            case LISP-subinterface {
              status obsolete;
              container LISP-subinterface {
                status obsolete;
                description
                  "Locator/ID Separation Protocol Virtual Interface";
                leaf LISP {
                  type string {
                    pattern
                      '[0-9]*(. ?[1-9][0-9]*)*';
                  }
                  status obsolete;
                }
              }  // container LISP-subinterface
            }  // case LISP-subinterface
    
            case Loopback {
              status obsolete;
              leaf Loopback {
                type uint32;
                status obsolete;
                description "Loopback interface";
              }
            }  // case Loopback
    
            case Multilink {
              status obsolete;
              leaf Multilink {
                type uint16;
                status obsolete;
                description
                  "Multilink-group interface";
              }
            }  // case Multilink
    
            case nve {
              status obsolete;
              leaf nve {
                type uint16;
                status obsolete;
                description
                  "Network virtualization endpoint interface";
              }
            }  // case nve
    
            case overlay {
              status obsolete;
              leaf overlay {
                type uint16;
                status obsolete;
                description "Overlay interface";
              }
            }  // case overlay
    
            case Port-channel {
              status obsolete;
              leaf Port-channel {
                type uint32;
                status obsolete;
                description
                  "Ethernet Channel of interfaces";
              }
            }  // case Port-channel
    
            case Port-channel-subinterface {
              status obsolete;
              container Port-channel-subinterface {
                status obsolete;
                leaf Port-channel {
                  type string;
                  status obsolete;
                }
              }  // container Port-channel-subinterface
            }  // case Port-channel-subinterface
    
            case pseudowire {
              status obsolete;
              leaf pseudowire {
                type uint32;
                status obsolete;
                description
                  "Pseudowire Interface";
              }
            }  // case pseudowire
    
            case SM {
              status obsolete;
              leaf SM {
                type string;
                status obsolete;
                description "SM Interface";
              }
            }  // case SM
    
            case Cellular {
              status obsolete;
              leaf Cellular {
                type string;
                status obsolete;
                description "Cellular Interface";
              }
            }  // case Cellular
    
            case Dialer {
              status obsolete;
              leaf Dialer {
                type string;
                status obsolete;
                description "Dialer Interface";
              }
            }  // case Dialer
    
            case Serial {
              status obsolete;
              leaf Serial {
                type string;
                status obsolete;
                description "Serial interface";
              }
            }  // case Serial
    
            case Async {
              status obsolete;
              leaf Async {
                type string;
                status obsolete;
                description
                  "Async serial interface";
              }
            }  // case Async
    
            case TenGigabitEthernet {
              status obsolete;
              leaf TenGigabitEthernet {
                type string;
                status obsolete;
                description
                  "Ten Gigabit Ethernet";
              }
            }  // case TenGigabitEthernet
    
            case Tunnel {
              status obsolete;
              leaf Tunnel {
                type uint32;
                status obsolete;
                description "Tunnel interface";
              }
            }  // case Tunnel
    
            case Virtual-Template {
              status obsolete;
              leaf Virtual-Template {
                type uint16;
                status obsolete;
                description
                  "Virtual Template interface";
              }
            }  // case Virtual-Template
    
            case Vlan {
              status obsolete;
              leaf Vlan {
                type uint16;
                status obsolete;
                description "Iosxr Vlans";
              }
            }  // case Vlan
    
            case VirtualPortGroup {
              status obsolete;
              leaf VirtualPortGroup {
                type uint16;
                status obsolete;
                description "Virtual Port Group";
              }
            }  // case VirtualPortGroup
    
            case vasileft {
              status obsolete;
              leaf vasileft {
                type uint16;
                status obsolete;
                description "vasileft";
              }
            }  // case vasileft
    
            case vasiright {
              status obsolete;
              leaf vasiright {
                type uint16;
                status obsolete;
                description "vasiright";
              }
            }  // case vasiright
    
            case BD-VIF {
              status obsolete;
              leaf BD-VIF {
                type string;
                status obsolete;
                description
                  "Bridge-Domain Virtual IP interface";
              }
            }  // case BD-VIF
          }  // choice interface-choice
        }  // grouping interface-obsolete-grouping
      }  // module Cisco-IOS-XE-interface-common
    

© 2023 YumaWorks, Inc. All rights reserved.