Cisco-IOS-XR-Ethernet-SPAN-oper-sub1

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-sub1@2020-12-03


    
      submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-Ethernet-SPAN-oper {
            prefix
              Cisco-IOS-XR-Ethernet-SPAN-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 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";
    
        typedef Mac-address {
          type yang:mac-address;
          description "MAC address type";
        }
    
        typedef Mirror-interval {
          type enumeration {
            enum "mirror-interval-all" {
              value 0;
              description "Mirror all packets";
            }
            enum "mirror-interval512" {
              value 1;
              description "Mirror Interval 512";
            }
            enum "mirror-interval1k" {
              value 2;
              description "Mirror Interval 1K";
            }
            enum "mirror-interval2k" {
              value 3;
              description "Mirror Interval 2K";
            }
            enum "mirror-interval4k" {
              value 4;
              description "Mirror Interval 4K";
            }
            enum "mirror-interval8k" {
              value 5;
              description "Mirror Interval 8K";
            }
            enum "mirror-interval16k" {
              value 6;
              description "Mirror Interval 16K";
            }
          }
          description
            "Monitor-session mirror intervals";
        }
    
        typedef Traffic-direction {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid";
            }
            enum "rx-only" {
              value 1;
              description "Received";
            }
            enum "tx-only" {
              value 2;
              description "Transmitted";
            }
            enum "both" {
              value 3;
              description "Both";
            }
          }
          description
            "Monitor-session traffic directions";
        }
    
        typedef Optional-value {
          type uint32;
          description "Optional Value";
        }
    
        typedef Udp-address {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IPv4 Address";
            }
            enum "ipv6" {
              value 1;
              description "IPv6 Address";
            }
          }
          description "UDP Address Type";
        }
    
        typedef File-format {
          type enumeration {
            enum "invalid-format" {
              value 0;
              description "Invalid file format";
            }
            enum "pcap-format" {
              value 1;
              description "PCAP file format";
            }
            enum "pcapng-format" {
              value 2;
              description "PCAPNG file format";
            }
          }
          description "File Format";
        }
    
        typedef Buffer {
          type enumeration {
            enum "invalid-buffer" {
              value 0;
              description "Invalid buffer type";
            }
            enum "circular-buffer" {
              value 1;
              description "Circular buffer type";
            }
            enum "linear-buffer" {
              value 2;
              description "Linear buffer type";
            }
          }
          description "Buffer type";
        }
    
        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 Destination-name-string {
          type string;
          description "Destination name string";
        }
    
        typedef Destination-class {
          type enumeration {
            enum "interface-class" {
              value 0;
              description
                "Destination is an interface";
            }
            enum "pseudowire-class" {
              value 1;
              description
                "Destination is a pseudowire";
            }
            enum "next-hop-ipv4-class" {
              value 2;
              description
                "Destination is a next-hop IPv4 address";
            }
            enum "next-hop-ipv6-class" {
              value 3;
              description
                "Destination is a next-hop IPv6 address";
            }
            enum "file-class" {
              value 5;
              description
                "Destination is a file";
            }
            enum "udp-class" {
              value 6;
              description
                "Destination is over UDP";
            }
            enum "bundle-class" {
              value 7;
              description
                "Destination is a bundle";
            }
            enum "invalid-class" {
              value 255;
              description
                "Destination is not specified";
            }
          }
          description "Destination class";
        }
    
        typedef Session-class {
          type enumeration {
            enum "ethernet-class" {
              value 0;
              description
                "Ethernet mirroring session";
            }
            enum "ipv4-class" {
              value 1;
              description
                "IPv4 mirroring session";
            }
            enum "ipv6-class" {
              value 2;
              description
                "IPv6 mirroring session";
            }
            enum "mplsipv4-class" {
              value 3;
              description
                "MPLS-IPv4 mirroring session";
            }
            enum "mplsipv6-class" {
              value 4;
              description
                "MPLS-IPv6 mirroring session";
            }
            enum "invalid-class" {
              value 65535;
              description
                "Invalid session class";
            }
          }
          description "Session class";
        }
      }  // submodule Cisco-IOS-XR-Ethernet-SPAN-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.