Cisco-IOS-XR-evpn-oper-sub1

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

  • Version: 2020-05-05

    Cisco-IOS-XR-evpn-oper-sub1@2020-05-05


    
      submodule Cisco-IOS-XR-evpn-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-evpn-oper {
            prefix Cisco-IOS-XR-evpn-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;
        }
    
        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 evpn 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
           2020-04-02
             EVPN DF Election Synchronization with NTP related changes";
        }
    
        revision "2019-12-20" {
          description
            "EVPN SRv6 related changes";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-09-26" {
          description
            "Duplicate detection parameters config moved from l2vpn to l2rib.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        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 L2vpn-evpn-es-access-signal-mode {
          type enumeration {
            enum "unsupported" {
              value 0;
              description
                "Unsupported interface type";
            }
            enum "oos" {
              value 1;
              description "Out of Sync";
            }
            enum "down" {
              value 2;
              description "Down";
            }
          }
          description
            "L2vpn evpn es access signal mode";
        }
    
        typedef L2vpn-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
            "EVPN Ethernet-Segment service multicast carving
           mode";
        }
    
        typedef L2vpn-evpn-sc-synchronization-mode {
          type enumeration {
            enum "none" {
              value 0;
              description
                "No service carving synchronization";
            }
            enum "ntp" {
              value 1;
              description
                "NTP SCT based service carving synchronization";
            }
            enum "handshake" {
              value 2;
              description
                "Handshake messaging based service carving
               synchronization";
            }
            enum "invalid" {
              value 3;
              description
                "Invalid or unknown service carving
               synchronization mode";
            }
          }
          description
            "EVPN Ethernet-Segment service carving
           synchronization mode";
        }
    
        typedef L2vpn-evpn-sc-mode {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Invalid service carving mode";
            }
            enum "auto" {
              value 1;
              description
                "Auto service carving mode";
            }
            enum "manual" {
              value 2;
              description
                "Manual service carving";
            }
            enum "manual-list" {
              value 3;
              description
                "Manual List service carving";
            }
            enum "hrw" {
              value 4;
              description "HRW service carving";
            }
            enum "pref" {
              value 5;
              description
                "Preferential service carving";
            }
          }
          description
            "EVPN Ethernet-Segment service carving mode";
        }
    
        typedef L2vpn-evpn-smac-src {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Incomplete Configuration";
            }
            enum "not-applicable" {
              value 1;
              description
                "Source MAC Not Applicable (EVPN)";
            }
            enum "local" {
              value 2;
              description "Local";
            }
            enum "pbb-bsa" {
              value 3;
              description "PBB BSA";
            }
            enum "esi" {
              value 4;
              description "From ESI";
            }
            enum "esi-invalid" {
              value 5;
              description "From ESI, Error";
            }
            enum "pbb-bsa-overrride" {
              value 6;
              description "PBB BSA, no ESI";
            }
          }
          description "L2vpn evpn smac src";
        }
    
        typedef L2vpn-evpn-lb-mode {
          type enumeration {
            enum "invalid-load-balancing" {
              value 0;
              description
                "Invalid load balancing";
            }
            enum "single-homed" {
              value 1;
              description
                "Single-homed site or network";
            }
            enum "multi-homed-aa-per-flow" {
              value 2;
              description
                "Multi-homed access network active/active per
               flow";
            }
            enum "multi-homed-aa-per-service" {
              value 3;
              description
                "Multi-homed access network active/active per
               service";
            }
            enum
              "multi-homed-single-flow-active" {
              value 4;
              description
                "Multi-homed access network single-flow-active";
            }
            enum "multi-homed-port-active" {
              value 5;
              description
                "Multi-homed access network port-active";
            }
          }
          description
            "L2VPN EVPN load balancing mode";
        }
    
        typedef L2vpn-evpn-mf-mode {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Invalid MAC Flushing mode";
            }
            enum "tcn-stp" {
              value 1;
              description
                "TCN STP MAC Flushing mode";
            }
            enum "mvrp" {
              value 2;
              description
                "MVRP MAC Flushing mode";
            }
          }
          description
            "L2VPN EVPN MAC flushing mode";
        }
    
        typedef L2vpn-evpn-rt-origin {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Incomplete Configuration";
            }
            enum "extracted" {
              value 1;
              description "From ESI";
            }
            enum "configured" {
              value 2;
              description "Locally configured";
            }
          }
          description "L2vpn evpn rt origin";
        }
    
        typedef L2vpn-rg-role {
          type enumeration {
            enum "l2vpn-rg-role-not-defined" {
              value 0;
              description
                "l2vpn rg role not defined";
            }
            enum "l2vpn-rg-role-active" {
              value 1;
              description "l2vpn rg role active";
            }
            enum "l2vpn-rg-role-standby" {
              value 2;
              description
                "l2vpn rg role standby";
            }
            enum "l2vpn-rg-role-max" {
              value 3;
              description "l2vpn rg role max";
            }
          }
          description "L2vpn rg role";
        }
    
        typedef L2vpn-evpn-es-state {
          type enumeration {
            enum "not-ready" {
              value 0;
              description "Not Ready";
            }
            enum "peering" {
              value 1;
              description "Peering";
            }
            enum "up" {
              value 2;
              description "Up";
            }
            enum "down" {
              value 3;
              description "Down";
            }
            enum "standby" {
              value 4;
              description "Standby";
            }
          }
          description "L2vpn evpn es state";
        }
    
        typedef L2vpn-evpn-esi {
          type enumeration {
            enum "esi-type0" {
              value 0;
              description "ESI type zero";
            }
            enum "esi-type1" {
              value 1;
              description "ESI type one";
            }
            enum "esi-type2" {
              value 2;
              description "ESI type two";
            }
            enum "esi-type3" {
              value 3;
              description "ESI type three";
            }
            enum "esi-type4" {
              value 4;
              description "ESI type four";
            }
            enum "esi-type5" {
              value 5;
              description "ESI type five";
            }
            enum "l2vpn-evpn-esi-type-legacy" {
              value 128;
              description "ESI type legacy";
            }
            enum "l2vpn-evpn-esi-type-override" {
              value 129;
              description
                "ESI type override (10-octet value)";
            }
            enum "esi-type-invalid" {
              value 255;
              description "ESI type invalid";
            }
          }
          description "EVPN ESI types";
        }
    
        typedef Evpn-bag-label-unresolved-reason {
          type enumeration {
            enum "none" {
              value 0;
              description "No reasons";
            }
            enum "no-evi-paths" {
              value 1;
              description
                "No valid per-EVI EAD paths";
            }
            enum "no-es-ead" {
              value 2;
              description "No per-ES EAD";
            }
            enum "local-not-ready" {
              value 3;
              description
                "Local service not ready, or multiple matching
               remote EADs";
            }
          }
          description
            "EVPN label entry unresolved reasons";
        }
    
        typedef L2vpn-ad-rt-role {
          type enumeration {
            enum "both" {
              value 0;
              description "Both";
            }
            enum "import" {
              value 1;
              description "Import";
            }
            enum "export" {
              value 2;
              description "Export";
            }
          }
          description "L2vpn ad rt role";
        }
    
        typedef Evpn-bag-path-issues {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown Issue";
            }
            enum "invalid-transport-id" {
              value 1;
              description "Invalid Transport ID";
            }
            enum "sid-format-mismatch" {
              value 2;
              description
                "SIDs Do Not Match Local Format";
            }
            enum "control-word-mismatch" {
              value 3;
              description
                "Control Word Mismatch";
            }
            enum "mtu-mismatch" {
              value 4;
              description "MTU Mismatch";
            }
          }
          description "Evpn bag path issues";
        }
    
        typedef Evpn-bag-l2-attr-cw {
          type enumeration {
            enum "unspecified" {
              value 0;
              description
                "Control Word Not Specified";
            }
            enum "disabled" {
              value 1;
              description
                "Control Word Disabled";
            }
            enum "enabled" {
              value 2;
              description "Control Word Enabled";
            }
          }
          description "Evpn bag l2 attr cw";
        }
    
        typedef Evpn-bag-df-role {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Designated Forwarder Role Not Specified";
            }
            enum "primary" {
              value 1;
              description
                "Designated Forwarder Role Primary";
            }
            enum "backup" {
              value 2;
              description
                "Designated Forwarder Role Backup";
            }
            enum "not-designated-forwarder" {
              value 3;
              description
                "No Designated Forwarder Role";
            }
          }
          description "Evpn bag df role";
        }
    
        typedef Evpn-pref-ecmp-nh-mode {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid";
            }
            enum "pref-nh-lowest-ip" {
              value 1;
              description
                "Preferred ECMP Nexthop Lowest IP";
            }
            enum "pref-nh-highest-ip" {
              value 2;
              description
                "Preferred ECMP Nexthop Highest IP";
            }
            enum "pref-nh-modulo" {
              value 3;
              description
                "Preferred ECMP Nexthop Modulo";
            }
            enum "ecmp-disable" {
              value 4;
              description "ECMP Disable";
            }
          }
          description "Evpn pref ecmp nh mode";
        }
    
        typedef L2vpn-ad-rt {
          type enumeration {
            enum "l2vpn-ad-rt-none" {
              value 0;
              description "Route target not set";
            }
            enum "l2vpn-ad-rt-as" {
              value 1;
              description
                "Route Target with 2 Byte AS number";
            }
            enum "l2vpn-ad-rt-4byte-as" {
              value 2;
              description
                "Route Target with 4 Byte AS number";
            }
            enum "l2vpn-ad-rt-v4-addr" {
              value 3;
              description
                "Route Target with IPv4 Address";
            }
            enum "es-import" {
              value 1538;
              description
                "Ethernet Segment Route Target from BGP";
            }
          }
          description "L2vpn ad rt";
        }
    
        typedef L2vpn-ad-rd {
          type enumeration {
            enum "l2vpn-ad-rd-none" {
              value 0;
              description
                "Route Distinguisher not set";
            }
            enum "l2vpn-ad-rd-auto" {
              value 1;
              description
                "Route Distinguisher auto-generated";
            }
            enum "l2vpn-ad-rd-as" {
              value 2;
              description
                "Route Distinguisher with 2 Byte AS number";
            }
            enum "l2vpn-ad-rd-4byte-as" {
              value 3;
              description
                "Route Distinguisher with 4 Byte AS number";
            }
            enum "l2vpn-ad-rd-v4-addr" {
              value 4;
              description
                "Route Distinguisher with IPv4 Address";
            }
          }
          description "L2vpn ad rd";
        }
    
        typedef L2vpn-evpn {
          type enumeration {
            enum "evpn-type-invalid" {
              value 0;
              description
                "Unspecify type for that EVI entry";
            }
            enum "evpn-type-evpn" {
              value 1;
              description "EVPN service type";
            }
            enum "evpn-type-pbb-evpn" {
              value 2;
              description
                "PBB EVPN service type";
            }
            enum
              "evpn-type-evpn-vpws-vlan-unaware" {
              value 3;
              description
                "EVPN VPWS vlan-unaware service type";
            }
            enum
              "evpn-type-evpn-vpws-vlan-aware" {
              value 4;
              description
                "EVPN VPWS vlan-aware service type";
            }
            enum "evpn-type-max" {
              value 5;
              description "Max EVPN type";
            }
          }
          description "L2vpn evpn";
        }
    
        typedef Evpn-child {
          type enumeration {
            enum "l2-fwd" {
              value 0;
              description "L2 FWD";
            }
            enum "l3-sub-if" {
              value 1;
              description "L3 SUBIF";
            }
          }
          description "Evpn child";
        }
    
        typedef Evpn-igmp-grp {
          type enumeration {
            enum "include" {
              value 0;
              description "Include";
            }
            enum "exclude" {
              value 1;
              description "Exclude";
            }
          }
          description "Evpn igmp grp";
        }
    
        typedef Evpn-igmp-version {
          type enumeration {
            enum "v1" {
              value 0;
              description "Version 1";
            }
            enum "v2" {
              value 1;
              description "Version 2";
            }
            enum "v3" {
              value 2;
              description "Version 3";
            }
          }
          description "Evpn igmp version";
        }
    
        typedef L2vpn-bag-in6-addr {
          type inet:ipv6-address;
          description "L2vpn bag in6 addr";
        }
    
        typedef Evpn-igmp-source {
          type enumeration {
            enum "local" {
              value 0;
              description "Local";
            }
            enum "remote" {
              value 1;
              description "Remote";
            }
          }
          description "Evpn igmp source";
        }
    
        typedef Evpn-igmp-msg {
          type enumeration {
            enum "join" {
              value 0;
              description "Join";
            }
            enum "leave" {
              value 1;
              description "Leave";
            }
          }
          description "Evpn igmp msg";
        }
    
        typedef Evpn-client1 {
          type enumeration {
            enum "igmpsn" {
              value 0;
              description "IGMPSN";
            }
            enum "igmp" {
              value 1;
              description "IGMP";
            }
            enum "mrib" {
              value 2;
              description "MRIB";
            }
            enum "mld" {
              value 3;
              description "MLD";
            }
            enum "invalid" {
              value 4;
              description "Invalid";
            }
          }
          description "Evpn client1";
        }
    
        typedef Im-state-enum {
          type enumeration {
            enum "im-state-not-ready" {
              value 0;
              description "im state not ready";
            }
            enum "im-state-admin-down" {
              value 1;
              description "im state admin down";
            }
            enum "im-state-down" {
              value 2;
              description "im state down";
            }
            enum "im-state-up" {
              value 3;
              description "im state up";
            }
            enum "im-state-shutdown" {
              value 4;
              description "im state shutdown";
            }
            enum "im-state-err-disable" {
              value 5;
              description "im state err disable";
            }
            enum "im-state-down-immediate" {
              value 6;
              description
                "im state down immediate";
            }
            enum "im-state-down-immediate-admin" {
              value 7;
              description
                "im state down immediate admin";
            }
            enum "im-state-down-graceful" {
              value 8;
              description
                "im state down graceful";
            }
            enum "im-state-begin-shutdown" {
              value 9;
              description
                "im state begin shutdown";
            }
            enum "im-state-end-shutdown" {
              value 10;
              description
                "im state end shutdown";
            }
            enum "im-state-begin-error-disable" {
              value 11;
              description
                "im state begin error disable";
            }
            enum "im-state-end-error-disable" {
              value 12;
              description
                "im state end error disable";
            }
            enum "im-state-begin-down-graceful" {
              value 13;
              description
                "im state begin down graceful";
            }
            enum "im-state-reset" {
              value 14;
              description "im state reset";
            }
            enum "im-state-operational" {
              value 15;
              description "im state operational";
            }
            enum "im-state-not-operational" {
              value 16;
              description
                "im state not operational";
            }
            enum "im-state-unknown" {
              value 17;
              description "im state unknown";
            }
            enum "im-state-last" {
              value 18;
              description "im state last";
            }
          }
          description "Im state enum";
        }
    
        typedef Evpn-grp {
          type enumeration {
            enum "deisolating" {
              value 0;
              description "Deisolating";
            }
            enum "isolated" {
              value 1;
              description "Isolated";
            }
            enum "ready" {
              value 2;
              description "Ready";
            }
            enum "incomplete" {
              value 3;
              description "Incomplete";
            }
          }
          description "EVPN Group State";
        }
      }  // submodule Cisco-IOS-XR-evpn-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.