public interface OdlInterfaceRpcService
extends org.opendaylight.yangtools.yang.binding.RpcService
rpc get-egress-instructions-for-interface { input { leaf intf-name { type string; } leaf tunnel-key { type uint32; mandatory false; } } output { uses offlow:instruction-list; } } rpc get-interface-type { input { leaf intf-name { type string; } } output { leaf interface-type { type identityref { base if:interface-type; } } } } rpc get-port-from-interface { input { leaf intf-name { type string; } } output { leaf dpid { type uint64; } leaf portno { type uint32; } leaf portname { type string; } leaf phy-address { type string; } } } rpc get-endpoint-ip-for-dpn { input { leaf dpid { type uint64; } } output { leaf-list local-ips { type inet:ip-address; } } } rpc get-egress-actions-for-interface { input { leaf intf-name { type string; } leaf tunnel-key { type uint32; mandatory false; } leaf action-key { type int32; mandatory false; } } output { uses action:action-list; } } rpc get-tunnel-type { input { leaf intf-name { type string; } } output { leaf tunnel-type { type identityref { base odlif:tunnel-type-base; } } } } rpc get-nodeconnector-id-from-interface { input { leaf intf-name { type string; } } output { leaf nodeconnector-id { type inv:node-connector-id; } } } rpc get-interface-from-if-index { input { leaf if-index { type int32; } } output { leaf interface-name { type string; } } } rpc get-dpn-interface-list { input { leaf dpid { type uint64; } } output { list interfaces { leaf interface-name { type string; } leaf interface-type { type identityref { base if:interface-type; } } } } } rpc get-dpid-from-interface { input { leaf intf-name { type string; } } output { leaf dpid { type uint64; } } }
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> |
getDpidFromInterface(GetDpidFromInterfaceInput input)
used to retrieve dpid from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> |
getDpnInterfaceList(GetDpnInterfaceListInput input)
used to retrieve interface list for a given Dpn
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> |
getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
used to retrieve group actions to use from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> |
getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
used to retrieve flow instructions to use from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> |
getEndpointIpForDpn(GetEndpointIpForDpnInput input)
to get the local ip of the tunnel/trunk interface
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> |
getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
to get interface associated with an if-index
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> |
getInterfaceType(GetInterfaceTypeInput input)
to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> |
getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
to get nodeconnector id associated with an interface
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> |
getPortFromInterface(GetPortFromInterfaceInput input)
used to retrieve dpid from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> |
getTunnelType(GetTunnelTypeInput input)
to get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> getEndpointIpForDpn(GetEndpointIpForDpnInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
Copyright © 2019 OpenDaylight. All rights reserved.