Interface OdlPcepStatefulStatsData

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

    @Generated("mdsal-binding-generator")
    public interface OdlPcepStatefulStatsData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This module contains the PCEP Stateful stats YANG definitions for PCEP Topology Node Stats. Copyright (c)2017 AT&T Services, Inc. All rights reserved.; program and the accompanying materials are made available under the terms of 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 odl-pcep-stateful-stats

     module odl-pcep-stateful-stats {
       yang-version 1;
       namespace urn:opendaylight:params:xml:ns:yang:pcep:stateful:stats;
       prefix pspc;
       import network-topology {
         prefix nt;
         revision-date 2013-10-21;
       }
       import network-topology-pcep {
         prefix pn;
         revision-date 2020-01-20;
       }
       import yang-ext {
         prefix ext;
         revision-date 2013-07-09;
       }
       import network-pcep-topology-stats {
         prefix npts;
         revision-date 2018-11-09;
       }
       import odl-pcep-sync-optimizations {
         prefix opso;
         revision-date 2020-07-20;
       }
       import pcep-topology-stats-rpc {
         prefix ptsr;
         revision-date 2019-03-21;
       }
       revision 2018-11-09 {
       }
       revision 2017-11-13 {
       }
       grouping stateful-messages-grouping {
         leaf last-received-rpt-msg-timestamp {
           type uint32;
           default 0;
         }
         leaf received-rpt-msg-count {
           type uint32;
           default 0;
         }
         leaf sent-upd-msg-count {
           type uint32;
           default 0;
         }
         leaf sent-init-msg-count {
           type uint32;
           default 0;
         }
       }
       augment /nt:network-topology/nt:topology/nt:node/npts:pcep-session-state/npts:messages {
         when ../../../nt:topology-types/pn:topology-pcep;
         ext:augment-identifier stateful-messages-stats-aug;
         uses stateful-messages-grouping;
       }
       augment /ptsr:get-stats/ptsr:output/ptsr:topology/ptsr:node/ptsr:pcep-session-state/ptsr:messages {
         ext:augment-identifier stateful-messages-rpc-aug;
         uses stateful-messages-grouping;
       }
       grouping stateful-preferences {
         leaf instantiation {
           type boolean;
           default false;
         }
         leaf stateful {
           type boolean;
           default false;
         }
         leaf active {
           type boolean;
           default false;
         }
       }
       augment /nt:network-topology/nt:topology/nt:node/npts:pcep-session-state/npts:peer-capabilities {
         when ../../../nt:topology-types/pn:topology-pcep;
         ext:augment-identifier stateful-capabilities-stats-aug;
         uses stateful-preferences;
       }
       augment /ptsr:get-stats/ptsr:output/ptsr:topology/ptsr:node/ptsr:pcep-session-state/ptsr:peer-capabilities {
         ext:augment-identifier stateful-capabilities-rpc-aug;
         uses stateful-preferences;
       }
       augment /nt:network-topology/nt:topology/nt:node/npts:pcep-session-state/npts:local-pref {
         when ../../../nt:topology-types/pn:topology-pcep;
         ext:augment-identifier pcep-entity-id-stats-aug;
         uses opso:speaker-entity-id;
       }
       augment /ptsr:get-stats/ptsr:output/ptsr:topology/ptsr:node/ptsr:pcep-session-state/ptsr:local-pref {
         ext:augment-identifier pcep-entity-id-rpc-aug;
         uses opso:speaker-entity-id;
       }
     }