Class BgpConfigurator.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.AsyncClient
-
- All Implemented Interfaces:
BgpConfigurator.AsyncIface
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.AsyncClient extends org.apache.thrift.async.TAsyncClient implements BgpConfigurator.AsyncIface
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVrf(layer_type l_type, java.lang.String rd, java.util.List<java.lang.String> irts, java.util.List<java.lang.String> erts, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
createPeer(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
deletePeer(java.lang.String ipAddress, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
delVrf(java.lang.String rd, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
disableBFDFailover(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
disableGracefulRestart(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
disableMultipath(af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
enableBFDFailover(BfdConfigData bfdConfig, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
enableEORDelay(int delay, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
enableGracefulRestart(int stalepathTime, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
enableMultipath(af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getPeerStatus(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
multipaths(java.lang.String rd, int maxPath, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
pushRoute(protocol_type p_type, java.lang.String prefix, java.lang.String nexthop, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, encap_type enc_type, java.lang.String routermac, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
sendEOR(org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setEbgpMultihop(java.lang.String peerIp, int nHops, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setLogConfig(java.lang.String logFileName, java.lang.String logLevel, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
setUpdateSource(java.lang.String peerIp, java.lang.String srcIp, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
stopBgp(long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
unsetEbgpMultihop(java.lang.String peerIp, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
unsetUpdateSource(java.lang.String peerIp, org.apache.thrift.async.AsyncMethodCallback resultHandler)
void
withdrawRoute(protocol_type p_type, java.lang.String prefix, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler)
-
-
-
Method Detail
-
startBgp
public void startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
startBgp
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
stopBgp
public void stopBgp(long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
stopBgp
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
createPeer
public void createPeer(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
createPeer
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
setPeerSecret
public void setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setPeerSecret
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
deletePeer
public void deletePeer(java.lang.String ipAddress, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
deletePeer
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
addVrf
public void addVrf(layer_type l_type, java.lang.String rd, java.util.List<java.lang.String> irts, java.util.List<java.lang.String> erts, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
addVrf
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
delVrf
public void delVrf(java.lang.String rd, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
delVrf
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
pushRoute
public void pushRoute(protocol_type p_type, java.lang.String prefix, java.lang.String nexthop, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, int l3label, int l2label, encap_type enc_type, java.lang.String routermac, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
pushRoute
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
withdrawRoute
public void withdrawRoute(protocol_type p_type, java.lang.String prefix, java.lang.String rd, long ethtag, java.lang.String esi, java.lang.String macaddress, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
withdrawRoute
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
setEbgpMultihop
public void setEbgpMultihop(java.lang.String peerIp, int nHops, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setEbgpMultihop
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
unsetEbgpMultihop
public void unsetEbgpMultihop(java.lang.String peerIp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
unsetEbgpMultihop
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
setUpdateSource
public void setUpdateSource(java.lang.String peerIp, java.lang.String srcIp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setUpdateSource
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
unsetUpdateSource
public void unsetUpdateSource(java.lang.String peerIp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
unsetUpdateSource
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
enableAddressFamily
public void enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
enableAddressFamily
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
disableAddressFamily
public void disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
disableAddressFamily
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
setLogConfig
public void setLogConfig(java.lang.String logFileName, java.lang.String logLevel, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
setLogConfig
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
enableGracefulRestart
public void enableGracefulRestart(int stalepathTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
enableGracefulRestart
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
disableGracefulRestart
public void disableGracefulRestart(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
disableGracefulRestart
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
getRoutes
public void getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getRoutes
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
enableMultipath
public void enableMultipath(af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
enableMultipath
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
disableMultipath
public void disableMultipath(af_afi afi, af_safi safi, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
disableMultipath
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
multipaths
public void multipaths(java.lang.String rd, int maxPath, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
multipaths
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
enableEORDelay
public void enableEORDelay(int delay, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
enableEORDelay
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
sendEOR
public void sendEOR(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
sendEOR
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
enableBFDFailover
public void enableBFDFailover(BfdConfigData bfdConfig, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
enableBFDFailover
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
disableBFDFailover
public void disableBFDFailover(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
disableBFDFailover
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
getPeerStatus
public void getPeerStatus(java.lang.String ipAddress, long asNumber, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
- Specified by:
getPeerStatus
in interfaceBgpConfigurator.AsyncIface
- Throws:
org.apache.thrift.TException
-
-