Interface NotificationsService

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

    @Generated("mdsal-binding-generator")
    public interface NotificationsService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module notifications
     rpc create-subscription {
       input input {
         leaf stream {
           type streamNameType;
           default NETCONF;
         }
         anyxml filter {
         }
         leaf startTime {
           type yang:date-and-time;
         }
         leaf stopTime {
           type yang:date-and-time;
         }
       }
     }
     
    • Method Detail

      • createSubscription

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateSubscriptionOutput>> createSubscription​(CreateSubscriptionInput input)
        Invoke create-subscription RPC.
             
                 The command to create a notification subscription. It takes as argument the name
                 of the notification stream and filter. Both of those options limit the content
                 of the subscription. In addition, there are two time-related parameters,
                 startTime and stopTime, which can be used to select the time interval of
                 interest to the notification replay feature.
             
         
        Parameters:
        input - of create-subscription
        Returns:
        output of create-subscription