Cisco-IOS-XR-tty-management-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR tty-management package operational data. Copyright (c...

  • Version: 2019-04-05

    Cisco-IOS-XR-tty-management-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-tty-management-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-tty-management-oper {
            prefix
              Cisco-IOS-XR-tty-management-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 tty-management package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.0.1";
    
        identity Host-af-id-base {
          description
            "Base identity for Host-af-id";
        }
    
        identity ipv4 {
          base Host-af-id-base;
          description "IPv4 family";
        }
    
        identity ipv6 {
          base Host-af-id-base;
          description "IPv6 family";
        }
    
        typedef Transport-service {
          type enumeration {
            enum "unknown" {
              value 0;
              description "Unknown service";
            }
            enum "telnet" {
              value 1;
              description "Telnet";
            }
            enum "rlogin" {
              value 2;
              description "Remote login";
            }
            enum "ssh" {
              value 3;
              description "SSH";
            }
          }
          description
            "Transport service protocol";
        }
    
        typedef Ipv6-address {
          type inet:ipv6-address;
          description "Ipv6 address";
        }
    
        typedef Host-af-id {
          type identityref {
            base Host-af-id-base;
          }
          description
            "Host address family types";
        }
    
        grouping IP-ADDR-T-UNION {
          description "IP ADDR T UNION";
          leaf af-name {
            type Host-af-id;
            description "AFName";
          }
    
          leaf ipv4-address {
            when "../af-name = 'ipv4'" {
              description "../AFName = 'IPv4'";
            }
            type inet:ipv4-address;
            description "IPv4 address";
          }
    
          leaf ipv6-address {
            when "../af-name = 'ipv6'" {
              description "../AFName = 'IPv6'";
            }
            type Ipv6-address;
            description "IPv6 address";
          }
        }  // grouping IP-ADDR-T-UNION
    
        grouping SUSPENDED-SESSIONS {
          description
            "Outgoing session information";
          container host-address {
            description "Host address";
            uses IP-ADDR-T-UNION;
          }  // container host-address
    
          leaf connection-id {
            type uint8;
            description "Connection ID [1-20]";
          }
    
          leaf host-name {
            type string;
            description "Host name";
          }
    
          leaf transport-protocol {
            type Transport-service;
            description
              "Session transport protocol";
          }
    
          leaf is-last-active-session {
            type boolean;
            description
              "True indicates last active session";
          }
    
          leaf idle-time {
            type uint32;
            units "second";
            description
              "Elapsed time since session was suspended (in
             seconds)";
          }
        }  // grouping SUSPENDED-SESSIONS
    
        grouping CONN-OUT-TABLE-BAG {
          description "All outgoing sessions";
          list outgoing-connection {
            description
              "List of outgoing sessions";
            uses SUSPENDED-SESSIONS;
          }  // list outgoing-connection
        }  // grouping CONN-OUT-TABLE-BAG
      }  // submodule Cisco-IOS-XR-tty-management-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.