Interface MonitoringRefCount

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MonitoringRefCount>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ItmStateData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MonitoringRefCount
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ItmStateData>, org.opendaylight.yangtools.yang.binding.Augmentable<MonitoringRefCount>
    The container for maintaing the reference count for monitoring requests between a src and dst DPN pair.

    This class represents the following YANG schema fragment defined in module itm-state

     container monitoring-ref-count {
       config false;
       list monitored-tunnels {
         key "source-dpn destination-dpn";
         leaf source-dpn {
           type uint64;
         }
         leaf destination-dpn {
           type uint64;
         }
         leaf reference-count {
           type uint16;
         }
       }
     }
     
    The schema path to identify an instance is itm-state/monitoring-ref-count

    To create instances of this class use MonitoringRefCountBuilder.

    See Also:
    MonitoringRefCountBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<MonitoringRefCount> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMonitoredTunnels

        @Nullable java.util.List<MonitoredTunnels> getMonitoredTunnels()
        Returns:
        java.util.List monitoredTunnels, or null if not present
      • nonnullMonitoredTunnels

        default @NonNull java.util.List<MonitoredTunnels> nonnullMonitoredTunnels()
        Returns:
        java.util.List monitoredTunnels, or an empty list if it is not present