Cisco-IOS-XR-dnx-netflow-oper

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

  • Version: 2020-07-18

    Cisco-IOS-XR-dnx-netflow-oper@2020-07-18


    
      module Cisco-IOS-XR-dnx-netflow-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-dnx-netflow-oper";
    
        prefix dnx-netflow-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-dnx-netflow-oper-sub2 {
          revision-date "2020-07-18";
        }
        include Cisco-IOS-XR-dnx-netflow-oper-sub1 {
          revision-date "2020-07-18";
        }
    
        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 dnx-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-07-18" {
          description "Added sflow placeholders";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.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 ipv4-ingress-flows {
                    type uint64;
                    description
                      "IPv4 ingress flows";
                  }
    
                  leaf ipv4-egress-flows {
                    type uint64;
                    description
                      "IPv4 egress flows";
                  }
    
                  leaf ipv6-ingress-flows {
                    type uint64;
                    description
                      "IPv6 ingress flows";
                  }
    
                  leaf ipv6-egress-flows {
                    type uint64;
                    description
                      "IPv6 egress flows";
                  }
    
                  leaf mpls-ingress-flows {
                    type uint64;
                    description
                      "MPLS ingress flows";
                  }
    
                  leaf mpls-egress-flows {
                    type uint64;
                    description
                      "MPLS egress flows";
                  }
    
                  leaf ipfix315-ingress-flows {
                    type uint64;
                    description
                      "IPFIX315 ingress flows";
                  }
    
                  leaf ipfix315-egress-flows {
                    type uint64;
                    description
                      "IPFIX315 egress flows";
                  }
    
                  leaf ingress-sflow {
                    type uint64;
                    description "Ingress sflow";
                  }
    
                  leaf egress-sflow {
                    type uint64;
                    description "Egress sflow";
                  }
    
                  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 unknown-egress-flows {
                    type uint64;
                    description
                      "Unknown egress flows";
                  }
    
                  leaf waiting-servers {
                    type uint64;
                    description
                      "Number of waiting servers";
                  }
    
                  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-dnx-netflow-oper
    

© 2023 YumaWorks, Inc. All rights reserved.