Cisco-IOS-XR-l2vpn-oper-sub4

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

  • Version: 2020-05-05

    Cisco-IOS-XR-l2vpn-oper-sub4@2020-05-05


    
      submodule Cisco-IOS-XR-l2vpn-oper-sub4 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-l2vpn-oper {
            prefix Cisco-IOS-XR-l2vpn-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-l2vpn-oper-sub2 {
          revision-date "2020-05-05";
        }
    
        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 l2vpn package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-05-05" {
          description
            "changes related to treat SRv6 and SID as well-known when parsing XML for yang";
        }
    
        revision "2020-04-28" {
          description
            "- AC Backup related changes
           2020-01-22
           - PWGROUP related changes
           2019-12-20
           - EVPN-VPWS related changes - SR-TE policy related changes";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-03-30" {
          description
            "- Rename l2fib-mac-learning-mac* interface-handle to interface-name - Rename l2fib-pw-group tunnel-if-handle to tunnel-interface-name - Convert several array from leaf-list to list syntax. - Implement range datatypes for all L2FIB integers.";
        }
    
        revision "2018-08-01" {
          description "Removed empty groupings.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-06-26" {
          description
            "Change identifiers to be more readable.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "4.0.0";
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
    
        typedef L2fib-g8032-aps-port-status {
          type enumeration {
            enum "l2fib-aps-port-state-unknown" {
              value 0;
              description
                "APS port state unknown";
            }
            enum "l2fib-aps-port-state-unbound" {
              value 1;
              description
                "APS port state unbound";
            }
            enum "l2fib-aps-port-state-bound" {
              value 2;
              description "APS port state bound";
            }
          }
          description "APS port status";
        }
    
        typedef L2fib-g8032-rpl {
          type enumeration {
            enum "rpl-unknown" {
              value 0;
              description "No RPL info";
            }
            enum "port0-owner" {
              value 1;
              description "Port 0 owner";
            }
            enum "port0-neighbor" {
              value 2;
              description "Port 0 neighbor";
            }
            enum "port0-next-neighbor" {
              value 3;
              description "Port 0 next neighbor";
            }
            enum "port1-owner" {
              value 4;
              description "Port 1 owner";
            }
            enum "port1-neighbor" {
              value 5;
              description "Port 1 neighbor";
            }
            enum "port1-next-neighbor" {
              value 6;
              description "Port 1 next neighbor";
            }
          }
          description "RPL types in g8032 ring";
        }
    
        typedef L2fib-l2tp-session {
          type enumeration {
            enum "l2tpv3" {
              value 0;
              description "L2TPv3 session";
            }
            enum "l2tpv2" {
              value 1;
              description "L2TPv2 session";
            }
          }
          description
            "L2TPv2 and L2TPv3 session type";
        }
    
        typedef L2fib-evpn-sc-mcast-mode {
          type enumeration {
            enum "disabled" {
              value 0;
              description
                "multicast service carving is disabled";
            }
            enum "hrw-s-g" {
              value 1;
              description "Multicast HRW S,G";
            }
            enum "hrw-g" {
              value 2;
              description "Multicast HRW *,G";
            }
          }
          description
            "L2FIB EVPN Ethernet-Segment service multicast
           carving mode";
        }
    
        typedef L2fib-main-if-instance-state {
          type enumeration {
            enum "forwarding" {
              value 0;
              description "Forwarding state";
            }
            enum "blocked" {
              value 1;
              description "Blocked state";
            }
            enum "mac-learning" {
              value 2;
              description "Mac learning state";
            }
            enum "nack" {
              value 3;
              description "Nack state";
            }
            enum "forwarning-not-useful" {
              value 4;
              description
                "Forwarding not useful state";
            }
            enum "blocked-not-useful" {
              value 5;
              description
                "Blocked not useful state";
            }
            enum "mac-learning-not-useful" {
              value 6;
              description
                "Mac Learning not useful state";
            }
            enum "blocked-data-only" {
              value 7;
              description
                "Blocked data only state";
            }
            enum "multicast-pe2ce-blocked" {
              value 8;
              description
                "Multicast PE to CE blocked state";
            }
            enum "multicast-blocked" {
              value 9;
              description
                "Multicast blocked state";
            }
            enum "port-state-unknown" {
              value 10;
              description "Port state unknown";
            }
          }
          description
            "State of a main port instance";
        }
    
        typedef L2vpn-evpn-moi {
          type enumeration {
            enum "l2vpn-evpn-moi-ipv4-nh-lbl" {
              value 0;
              description
                "l2vpn evpn moi ipv4 nh lbl";
            }
            enum "l2vpn-evpn-moi-srte-ifh" {
              value 1;
              description
                "l2vpn evpn moi srte ifh";
            }
            enum "l2vpn-evpn-moi-srte-bsid" {
              value 2;
              description
                "l2vpn evpn moi srte bsid";
            }
            enum "l2vpn-evpn-moi-srte-bsid-v6" {
              value 3;
              description
                "l2vpn evpn moi srte bsid v6";
            }
          }
          description "EVPN MCAST OLE MOI type";
        }
    
        typedef Mgmt-l2fib-bridge-mac-evpn-ctx {
          type enumeration {
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-none" {
              value 0;
              description
                "mgmt l2fib bridge mac evpn ctx none";
            }
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-esi-id" {
              value 1;
              description
                "mgmt l2fib bridge mac evpn ctx esi id";
            }
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-local-label" {
              value 2;
              description
                "mgmt l2fib bridge mac evpn ctx local label";
            }
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-moi" {
              value 3;
              description
                "mgmt l2fib bridge mac evpn ctx moi";
            }
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-bp-ifh" {
              value 4;
              description
                "mgmt l2fib bridge mac evpn ctx bp ifh";
            }
            enum
              "mgmt-l2fib-bridge-mac-evpn-ctx-internal-id" {
              value 5;
              description
                "mgmt l2fib bridge mac evpn ctx internal id";
            }
          }
          description
            "Mgmt l2fib bridge mac evpn ctx";
        }
    
        typedef L2fib-ip-addr {
          type enumeration {
            enum "ip-none" {
              value 0;
              description "ip none";
            }
            enum "v4" {
              value 4;
              description "v4";
            }
            enum "v6" {
              value 6;
              description "v6";
            }
          }
          description "L2fib ip addr";
        }
    
        typedef Mgmt-l2fib-stats-data {
          type enumeration {
            enum "mgmt-l2fib-stats-type-unknown" {
              value 0;
              description
                "mgmt l2fib stats type unknown";
            }
            enum "mgmt-l2fib-stats-type-mcast" {
              value 1;
              description
                "mgmt l2fib stats type mcast";
            }
          }
          description "Mgmt l2fib stats data";
        }
    
        typedef L2fib-prefix-proto-info {
          type enumeration {
            enum "l2fib-ipv4-proto" {
              value 0;
              description "l2fib ipv4 proto";
            }
            enum "l2fib-ipv6-proto" {
              value 1;
              description "l2fib ipv6 proto";
            }
            enum "l2fib-mac-proto" {
              value 2;
              description "l2fib mac proto";
            }
          }
          description "L2fib Prefix proto";
        }
    
        typedef L2vpn-ptree {
          type enumeration {
            enum "none" {
              value 0;
              description "No ptree type";
            }
            enum "rsvp-te" {
              value 1;
              description "RSVP_TE ptree type";
            }
            enum "mldp" {
              value 2;
              description "MLDP ptree type";
            }
          }
          description "ptree type";
        }
    
        typedef L2fib-feature {
          type enumeration {
            enum "l2fib-feature-dhcp-snooping" {
              value 0;
              description
                "l2fib feature dhcp snooping";
            }
            enum "l2fib-feature-igmp-snooping" {
              value 1;
              description
                "l2fib feature igmp snooping";
            }
            enum "l2fib-feature-mld-snooping" {
              value 2;
              description
                "l2fib feature mld snooping";
            }
            enum "l2fib-feature-max" {
              value 3;
              description "l2fib feature max";
            }
          }
          description "L2fib feature";
        }
    
        typedef L2fib-storm-control-rate-unit {
          type enumeration {
            enum "pps" {
              value 0;
              description "Packets Per Second";
            }
            enum "kb-ps" {
              value 1;
              description "Kilobits Per Second";
            }
          }
          description
            "Storm Control Rate Unit Type";
        }
    
        typedef Mgmt-l2fib-mac-aging {
          type enumeration {
            enum
              "mgmt-l2fib-mac-aging-type-in-activity" {
              value 0;
              description
                "mgmt l2fib mac aging type in activity";
            }
            enum
              "mgmt-l2fib-mac-aging-type-absolute" {
              value 1;
              description
                "mgmt l2fib mac aging type absolute";
            }
          }
          description "Mgmt l2fib mac aging";
        }
    
        typedef Mgmt-l2fib-mac-sec-action {
          type enumeration {
            enum "not-set" {
              value 0;
              description
                "MAC Secure Action Not Set";
            }
            enum "restrict" {
              value 1;
              description
                "MAC Secure Action Restrict";
            }
            enum "none" {
              value 2;
              description
                "MAC Secure Action None";
            }
            enum "shutdown" {
              value 3;
              description
                "MAC Secure Action Shutdown";
            }
          }
          description
            "Mgmt l2fib mac sec action";
        }
    
        typedef Mgmt-l2fib-mac-limit-notify {
          type enumeration {
            enum
              "mgmt-l2fib-mac-limit-notify-none" {
              value 0;
              description
                "mgmt l2fib mac limit notify none";
            }
            enum
              "mgmt-l2fib-mac-limit-notify-syslog" {
              value 1;
              description
                "mgmt l2fib mac limit notify syslog";
            }
            enum
              "mgmt-l2fib-mac-limit-notify-trap" {
              value 2;
              description
                "mgmt l2fib mac limit notify trap";
            }
            enum
              "mgmt-l2fib-mac-limit-notify-both" {
              value 3;
              description
                "mgmt l2fib mac limit notify both";
            }
          }
          description
            "Mgmt l2fib mac limit notify";
        }
    
        typedef Mgmt-l2fib-mac-limit-action {
          type enumeration {
            enum
              "mgmt-l2fib-mac-limit-action-type-none" {
              value 0;
              description
                "mgmt l2fib mac limit action type none";
            }
            enum
              "mgmt-l2fib-mac-limit-action-type-flood" {
              value 1;
              description
                "mgmt l2fib mac limit action type flood";
            }
            enum
              "mgmt-l2fib-mac-limit-action-type-no-flood" {
              value 2;
              description
                "mgmt l2fib mac limit action type no flood";
            }
            enum
              "mgmt-l2fib-mac-limit-action-type-shutdown" {
              value 3;
              description
                "mgmt l2fib mac limit action type shutdown";
            }
          }
          description
            "Mgmt l2fib mac limit action";
        }
    
        typedef L2fib-load-bal {
          type enumeration {
            enum "flow-undef" {
              value 0;
              description
                "Load Balance Flow Undefined";
            }
            enum "src-dst-mac" {
              value 1;
              description
                "Load Balance Flow src-dst-mac";
            }
            enum "src-dst-ip" {
              value 2;
              description
                "Load Balance Flow src-dst-ip";
            }
            enum "vc" {
              value 3;
              description
                "Load Balance VC based";
            }
          }
          description "L2fib load bal";
        }
    
        typedef L2fib-group-state {
          type enumeration {
            enum "up" {
              value 0;
              description "Group State Up";
            }
            enum "down" {
              value 1;
              description "Group State Down";
            }
          }
          description "group state";
        }
    
        typedef L2fib-pw-redundancy-role {
          type enumeration {
            enum "primary" {
              value 0;
              description "Primary pseudowire";
            }
            enum "backup" {
              value 1;
              description "Backup pseudowire";
            }
          }
          description
            "Pseudowire redundancy role";
        }
    
        typedef L2fib-pw-id {
          type enumeration {
            enum "default" {
              value 0;
              description
                "Default value - not set";
            }
            enum "manual" {
              value 1;
              description "Manual pseudowire ID";
            }
            enum "vpls" {
              value 2;
              description "VPLS pseudowire ID";
            }
            enum "vpws" {
              value 3;
              description "VPWS pseudowire ID";
            }
            enum "vpls-ldp" {
              value 4;
              description
                "VPLS with LDP signaling pseudowire ID";
            }
            enum "l2fib-pw-id-type-pwr" {
              value 5;
              description "PW-routing ID";
            }
            enum "l2fib-pw-id-type-evpn" {
              value 6;
              description "EVPN pseudowire ID";
            }
          }
          description "Pseudowire ID type";
        }
    
        typedef Mgmt-l2fib-bridge {
          type enumeration {
            enum
              "mgmt-l2fib-bridge-type-default" {
              value 0;
              description
                "mgmt l2fib bridge type default";
            }
            enum
              "mgmt-l2fib-bridge-type-pbb-edge" {
              value 1;
              description
                "mgmt l2fib bridge type pbb edge";
            }
            enum
              "mgmt-l2fib-bridge-type-pbb-core" {
              value 2;
              description
                "mgmt l2fib bridge type pbb core";
            }
            enum
              "mgmt-l2fib-bridge-type-l3-sync" {
              value 3;
              description
                "mgmt l2fib bridge type l3 sync";
            }
          }
          description "Mgmt l2fib bridge";
        }
    
        typedef L2fib-nhop {
          type enumeration {
            enum "nexthop-unknown" {
              value 0;
              description "No Nexthop type";
            }
            enum "nexthop-ipv4" {
              value 1;
              description "IPv4 Nexthop type";
            }
            enum "nexthop-lsm-id" {
              value 2;
              description "LSM ID Nexthop type";
            }
            enum "nexthop-te-tunnel" {
              value 3;
              description
                "TE Tunnel Nexthop type";
            }
            enum "nexthop-mpls-internal-label" {
              value 4;
              description
                "MPLS Internal-Label Nexthop type";
            }
            enum "nexthop-vx-lan-internal-label" {
              value 5;
              description
                "Vxlan Internal-Label Nexthop type";
            }
            enum "nexthop-ipv6" {
              value 6;
              description "IPv6 Nexthop type";
            }
            enum "nexthop-sr-te-bsid" {
              value 7;
              description
                "SR-TE BindingSID Nexthop type";
            }
            enum "nexthop-iid" {
              value 8;
              description
                "Internal-ID Nexthop type";
            }
            enum
              "nexthop-per-ipv4-interface-list" {
              value 9;
              description
                "IP IFList Nexthop type";
            }
            enum
              "nexthop-per-te-tunnel-interface-list" {
              value 10;
              description
                "IFHandle IFList Nexthop type";
            }
          }
          description "Nexthop Type";
        }
    
        typedef Mgmt-l2fib-data {
          type enumeration {
            enum "mgmt-l2fib-data-type-min" {
              value 0;
              description
                "mgmt l2fib data type min";
            }
            enum "mgmt-l2fib-data-type-xcon" {
              value 1;
              description
                "mgmt l2fib data type xcon";
            }
            enum "mgmt-l2fib-data-type-ac" {
              value 2;
              description
                "mgmt l2fib data type ac";
            }
            enum "mgmt-l2fib-data-type-span" {
              value 3;
              description
                "mgmt l2fib data type span";
            }
            enum "mgmt-l2fib-data-type-atom" {
              value 4;
              description
                "mgmt l2fib data type atom";
            }
            enum "mgmt-l2fib-data-type-pbb" {
              value 5;
              description
                "mgmt l2fib data type pbb";
            }
            enum "mgmt-l2fib-data-type-vni" {
              value 6;
              description
                "mgmt l2fib data type vni";
            }
            enum "mgmt-l2fib-data-type-n-hop" {
              value 7;
              description
                "mgmt l2fib data type n hop";
            }
            enum "mgmt-l2fib-data-type-l2tp" {
              value 8;
              description
                "mgmt l2fib data type l2tp";
            }
            enum "mgmt-l2fib-data-type-l2tpv2" {
              value 9;
              description
                "mgmt l2fib data type l2tpv2";
            }
            enum "mgmt-l2fib-data-type-bridge" {
              value 10;
              description
                "mgmt l2fib data type bridge";
            }
            enum
              "mgmt-l2fib-data-type-bridge-shg" {
              value 11;
              description
                "mgmt l2fib data type bridge shg";
            }
            enum
              "mgmt-l2fib-data-type-bridge-port" {
              value 12;
              description
                "mgmt l2fib data type bridge port";
            }
            enum
              "mgmt-l2fib-data-type-bridge-mac" {
              value 13;
              description
                "mgmt l2fib data type bridge mac";
            }
            enum
              "mgmt-l2fib-data-type-mcast-table" {
              value 14;
              description
                "mgmt l2fib data type mcast table";
            }
            enum
              "mgmt-l2fib-data-type-mcast-leaf" {
              value 15;
              description
                "mgmt l2fib data type mcast leaf";
            }
            enum
              "mgmt-l2fib-data-type-mcast-xid" {
              value 16;
              description
                "mgmt l2fib data type mcast xid";
            }
            enum "mgmt-l2fib-data-type-dhcp" {
              value 17;
              description
                "mgmt l2fib data type dhcp";
            }
            enum
              "mgmt-l2fib-data-type-l2tp-ipv6-ts" {
              value 18;
              description
                "mgmt l2fib data type l2tp ipv6 ts";
            }
            enum "mgmt-l2fib-data-type-pwhe-mp" {
              value 19;
              description
                "mgmt l2fib data type pwhe mp";
            }
            enum "mgmt-l2fib-data-type-evpn" {
              value 20;
              description
                "mgmt l2fib data type evpn";
            }
            enum
              "mgmt-l2fib-data-type-mac-mgr-entry" {
              value 21;
              description
                "mgmt l2fib data type mac mgr entry";
            }
            enum "mgmt-l2fib-data-type-fxs" {
              value 22;
              description
                "mgmt l2fib data type fxs";
            }
            enum "mgmt-l2fib-data-type-max" {
              value 23;
              description
                "mgmt l2fib data type max";
            }
          }
          description "Mgmt l2fib data";
        }
    
        typedef Mgmt-l2fib-switching {
          type enumeration {
            enum
              "mgmt-l2fib-switching-type-unknown" {
              value 0;
              description
                "mgmt l2fib switching type unknown";
            }
            enum
              "mgmt-l2fib-switching-type-ac-ac" {
              value 1;
              description
                "mgmt l2fib switching type ac ac";
            }
            enum
              "mgmt-l2fib-switching-type-ac-atom" {
              value 2;
              description
                "mgmt l2fib switching type ac atom";
            }
            enum
              "mgmt-l2fib-switching-type-ac-vfi" {
              value 3;
              description
                "mgmt l2fib switching type ac vfi";
            }
            enum
              "mgmt-l2fib-switching-type-ac-l2tp" {
              value 4;
              description
                "mgmt l2fib switching type ac l2tp";
            }
            enum
              "mgmt-l2fib-switching-type-atom-atom" {
              value 5;
              description
                "mgmt l2fib switching type atom atom";
            }
            enum
              "mgmt-l2fib-switching-type-vfi-atom" {
              value 6;
              description
                "mgmt l2fib switching type vfi atom";
            }
            enum
              "mgmt-l2fib-switching-type-vfi-l2tp" {
              value 7;
              description
                "mgmt l2fib switching type vfi l2tp";
            }
            enum
              "mgmt-l2fib-switching-type-l2tp-atom" {
              value 8;
              description
                "mgmt l2fib switching type l2tp atom";
            }
            enum
              "mgmt-l2fib-switching-type-l2tp-l2tp" {
              value 9;
              description
                "mgmt l2fib switching type l2tp l2tp";
            }
            enum "mgmt-l2fib-switching-type-max" {
              value 10;
              description
                "mgmt l2fib switching type max";
            }
          }
          description "Mgmt l2fib switching";
        }
      }  // submodule Cisco-IOS-XR-l2vpn-oper-sub4
    

© 2023 YumaWorks, Inc. All rights reserved.