Interface MonitorParams

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    IfTunnel

    public interface MonitorParams
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-interface

     grouping monitor-params {
       leaf monitor-enabled {
         type boolean;
         default false;
       }
       leaf monitor-interval {
         type uint32;
         default 10000;
       }
       leaf monitor-protocol {
         type identityref {
           base tunnel-monitoring-type-base;
         }
         default tunnel-monitoring-type-bfd;
       }
       list monitor-config {
         key monitor-config-key;
         leaf monitor-config-key {
           type string;
         }
         leaf monitor-config-value {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is odl-interface/monitor-params
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends MonitorParams> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • isMonitorEnabled

        java.lang.Boolean isMonitorEnabled()
        Returns:
        java.lang.Boolean monitorEnabled, or null if not present
      • getMonitorInterval

        org.opendaylight.yangtools.yang.common.Uint32 getMonitorInterval()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 monitorInterval, or null if not present
      • getMonitorProtocol

        java.lang.Class<? extends TunnelMonitoringTypeBase> getMonitorProtocol()
        Returns:
        java.lang.Class monitorProtocol, or null if not present
      • getMonitorConfig

        @Nullable java.util.Map<MonitorConfigKey,​MonitorConfig> getMonitorConfig()
        Returns:
        java.util.Map monitorConfig, or null if not present
      • nonnullMonitorConfig

        default @NonNull java.util.Map<MonitorConfigKey,​MonitorConfig> nonnullMonitorConfig()
        Returns:
        java.util.Map monitorConfig, or an empty list if it is not present