All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot

@Generated("mdsal-binding-generator") public interface PcepSessionStatsData extends org.opendaylight.yangtools.yang.binding.DataRoot
This module contains the base YANG definitions for PCEP session statistics. Copyright (c)2014 Cisco Systems, Inc. All rights reserved.; This program and accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

This class represents the following YANG schema fragment defined in module pcep-session-stats

 module pcep-session-stats {
   yang-version 1;
   namespace urn:opendaylight:params:xml:ns:yang:pcep:stats;
   prefix pcep-stats;
   revision 2017-11-13 {
   }
   revision 2014-10-06 {
   }
   grouping error {
     leaf error-type {
       type uint8;
       default 0;
     }
     leaf error-value {
       type uint8;
       default 0;
     }
   }
   grouping preferences {
     leaf keepalive {
       type uint8;
       default 0;
     }
     leaf deadtimer {
       type uint8;
       default 0;
     }
     leaf ip-address {
       type string;
       default "";
     }
     leaf session-id {
       type uint16;
       default 0;
     }
   }
   grouping error-messages-grouping {
     container error-messages {
       leaf received-error-msg-count {
         type uint32;
         default 0;
       }
       leaf sent-error-msg-count {
         type uint32;
         default 0;
       }
       container last-received-error {
         uses error;
       }
       container last-sent-error {
         uses error;
       }
     }
   }
   grouping reply-time-grouping {
     container reply-time {
       leaf average-time {
         type uint32;
         default 0;
       }
       leaf min-time {
         type uint32;
         default 0;
       }
       leaf max-time {
         type uint32;
         default 0;
       }
     }
   }
   grouping pcep-session-state {
     leaf session-duration {
       type string;
     }
     leaf synchronized {
       type boolean;
       default false;
     }
     container peer-capabilities {
     }
     container messages {
       uses reply-time-grouping;
       leaf received-msg-count {
         type uint32;
         default 0;
       }
       leaf sent-msg-count {
         type uint32;
         default 0;
       }
       leaf last-sent-msg-timestamp {
         type uint32;
         default 0;
       }
       leaf unknown-msg-received {
         type uint16;
         default 0;
       }
       uses error-messages-grouping;
     }
     container local-pref {
       uses preferences;
     }
     container peer-pref {
       uses preferences;
     }
     leaf delegated-lsps-count {
       type uint16;
       default 0;
     }
   }
   grouping pcep-session-state-grouping {
     container pcep-session-state {
       uses pcep-session-state;
     }
   }
 }