Cisco-IOS-XR-man-netconf-oper

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

  • Version: 2019-04-05

    Cisco-IOS-XR-man-netconf-oper@2019-04-05


    
      module Cisco-IOS-XR-man-netconf-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-man-netconf-oper";
    
        prefix man-netconf-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-man-netconf-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 man-netconf package operational data.
    
    This module contains definitions
    for the following management objects:
      netconf-yang: Netconf-yang Operation Model
    
    Copyright (c) 2013-2019 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.1";
    
        container netconf-yang {
          config false;
          description
            "Netconf-yang Operation Model";
          container clients {
            description
              "List of Active Sessions Information";
            list client {
              key "session-id";
              description
                "Active Session Information";
              leaf session-id {
                type xr:Cisco-ios-xr-string;
                description "Session ID";
              }
    
              leaf version {
                type string;
                description "Netconf version";
              }
    
              leaf connect-time {
                type uint64;
                units "millisecond";
                description
                  "How long has a client been connected in
    milliseconds since the system started";
              }
    
              leaf last-op-time {
                type uint64;
                units "second";
                description
                  "Last operation time in seconds since the system
    started";
              }
    
              leaf last-op-type {
                type string;
                description
                  "Last operation type";
              }
    
              leaf locked {
                type string;
                description "Session locked";
              }
            }  // list client
          }  // container clients
    
          container rate-limit {
            description "Rate-limit Statistics";
            leaf total-data-dropped {
              type uint64;
              units "byte";
              description "Total Bytes dropped";
            }
          }  // container rate-limit
    
          container capabilities {
            description "List of Capabilities";
            list capability {
              description "Capability list";
              leaf namespace {
                type string;
                description "Namespace";
              }
    
              leaf module {
                type string;
                description "Module";
              }
    
              leaf revision {
                type string;
                description "Revision";
              }
    
              leaf deviation {
                type string;
                description "Deviation";
              }
            }  // list capability
          }  // container capabilities
    
          container notification-subscriptions {
            description
              "Notification Subscriptions";
            container subscriptions {
              description
                "List of Notification Subscriptions Statistics";
              list subscription {
                key "session-id";
                description
                  "Subscription Statistics";
                leaf session-id {
                  type xr:Cisco-ios-xr-string;
                  description "Session ID";
                }
    
                leaf subscribed-stream {
                  type string;
                  description "Stream name";
                }
    
                leaf replay-received {
                  type uint32;
                  description
                    "Number of notifications received during replay";
                }
    
                leaf non-replay-received {
                  type uint64;
                  description
                    "Number of non-replay notifications received";
                }
    
                leaf subscription-state {
                  type string;
                  description
                    "Subscription state";
                }
    
                leaf replay-start-time {
                  type uint64;
                  description
                    "Replay startTime in epoch time";
                }
    
                leaf replay-stop-time {
                  type uint64;
                  description
                    "Replay stopTime in epoch time";
                }
    
                leaf subscription-created {
                  type uint64;
                  description
                    "Time of subscription creation in epoch time";
                }
    
                leaf replay-complete-time {
                  type uint64;
                  description
                    "Time of replayComplete notification arrival";
                }
              }  // list subscription
            }  // container subscriptions
          }  // container notification-subscriptions
    
          container statistics {
            description
              "Summary and Sessions Statistics";
            container summary {
              description "Summary Statistics";
              list entry {
                max-elements 20;
                description
                  "Per-type statistics";
                leaf type {
                  type string;
                  description "Type name";
                }
    
                leaf request {
                  type uint32;
                  description
                    "Total operations count";
                }
    
                leaf total-time {
                  type uint64;
                  units "millisecond";
                  description
                    "Total time for operation in milliseconds since
    the system started";
                }
    
                leaf min-time-per-request {
                  type uint32;
                  units "millisecond";
                  description
                    "Lowest time for operation in milliseconds since
    the system started";
                }
    
                leaf max-time-per-request {
                  type uint32;
                  units "millisecond";
                  description
                    "Highest time for operation in milliseconds since
    the system started";
                }
    
                leaf avg-time-per-request {
                  type uint32;
                  units "millisecond";
                  description
                    "Average time for operation in milliseconds since
    the system started";
                }
              }  // list entry
            }  // container summary
    
            container sessions {
              description
                "List of Sessions Statistics";
              list session {
                key "session-id";
                description "Session Statistics";
                leaf session-id {
                  type xr:Cisco-ios-xr-string;
                  description "Session ID";
                }
    
                list entry {
                  max-elements 20;
                  description
                    "Per-type statistics";
                  leaf type {
                    type string;
                    description "Type name";
                  }
    
                  leaf request {
                    type uint32;
                    description
                      "Total operations count";
                  }
    
                  leaf total-time {
                    type uint64;
                    units "millisecond";
                    description
                      "Total time for operation in milliseconds since
    the system started";
                  }
    
                  leaf min-time-per-request {
                    type uint32;
                    units "millisecond";
                    description
                      "Lowest time for operation in milliseconds since
    the system started";
                  }
    
                  leaf max-time-per-request {
                    type uint32;
                    units "millisecond";
                    description
                      "Highest time for operation in milliseconds since
    the system started";
                  }
    
                  leaf avg-time-per-request {
                    type uint32;
                    units "millisecond";
                    description
                      "Average time for operation in milliseconds since
    the system started";
                  }
                }  // list entry
              }  // list session
            }  // container sessions
          }  // container statistics
    
          container status {
            description "Netconf Agent Status";
            leaf yfw-state {
              type string;
              description "YFW State";
            }
          }  // container status
        }  // container netconf-yang
      }  // module Cisco-IOS-XR-man-netconf-oper
    

© 2023 YumaWorks, Inc. All rights reserved.