Interface VpnRpcService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
- All Known Implementing Classes:
VpnRpcServiceImpl
@Generated("mdsal-binding-generator") public interface VpnRpcService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module vpn-rpcrpc add-static-route { input input { leaf vpnInstanceName { type string; } leaf destination { type string; } leaf nexthop { type string; } leaf label { type uint32; } } output output { leaf label { type uint32; } } } rpc remove-static-route { input input { leaf vpnInstanceName { type string; } leaf destination { type string; } leaf nexthop { type string; } } } rpc generate-vpn-label { input input { leaf vpn-name { type string; } leaf ip-prefix { type string; } } output output { leaf label { type uint32; } } } rpc remove-vpn-label { input input { leaf vpn-name { type string; } leaf ip-prefix { type string; } } } rpc apply-arp-config { input input { leaf enable-arp-learning { type boolean; } } output output { leaf enable-arp-learning { type boolean; } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>>
addStaticRoute(AddStaticRouteInput input)
Invokeadd-static-route
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ApplyArpConfigOutput>>
applyArpConfig(ApplyArpConfigInput input)
Invokeapply-arp-config
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>>
generateVpnLabel(GenerateVpnLabelInput input)
Invokegenerate-vpn-label
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveStaticRouteOutput>>
removeStaticRoute(RemoveStaticRouteInput input)
Invokeremove-static-route
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveVpnLabelOutput>>
removeVpnLabel(RemoveVpnLabelInput input)
Invokeremove-vpn-label
RPC.
-
-
-
Method Detail
-
addStaticRoute
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> addStaticRoute(AddStaticRouteInput input)
Invokeadd-static-route
RPC.Creates a static route in a VPN, creating a new label if needed
- Parameters:
input
- ofadd-static-route
- Returns:
- output of
add-static-route
-
removeStaticRoute
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveStaticRouteOutput>> removeStaticRoute(RemoveStaticRouteInput input)
Invokeremove-static-route
RPC.Removes a static route in a VPN, identified by this vpn name, destination and nexthop. Nextop is optional. If specified, the RPC will just remove one of the nexthops in the route (ECMP feature). If not specified, the whole route will be removed
- Parameters:
input
- ofremove-static-route
- Returns:
- output of
remove-static-route
-
generateVpnLabel
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>> generateVpnLabel(GenerateVpnLabelInput input)
Invokegenerate-vpn-label
RPC.to generate label for the given ip prefix from the associated VPN
- Parameters:
input
- ofgenerate-vpn-label
- Returns:
- output of
generate-vpn-label
-
removeVpnLabel
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveVpnLabelOutput>> removeVpnLabel(RemoveVpnLabelInput input)
Invokeremove-vpn-label
RPC.to remove label for the given ip prefix from the associated VPN
- Parameters:
input
- ofremove-vpn-label
- Returns:
- output of
remove-vpn-label
-
applyArpConfig
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ApplyArpConfigOutput>> applyArpConfig(ApplyArpConfigInput input)
Invokeapply-arp-config
RPC.To apply ARP/GARP related configuration per PL
- Parameters:
input
- ofapply-arp-config
- Returns:
- output of
apply-arp-config
-
-