Cisco-IOS-XR-Ethernet-SPAN-oper-sub2

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

  • Version: 2020-12-03

    Cisco-IOS-XR-Ethernet-SPAN-oper-sub2@2020-12-03


    
      submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub2 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-Ethernet-SPAN-oper {
            prefix
              Cisco-IOS-XR-Ethernet-SPAN-oper;
        }
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 {
          revision-date "2020-12-03";
        }
    
        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 Ethernet-SPAN package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-12-03" {
          description
            "Added support for multiple attachments per class on an interface
           2020-09-14
             Added support for mirror rx and tx traffic to separate destinations
           2020-04-03
             Added support for bundle destinations.";
        }
    
        revision "2020-01-30" {
          description
            "Added support for L3 IPv4 and IPv6 ACLs on a L2 ethernet SPAN session
           2019-12-12
           Added support for file format and PCAP filter expressions under file
           2019-10-02
           Added support for UDP destinations and CloudSPAN.";
        }
    
        revision "2019-05-12" {
          description
            "Added support for file destinations.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        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";
        semver:module-version "1.0.0";
    
        grouping SPAN-MA-ATT-BAG-DEST-INFO {
          description
            "Attachment Destination Info";
          container destination-id {
            description "Destination ID";
            uses DESTINATION-ID;
          }  // container destination-id
    
          leaf dest-pw-type-not-supported {
            type boolean;
            description
              "The destination PW type is not supported";
          }
        }  // grouping SPAN-MA-ATT-BAG-DEST-INFO
    
        grouping SPAN-MA-ATTACHMENT-BAG {
          description
            "SPAN MA Attachment Information";
          container traffic-parameters {
            description
              "Traffic mirroring parameters";
            uses TRAFFIC-MIRRORING-PARAMETERS;
          }  // container traffic-parameters
    
          container destination-id {
            description "Destination ID";
            uses DESTINATION-ID;
          }  // container destination-id
    
          container rx-destination-info {
            description "Rx Destination Info";
            uses SPAN-MA-ATT-BAG-DEST-INFO;
          }  // container rx-destination-info
    
          container tx-destination-info {
            description "Tx Destination Info";
            uses SPAN-MA-ATT-BAG-DEST-INFO;
          }  // container tx-destination-info
    
          leaf name {
            type string;
            description "Session Name";
          }
    
          leaf local-class {
            type Session-class;
            description "Local attachment class";
          }
    
          leaf id {
            type uint32;
            description
              "Numerical ID assigned to session";
          }
    
          leaf separate-destinations {
            type boolean;
            description "Separate Destinations";
          }
    
          leaf global-class {
            type Session-class;
            description "Global session class";
          }
    
          leaf session-is-configured {
            type boolean;
            description
              "The Session is configured globally";
          }
    
          leaf source-interface {
            type xr:Interface-name;
            description "Source interface";
          }
    
          leaf source-interface-state {
            type Im-state-enum;
            description "Source interface state";
          }
    
          leaf pfi-error {
            type uint32;
            description
              "Last error returned from PFI for this interface";
          }
    
          leaf dest-pw-type-not-supported {
            type boolean;
            description
              "The destination PW type is not supported";
          }
    
          leaf source-interface-is-a-destination {
            type boolean;
            description
              "This source interface is a destination for
             another monitor-session";
          }
    
          leaf destination-interface {
            type xr:Interface-name;
            description
              "Destination interface (deprecated by
             DestinationID, invalid for pseudowires)";
          }
    
          leaf traffic-direction {
            type Traffic-direction;
            description
              "Traffic mirroring direction (deprecated by
             TrafficParameters)";
          }
        }  // grouping SPAN-MA-ATTACHMENT-BAG
    
        grouping SPAN-MA-STATISTICS-BAG {
          description
            "SPAN MA Statistics Information";
          leaf rx-packets-mirrored {
            type uint64;
            description "RX Packets Mirrored";
          }
    
          leaf rx-octets-mirrored {
            type uint64;
            description "RX Octets Mirrored";
          }
    
          leaf tx-packets-mirrored {
            type uint64;
            description "TX Packets Mirrored";
          }
    
          leaf tx-octets-mirrored {
            type uint64;
            description "TX Octets Mirrored";
          }
    
          leaf packets-not-mirrored {
            type uint64;
            description "Packets Not Mirrored";
          }
    
          leaf octets-not-mirrored {
            type uint64;
            description "Octets Not Mirrored";
          }
        }  // grouping SPAN-MA-STATISTICS-BAG
      }  // submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.