Cisco-IOS-XR-skywarp-netflow-oper

This module contains a collection of YANG definitions for Cisco IOS-XR skywarp-netflow package operational data. This module co...

  • Version: 2020-02-19

    Cisco-IOS-XR-skywarp-netflow-oper@2020-02-19


    
      module Cisco-IOS-XR-skywarp-netflow-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-skywarp-netflow-oper";
    
        prefix skywarp-netflow-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-skywarp-netflow-oper-sub2 {
          revision-date "2020-02-19";
        }
        include Cisco-IOS-XR-skywarp-netflow-oper-sub1 {
          revision-date "2020-02-19";
        }
    
        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 module contains a collection of YANG definitions
    for Cisco IOS-XR skywarp-netflow package operational data.
    
    This module contains definitions
    for the following management objects:
      net-flow: NetFlow operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-02-19" {
          description
            "sFlow Development for spitfire";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        container net-flow {
          config false;
          description "NetFlow operational data";
          container statistics {
            description
              "Node-specific NetFlow statistics information";
            list statistic {
              key "node";
              description
                "NetFlow statistics information for a particular
    node";
              container producer {
                description
                  "NetFlow producer statistics";
                container statistics {
                  description
                    "Statistics information";
                  leaf ethernet-pkts {
                    type uint64;
                    description
                      "Ethernet Packets";
                  }
    
                  leaf drops-no-space {
                    type uint64;
                    description
                      "Drops (no space)";
                  }
    
                  leaf drops-others {
                    type uint64;
                    description "Drops (others)";
                  }
    
                  leaf unknown-ingress-flows {
                    type uint64;
                    description
                      "Unknown ingress flows";
                  }
    
                  leaf waiting-servers {
                    type uint64;
                    description
                      "Number of waiting servers";
                  }
    
                  leaf spp-rx-counts {
                    type uint64;
                    description
                      "Number of Rxed SPP Packets";
                  }
    
                  leaf flow-packet-counts {
                    type uint64;
                    description
                      "Number of Rxed Flow Packets";
                  }
    
                  leaf last-cleared {
                    type string;
                    description
                      "Last time Statistics cleared in 'Mon Jan 1 12:00
    :00 2xxx' format";
                  }
                }  // container statistics
              }  // container producer
    
              container server {
                description
                  "NetFlow server statistics";
                container flow-exporters {
                  description
                    "Flow exporter information";
                  list flow-exporter {
                    key "exporter-name";
                    description
                      "Exporter information";
                    container exporter {
                      description
                        "Statistics information for the exporter";
                      list statistic {
                        description
                          "Array of flow exporters";
                        leaf name {
                          type string;
                          description
                            "Exporter name";
                        }
    
                        leaf protocol {
                          type string;
                          description
                            "Export Protocol Name";
                        }
    
                        leaf memory-usage {
                          type uint32;
                          description
                            "Memory usage";
                        }
    
                        leaf-list used-by-flow-monitor {
                          type Flow-monitor-name;
                          description
                            "List of flow monitors that use the exporter";
                        }
    
                        list collector {
                          description
                            "Statistics of all collectors";
                          leaf exporter-state {
                            type string;
                            description
                              "Exporter state";
                          }
    
                          leaf destination-address {
                            type string;
                            description
                              "Destination IPv4 address in AAA.BBB.CCC.DDD
    format";
                          }
    
                          leaf source-address {
                            type string;
                            description
                              "Source IPv4 address in AAA.BBB.CCC.DDD format";
                          }
    
                          leaf vrf-name {
                            type string;
                            description
                              "VRF Name";
                          }
    
                          leaf destination-port {
                            type uint16;
                            description
                              "Destination port number";
                          }
    
                          leaf souce-port {
                            type uint16;
                            description
                              "Source port number";
                          }
    
                          leaf transport-protocol {
                            type string;
                            description
                              "Transport protocol";
                          }
    
                          leaf packets-sent {
                            type uint64;
                            description
                              "Packets sent";
                          }
    
                          leaf flows-sent {
                            type uint64;
                            description
                              "Flows sent";
                          }
    
                          leaf templates-sent {
                            type uint64;
                            description
                              "Templates sent";
                          }
    
                          leaf option-templates-sent {
                            type uint64;
                            description
                              "Option templates sent";
                          }
    
                          leaf option-data-sent {
                            type uint64;
                            description
                              "Option data sent";
                          }
    
                          leaf bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Bytes sent";
                          }
    
                          leaf flow-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Flow bytes sent";
                          }
    
                          leaf template-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Template bytes sent";
                          }
    
                          leaf option-template-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Option template bytes sent";
                          }
    
                          leaf option-data-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Option data bytes sent";
                          }
    
                          leaf packets-dropped {
                            type uint64;
                            description
                              "Packets dropped";
                          }
    
                          leaf flows-dropped {
                            type uint64;
                            description
                              "Flows dropped";
                          }
    
                          leaf templates-dropped {
                            type uint64;
                            description
                              "Templates dropped";
                          }
    
                          leaf option-templates-dropped {
                            type uint64;
                            description
                              "Option templates dropped";
                          }
    
                          leaf option-data-dropped {
                            type uint64;
                            description
                              "Option data dropped";
                          }
    
                          leaf bytes-dropped {
                            type uint64;
                            units "byte";
                            description
                              "Bytes dropped";
                          }
    
                          leaf flow-bytes-dropped {
                            type uint64;
                            units "byte";
                            description
                              "Flow bytes dropped";
                          }
    
                          leaf template-bytes-dropped {
                            type uint64;
                            units "byte";
                            description
                              "Template bytes dropped";
                          }
    
                          leaf option-template-bytes-dropped {
                            type uint64;
                            units "byte";
                            description
                              "Option template bytes dropped";
                          }
    
                          leaf option-data-bytes-dropped {
                            type uint64;
                            description
                              "Option data dropped";
                          }
    
                          leaf last-hour-packest-sent {
                            type uint64;
                            description
                              "Total packets exported over the last one hour";
                          }
    
                          leaf last-hour-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Total bytes exported over the last one hour";
                          }
    
                          leaf last-hour-flows-sent {
                            type uint64;
                            description
                              "Total flows exported over the of last one hour";
                          }
    
                          leaf last-minute-packets {
                            type uint64;
                            description
                              "Total packets exported over the last one minute";
                          }
    
                          leaf last-minute-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Total bytes exported over the last one minute";
                          }
    
                          leaf last-minute-flows-sent {
                            type uint64;
                            description
                              "Total flows exported over the last one minute";
                          }
    
                          leaf last-second-packets-sent {
                            type uint64;
                            description
                              "Total packets exported over the last one second";
                          }
    
                          leaf last-second-bytes-sent {
                            type uint64;
                            units "byte";
                            description
                              "Total bytes exported over the last one second";
                          }
    
                          leaf last-second-flows-sent {
                            type uint64;
                            description
                              "Total flows exported over the last one second";
                          }
                        }  // list collector
                      }  // list statistic
                    }  // container exporter
    
                    leaf exporter-name {
                      type xr:Cisco-ios-xr-string;
                      description
                        "Exporter name";
                    }
                  }  // list flow-exporter
                }  // container flow-exporters
              }  // container server
    
              leaf node {
                type xr:Node-id;
                description "Node location";
              }
            }  // list statistic
          }  // container statistics
        }  // container net-flow
      }  // module Cisco-IOS-XR-skywarp-netflow-oper
    

© 2023 YumaWorks, Inc. All rights reserved.