Cisco-IOS-XR-aaa-tacacs-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR aaa-tacacs package operational data. Copyright (c) 20...

  • Version: 2021-01-06

    Cisco-IOS-XR-aaa-tacacs-oper-sub1@2021-01-06


    
      submodule Cisco-IOS-XR-aaa-tacacs-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-aaa-tacacs-oper {
            prefix
              Cisco-IOS-XR-aaa-tacacs-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        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 aaa-tacacs package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-01-06" {
          description
            "Added last-contact-attempt entry in show tacacs.";
        }
    
        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";
    
        grouping TACACS-SERVER-GROUP-BAG {
          description "TACACS SERVER GROUP BAG";
          leaf group-name {
            type string;
            description
              "name of the server group";
          }
    
          leaf sg-map-num {
            type uint32;
            description
              "server group mapped number";
          }
    
          leaf vrf-name {
            type string {
              length "0..33";
            }
            description "vrf of the group";
          }
    
          list server {
            description
              "list of servers in this group";
            uses TACACS-SERVERBAG;
          }  // list server
        }  // grouping TACACS-SERVER-GROUP-BAG
    
        grouping TACACS-SERVER-GROUPS {
          description "TACACS SERVER GROUPS";
          list server-group {
            description "server group";
            uses TACACS-SERVER-GROUP-BAG;
          }  // list server-group
        }  // grouping TACACS-SERVER-GROUPS
    
        grouping TACACS-SERVERBAG {
          description "TACACS SERVERBAG";
          leaf addr {
            type inet:ipv4-address;
            description
              "internet address of T+ server";
          }
    
          leaf timeout {
            type uint32;
            description "per-server timeout";
          }
    
          leaf port {
            type uint32;
            description "per server port to use";
          }
    
          leaf bytes-in {
            type uint32;
            units "byte";
            description "# of bytes read";
          }
    
          leaf bytes-out {
            type uint32;
            units "byte";
            description "# of bytes out";
          }
    
          leaf closes {
            type uint32;
            description "socket closes";
          }
    
          leaf opens {
            type uint32;
            description "socket opens";
          }
    
          leaf errors {
            type uint32;
            description "error count";
          }
    
          leaf aborts {
            type uint32;
            description "abort count";
          }
    
          leaf paks-in {
            type uint32;
            description
              "# of incoming packets read";
          }
    
          leaf paks-out {
            type uint32;
            description
              "# of outgoing packets sent";
          }
    
          leaf replies-expected {
            type uint32;
            description
              "# of replies expected to arrive";
          }
    
          leaf up {
            type boolean;
            description
              "is the server UP or down ?";
          }
    
          leaf conn-up {
            type boolean;
            description
              "is the server connected ?";
          }
    
          leaf single-connect {
            type boolean;
            description
              "is this a single connect server ?";
          }
    
          leaf is-private {
            type boolean;
            description
              "is this a private server ?";
          }
    
          leaf vrf-name {
            type string {
              length "0..33";
            }
            description
              "VRF in which server is reachable";
          }
    
          leaf addr-buf {
            type string {
              length "0..46";
            }
            description "IP address buffer";
          }
    
          leaf family {
            type string {
              length "0..5";
            }
            description "IP address Family";
          }
    
          leaf single-connect-idle-timeout {
            type uint32;
            description
              "Single connection idle timeout";
          }
    
          leaf connection-attempted {
            type int64;
            description
              "last attempted contact time";
          }
        }  // grouping TACACS-SERVERBAG
    
        grouping TACACS-SERVERS {
          description "TACACS SERVERS";
          list server {
            description "server";
            uses TACACS-SERVERBAG;
          }  // list server
        }  // grouping TACACS-SERVERS
    
        grouping TACACS-REQUESTBAG {
          description "TACACS REQUESTBAG";
          list tacacs-requestbag {
            description
              "address in tacascd proc space of this req";
            leaf time-remaining {
              type uint32;
              description
                "time remaining for this request";
            }
    
            leaf bytes-out {
              type uint32;
              units "byte";
              description "bytes written";
            }
    
            leaf out-pak-size {
              type uint32;
              description
                "size of the packet to be sent";
            }
    
            leaf bytes-in {
              type uint32;
              units "byte";
              description
                "bytes read from socket";
            }
    
            leaf in-pak-size {
              type uint32;
              description
                "size of the packet to be received";
            }
    
            leaf pak-type {
              type string;
              description "the type of packet";
            }
    
            leaf session-id {
              type int32;
              description "same as in pkt hdr";
            }
    
            leaf sock {
              type int32;
              description "socket number";
            }
          }  // list tacacs-requestbag
        }  // grouping TACACS-REQUESTBAG
    
        grouping TACACS-REQUESTS {
          description "TACACS REQUESTS";
          list request {
            description "request";
            uses TACACS-REQUESTBAG;
          }  // list request
        }  // grouping TACACS-REQUESTS
      }  // submodule Cisco-IOS-XR-aaa-tacacs-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.