Cisco-IOS-XE-wireless-nmsp-oper

This module contains a collection of YANG definitions for wireless nmsp operational data. Copyright (c) 2016-2019 by Cisco Syste...

  • Version: 2019-05-01

    Cisco-IOS-XE-wireless-nmsp-oper@2019-05-01


    
      module Cisco-IOS-XE-wireless-nmsp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-nmsp-oper";
    
        prefix wireless-nmsp-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
    
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
    
         Tel: +1 1800 553-NETS
    
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for wireless nmsp operational data.
         Copyright (c) 2016-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-05-01" {
          description "Added semantic version";
          reference
            "4.1.0";
    
        }
    
        revision "2018-09-19" {
          description
            "- Change type of boolean leafs in nmsp-services to empty
           - Remove rssi-ms-associated-only from nmsp-services";
          reference
            "4.0.0";
    
        }
    
        revision "2018-04-13" {
          description
            "Added support for CMX AP filtering";
          reference
            "3.0.0";
    
        }
    
        revision "2018-01-31" {
          description "CMX cloud support";
          reference
            "2.1.0";
    
        }
    
        revision "2018-01-24" {
          description
            "The first generally available version";
          reference
            "2.0.0";
    
        }
    
        revision "2017-05-05" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "4.1.0";
        cisco-semver:module-version "4.0.0";
        cisco-semver:module-version "3.0.0";
        cisco-semver:module-version "2.1.0";
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.0.0";
    
        typedef enm-nmsp-transport-type {
          type enumeration {
            enum "default-class-type2" {
              value 0;
              description
                "TLS transport protocol";
            }
            enum "manual-changed-class-type1" {
              value 1;
              description
                "HTTPS transport protocol";
            }
          }
          description
            "Enumeration of all the supported transport protocols";
        }
    
        typedef enm-nmsp-cloud-connectivity-type {
          type enumeration {
            enum "nmsp-connectivity-down" {
              value 0;
              description
                "It represents the connectivity status DOWN";
            }
            enum "nmsp-connectivity-https" {
              value 1;
              description
                "It represents the status UP for the HTTPS connection";
            }
          }
          description
            "Enumeration of all the combinations of connectivity and status";
        }
    
        container nmsp-oper-data {
          config false;
          description
            "Network Mobility Services Protocol";
          list client-registration {
            key "client-id";
            description
              "Table of controller applications providing certain NMSP services (also known as NMSP clients)";
            leaf client-id {
              type uint32;
              description
                "NMSP client identifier";
            }
    
            container services {
              description
                "NMSP capabilities provided by EWLC application (NMSP client)";
              leaf mask {
                type uint64;
                description
                  "NMSP subservice bitmask: combination of all the subservices";
              }
    
              leaf rssi-ms {
                type empty;
                description
                  "RSSI Mobile Station capability";
              }
    
              leaf rssi-rfid {
                type empty;
                description
                  "RSSI RFID Tag capability";
              }
    
              leaf rssi-rogue {
                type empty;
                description
                  "RSSI Rogue capability";
              }
    
              leaf rssi-interferer {
                type empty;
                description
                  "RSSI Interferer capability";
              }
    
              leaf rssi-hs {
                type empty;
                description
                  "RSSI Handover Client capability";
              }
    
              leaf rssi-ms-associated-only {
                type empty;
                description
                  "RSSI Associated Mobile Station only capability";
              }
    
              leaf spectrum-interferer {
                type empty;
                description
                  "Spectrum Interferer capability";
              }
    
              leaf spectrum-air-quality {
                type empty;
                description
                  "Spectrum Air Quality capability";
              }
    
              leaf spectrum-aggregate-interferer {
                type empty;
                description
                  "Spectrum Aggregate Interferer capability";
              }
    
              leaf info-ms {
                type empty;
                description
                  "Information Mobile Station capability";
              }
    
              leaf info-rfid {
                type empty;
                description
                  "Information RFID Tag capability";
              }
    
              leaf info-rogue {
                type empty;
                description
                  "Information Rogue capability";
              }
    
              leaf info-hs {
                type empty;
                description
                  "Information Handover Client capability";
              }
    
              leaf stats-ms {
                type empty;
                description
                  "Statistics Mobile Station capability";
              }
    
              leaf stats-rfid {
                type empty;
                description
                  "Statistics RFID Tag capability";
              }
    
              leaf stats-rogue {
                type empty;
                description
                  "Statistics Rogue capability";
              }
    
              leaf attach {
                type empty;
                description
                  "Mobile Station Attachment capability";
              }
    
              leaf location {
                type empty;
                description
                  "Location Service capability";
              }
    
              leaf fmchs {
                type empty;
                description
                  "Handover Service capability";
              }
    
              leaf ap-monitor {
                type empty;
                description
                  "AP Monitor Service capability";
              }
    
              leaf wips {
                type empty;
                description
                  "Wireless Intrusion Detection System capability";
              }
    
              leaf on-demand {
                type empty;
                description
                  "On-Demand Service capability";
              }
    
              leaf ap-info {
                type empty;
                description
                  "AP Info Service capability";
              }
            }  // container services
          }  // list client-registration
    
          list cmx-connection {
            key "peer-ip";
            description "CMX connection table";
            leaf peer-ip {
              type inet:ip-address;
              description
                "IP address of the CMX";
            }
    
            leaf connection-id {
              type uint64;
              description
                "Internal connection ID of the CMX";
            }
    
            leaf active {
              type boolean;
              description
                "Flag indicating whether CMX connection is active";
            }
    
            container con-stats {
              description
                "Statistics of messages sent/received";
              list tx-msg-counter {
                description
                  "Counters for all the messages transmitted from NMSPd to CMX";
                leaf counter {
                  type uint64;
                  description
                    "Amount of messages sent or received";
                }
    
                leaf msg-id {
                  type uint16;
                  description
                    "NMSP protocol message identifier";
                }
              }  // list tx-msg-counter
    
              list rx-msg-counter {
                description
                  "Counters for all the messages received by NMSPd from CMX";
                leaf counter {
                  type uint64;
                  description
                    "Amount of messages sent or received";
                }
    
                leaf msg-id {
                  type uint16;
                  description
                    "NMSP protocol message identifier";
                }
              }  // list rx-msg-counter
    
              leaf unsupported-msg-count {
                type uint64;
                description
                  "Number of unsupported messages received by NMSP daemon from CMX";
              }
    
              leaf tx-data-frames {
                type uint64;
                description
                  "Number of data frames transferred from NMSP daemon to CMX";
              }
    
              leaf rx-data-frames {
                type uint64;
                description
                  "Number of data frames received by NMSP daemon from CMX";
              }
    
              leaf connections {
                type uint64;
                description
                  "Amount of successful connections";
              }
    
              leaf disconnections {
                type uint64;
                description
                  "Amount of disconnections";
              }
            }  // container con-stats
    
            container subscriptions {
              description
                "Service subscriptions established by given CMX";
              leaf mask {
                type uint64;
                description
                  "NMSP subservice bitmask: combination of all the subservices";
              }
    
              leaf rssi-ms {
                type empty;
                description
                  "RSSI Mobile Station capability";
              }
    
              leaf rssi-rfid {
                type empty;
                description
                  "RSSI RFID Tag capability";
              }
    
              leaf rssi-rogue {
                type empty;
                description
                  "RSSI Rogue capability";
              }
    
              leaf rssi-interferer {
                type empty;
                description
                  "RSSI Interferer capability";
              }
    
              leaf rssi-hs {
                type empty;
                description
                  "RSSI Handover Client capability";
              }
    
              leaf rssi-ms-associated-only {
                type empty;
                description
                  "RSSI Associated Mobile Station only capability";
              }
    
              leaf spectrum-interferer {
                type empty;
                description
                  "Spectrum Interferer capability";
              }
    
              leaf spectrum-air-quality {
                type empty;
                description
                  "Spectrum Air Quality capability";
              }
    
              leaf spectrum-aggregate-interferer {
                type empty;
                description
                  "Spectrum Aggregate Interferer capability";
              }
    
              leaf info-ms {
                type empty;
                description
                  "Information Mobile Station capability";
              }
    
              leaf info-rfid {
                type empty;
                description
                  "Information RFID Tag capability";
              }
    
              leaf info-rogue {
                type empty;
                description
                  "Information Rogue capability";
              }
    
              leaf info-hs {
                type empty;
                description
                  "Information Handover Client capability";
              }
    
              leaf stats-ms {
                type empty;
                description
                  "Statistics Mobile Station capability";
              }
    
              leaf stats-rfid {
                type empty;
                description
                  "Statistics RFID Tag capability";
              }
    
              leaf stats-rogue {
                type empty;
                description
                  "Statistics Rogue capability";
              }
    
              leaf attach {
                type empty;
                description
                  "Mobile Station Attachment capability";
              }
    
              leaf location {
                type empty;
                description
                  "Location Service capability";
              }
    
              leaf fmchs {
                type empty;
                description
                  "Handover Service capability";
              }
    
              leaf ap-monitor {
                type empty;
                description
                  "AP Monitor Service capability";
              }
    
              leaf wips {
                type empty;
                description
                  "Wireless Intrusion Detection System capability";
              }
    
              leaf on-demand {
                type empty;
                description
                  "On-Demand Service capability";
              }
    
              leaf ap-info {
                type empty;
                description
                  "AP Info Service capability";
              }
            }  // container subscriptions
    
            leaf transport {
              type enm-nmsp-transport-type;
              description
                "The transport used for this CMX connection";
            }
          }  // list cmx-connection
    
          container cmx-cloud-info {
            presence "nmsp-cmx-cloud-info-tbl";
            description
              "Table of information describing NMSP services over HTTPS transport";
            container cloud-status {
              description
                "Status of the cloud connection";
              leaf ip-address {
                type inet:ip-address;
                description
                  "IP Address which CMX cloud server is resolved";
              }
    
              leaf connectivity {
                type enm-nmsp-cloud-connectivity-type;
                description
                  "Enum representing the status UP/DOWN of the  HTTP connection to the cloud services";
              }
    
              leaf service-up {
                type boolean;
                description
                  "True if NMSP connectivity towards CMX cloud is UP";
              }
    
              leaf last-request-status {
                type string;
                description
                  "String representing the last request status";
              }
    
              leaf heartbeat-status-ok {
                type boolean;
                description
                  "True if last heartbeat was succesful";
              }
            }  // container cloud-status
    
            container cloud-stats {
              description
                "Statistics of the cloud connection";
              leaf tx-dataframes {
                type uint32;
                description
                  "Number of data frames sent";
              }
    
              leaf rx-dataframes {
                type uint32;
                description
                  "Number of data frames received";
              }
    
              leaf tx-heartbeat-req {
                type uint32;
                description
                  "Number of HTTP heartbeats sent";
              }
    
              leaf heartbeat-timeout {
                type uint32;
                description
                  "Number of heartbeat timeouts";
              }
    
              leaf rx-subscriber-req {
                type uint32;
                description
                  "Number of requests from subscriber";
              }
    
              leaf tx-databytes {
                type uint32;
                description
                  "Number of bytes sent";
              }
    
              leaf rx-databytes {
                type uint32;
                description
                  "Number of bytes received";
              }
    
              leaf tx-heartbeat-fail {
                type uint32;
                description
                  "Count of failures sending heartbeat";
              }
    
              leaf rx-data-fail {
                type uint32;
                description
                  "Number of failures receiving data";
              }
    
              leaf tx-data-fail {
                type uint32;
                description
                  "Number of failures sending data";
              }
            }  // container cloud-stats
          }  // container cmx-cloud-info
    
          container statistics {
            presence "nmsp-statistics-tbl";
            description "NMSP statistics table";
            container ssl-stats {
              description "NMSP SSL statistics";
              leaf verify-count {
                type uint64;
                description
                  "Total amount of SSL certificate verifications";
              }
    
              leaf verify-fail {
                type uint64;
                description
                  "Amount of SSL certificate verification failures";
              }
    
              leaf verify-success {
                type uint64;
                description
                  "Amount of successful certificate verification attempts";
              }
    
              leaf connection-created {
                type uint64;
                description
                  "Amount of CMX to NMSPd connections created";
              }
    
              leaf connection-closed {
                type uint64;
                description
                  "Amount of CMX to NMSPd connections closed";
              }
    
              leaf accept-attempts {
                type uint64;
                description
                  "Total amount of connection accept attempts";
              }
    
              leaf accept-fail {
                type uint64;
                description
                  "Failures in accepting incoming connections";
              }
    
              leaf accept-reject {
                type uint64;
                description
                  "Amount of incoming connections rejected during acceptance phase";
              }
    
              leaf accept-success {
                type uint64;
                description
                  "Amount of accepted incoming connections";
              }
    
              leaf accept-register-fail {
                type uint64;
                description
                  "Amount of failed registrations";
              }
            }  // container ssl-stats
    
            container aaa-stats {
              description "NMSP AAA statistics";
              leaf aaa-request {
                type uint64;
                description
                  "Total amount of AAA requests";
              }
    
              leaf aaa-send-fail {
                type uint64;
                description
                  "Amount of requests, that were failed to transmit to AAA module";
              }
    
              leaf aaa-send-success {
                type uint64;
                description
                  "Amount of requests successfully transmitted to AAA module";
              }
    
              leaf aaa-response {
                type uint64;
                description
                  "Amount of responses received from AAA module";
              }
    
              leaf aaa-validation-total {
                type uint64;
                description
                  "Amount of received responses from AAA that are subject of further validation";
              }
    
              leaf aaa-validation-fail {
                type uint64;
                description
                  "Responses from AAA to validate error";
              }
    
              leaf aaa-validation-success {
                type uint64;
                description
                  "Amount of received responses from AAA, that were successfully validated";
              }
            }  // container aaa-stats
    
            container srv-stats {
              description
                "NMSP daemon statistics";
              leaf srv-restarts {
                type uint64;
                description
                  "Number of NMSP daemon restarts";
              }
            }  // container srv-stats
          }  // container statistics
        }  // container nmsp-oper-data
      }  // module Cisco-IOS-XE-wireless-nmsp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.