Cisco-IOS-XR-l2vpn-oper-sub1

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-sub1@2020-05-05


    
      submodule Cisco-IOS-XR-l2vpn-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-l2vpn-oper {
            prefix Cisco-IOS-XR-l2vpn-oper;
        }
    
        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 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 Iflist-rep-status {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid";
            }
            enum "pending" {
              value 1;
              description "Pending";
            }
            enum "done" {
              value 2;
              description "Done";
            }
            enum "not-supported" {
              value 3;
              description "Not supported";
            }
            enum "failed" {
              value 4;
              description "Failed";
            }
          }
          description
            "Interface list replication status";
        }
    
        grouping IFLIST-IFL {
          description
            "Generic interface list info";
          leaf interface-list-name {
            type string {
              length "0..33";
            }
            description "Interface-list name";
          }
    
          leaf interface-list-id {
            type uint32;
            description "Interface internal ID";
          }
    
          leaf items {
            type uint32;
            description
              "Number of items on which interface list is
             replicated";
          }
    
          leaf is-provisioned {
            type boolean;
            description "Is Provisioned";
          }
    
          leaf is-fib-downloaded {
            type boolean;
            description
              "Is Interface list downloaded to FIB";
          }
    
          list interface {
            description "Interfaces";
            uses IFLIST-IF;
          }  // list interface
        }  // grouping IFLIST-IFL
    
        grouping IFLIST-IF {
          description
            "Interface info for Generic interface list";
          leaf interface-name {
            type string;
            description "Interface name";
          }
    
          leaf pending-replications {
            type uint32;
            description
              "Number of pending replications";
          }
    
          leaf not-supported-replications {
            type uint32;
            description
              "Number of replications failed because
             unsupported";
          }
    
          leaf is-fib-downloaded {
            type boolean;
            description
              "Is interface downloaded to FIB";
          }
        }  // grouping IFLIST-IF
    
        grouping ITEM-IFLIST-IF {
          description
            "Interface info for Generic interface list";
          leaf interface-name {
            type string;
            description "Interface name";
          }
    
          leaf replicate-status {
            type Iflist-rep-status;
            description "Replicate status";
          }
        }  // grouping ITEM-IFLIST-IF
    
        grouping ITEM-IFLIST-IFL {
          description
            "Generic interface list info";
          leaf interface-list-name {
            type string {
              length "0..33";
            }
            description "Interface-list name";
          }
    
          leaf interface-list-id {
            type uint32;
            description "Interface internal ID";
          }
    
          list interface {
            max-elements 32;
            description "Interfaces";
            uses ITEM-IFLIST-IF;
          }  // list interface
        }  // grouping ITEM-IFLIST-IFL
      }  // submodule Cisco-IOS-XR-l2vpn-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.