Cisco-IOS-XE-scada-gw-oper

This module contains a collection of YANG definitions for Scada Gateway operational data. Copyright (c) 2019 by Cisco Systems, I...

  • Version: 2019-05-01

    Cisco-IOS-XE-scada-gw-oper@2019-05-01


    
      module Cisco-IOS-XE-scada-gw-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-scada-gw-oper";
    
        prefix scada-gw-ios-xe-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 Scada Gateway operational data.
         Copyright (c) 2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-05-01" {
          description
            "Cleaned up spelling errors in descriptions.";
          reference
            "1.0.1";
    
        }
    
        revision "2019-03-19" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "1.0.1";
        cisco-semver:module-version "1.0.0";
    
        grouping line-stats {
          description
            "Line statistics for channel";
          leaf channel-name {
            type string;
            description "Name of the channel";
          }
    
          leaf messages-sent {
            type uint32;
            description
              "Total messages sent on the channel";
          }
    
          leaf messages-received {
            type uint32;
            description
              "Total messages received on the channel";
          }
    
          leaf timeouts {
            type uint32;
            description "Total timeouts";
          }
    
          leaf aborts {
            type uint32;
            description "Total number of aborts";
          }
    
          leaf rejections {
            type uint32;
            description "Total rejections";
          }
    
          leaf protocol-errors {
            type uint32;
            description "Total protocol errors";
          }
    
          leaf link-errors {
            type uint32;
            description "Total link errors";
          }
    
          leaf addr-errors {
            type uint32;
            description "Total address errors";
          }
        }  // grouping line-stats
    
        grouping scada-gw-stats {
          description "Scada Gateway statistics";
          list t104-stats {
            key "channel-name";
            description "T104 statistics list";
            uses scada-gw-ios-xe-oper:line-stats;
          }  // list t104-stats
    
          list t101-stats {
            key "channel-name";
            description "T101 statistics list";
            uses scada-gw-ios-xe-oper:line-stats;
          }  // list t101-stats
    
          list dnp3n-stats {
            key "channel-name";
            description
              "DNP3 Network statistics list";
            uses scada-gw-ios-xe-oper:line-stats;
          }  // list dnp3n-stats
    
          list dnp3s-stats {
            key "channel-name";
            description
              "DNP3 Serial statistics list";
            uses scada-gw-ios-xe-oper:line-stats;
          }  // list dnp3s-stats
        }  // grouping scada-gw-stats
    
        grouping scada-tcp-conn-info {
          description "Scada Gateway statistics";
          leaf local-ip {
            type inet:ip-address;
            description
              "Local IP used by the TCP connection";
          }
    
          leaf local-port {
            type uint16;
            description
              "Local port used by the TCP connection";
          }
    
          leaf remote-ip {
            type inet:ip-address;
            description
              "Remote IP of the TCP connection";
          }
    
          leaf data-socket {
            type uint32;
            description
              "Data socket associated with the TCP connection";
          }
        }  // grouping scada-tcp-conn-info
    
        grouping tcp-connection {
          description
            "TCP connection data for T104 channel";
          leaf channel-name {
            type string;
            description "Name of the channel";
          }
    
          list conn {
            description
              "List of TCP connections on the channel";
            uses scada-gw-ios-xe-oper:scada-tcp-conn-info;
          }  // list conn
        }  // grouping tcp-connection
    
        grouping scada-gw-conns {
          description
            "Scada Gateway connections";
          list t104-tcp-conns {
            key "channel-name";
            description
              "Scada Gateway T104 TCP Connections";
            uses scada-gw-ios-xe-oper:tcp-connection;
          }  // list t104-tcp-conns
    
          list dnp3n-tcp-conns {
            key "channel-name";
            description
              "Scada Gateway T104 TCP Connections";
            uses scada-gw-ios-xe-oper:tcp-connection;
          }  // list dnp3n-tcp-conns
        }  // grouping scada-gw-conns
    
        container scada-gw-oper-data {
          config false;
          description
            "Operational state of Scada Gateway";
          container scada-gw-stats {
            presence "scada-gw-stats";
            description
              "Scada Gateway operation statistics";
            uses scada-gw-ios-xe-oper:scada-gw-stats;
          }  // container scada-gw-stats
    
          container scada-gw-conns {
            presence "scada-gw-conns";
            description
              "Scada Gateway Connections";
            uses scada-gw-ios-xe-oper:scada-gw-conns;
          }  // container scada-gw-conns
        }  // container scada-gw-oper-data
      }  // module Cisco-IOS-XE-scada-gw-oper
    

© 2023 YumaWorks, Inc. All rights reserved.