Interface OdlArputilService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService
    All Known Implementing Classes:
    ArpUtilImpl

    @Generated("mdsal-binding-generator")
    public interface OdlArputilService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module odl-arputil
     rpc get-mac {
       input input {
         leaf ipaddress {
           type inet:ip-address;
         }
         uses interfaces;
       }
       output output {
         leaf macaddress {
           type yang:phys-address;
         }
       }
     }
     rpc send-arp-request {
       input input {
         leaf ipaddress {
           type inet:ip-address;
         }
         uses interfaces;
       }
     }
     rpc send-arp-response {
       input input {
         leaf dst-ipaddress {
           type inet:ip-address;
         }
         leaf dst-macaddress {
           type yang:phys-address;
         }
         leaf interface {
           type leafref {
             path /if:interfaces/if:interface/if:name;
           }
         }
         leaf src-ipaddress {
           type inet:ip-address;
         }
         leaf src-macaddress {
           type yang:phys-address;
         }
       }
     }
     
    • Method Detail

      • getMac

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMacOutput>> getMac​(GetMacInput input)
        Invoke get-mac RPC.
        Parameters:
        input - of get-mac
        Returns:
        output of get-mac
      • sendArpRequest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpRequestOutput>> sendArpRequest​(SendArpRequestInput input)
        Invoke send-arp-request RPC.
        Parameters:
        input - of send-arp-request
        Returns:
        output of send-arp-request
      • sendArpResponse

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpResponseOutput>> sendArpResponse​(SendArpResponseInput input)
        Invoke send-arp-response RPC.
        Parameters:
        input - of send-arp-response
        Returns:
        output of send-arp-response