Class BgpConfigurator.Client
- java.lang.Object
-
- org.apache.thrift.TServiceClient
-
- org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator.Client
-
- All Implemented Interfaces:
BgpConfigurator.Iface
- Enclosing class:
- BgpConfigurator
public static class BgpConfigurator.Client extends org.apache.thrift.TServiceClient implements BgpConfigurator.Iface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BgpConfigurator.Client.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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)
int
createPeer(java.lang.String ipAddress, long asNumber)
int
deletePeer(java.lang.String ipAddress)
int
delVrf(java.lang.String rd, af_afi afi, af_safi safi)
int
disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi)
int
disableBFDFailover()
int
disableGracefulRestart()
int
disableMultipath(af_afi afi, af_safi safi)
int
enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi)
int
enableBFDFailover(BfdConfigData bfdConfig)
int
enableEORDelay(int delay)
int
enableGracefulRestart(int stalepathTime)
int
enableMultipath(af_afi afi, af_safi safi)
peer_status_type
getPeerStatus(java.lang.String ipAddress, long asNumber)
Routes
getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi)
int
multipaths(java.lang.String rd, int maxPath)
int
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)
int
recv_addVrf()
int
recv_createPeer()
int
recv_deletePeer()
int
recv_delVrf()
int
recv_disableAddressFamily()
int
recv_disableBFDFailover()
int
recv_disableGracefulRestart()
int
recv_disableMultipath()
int
recv_enableAddressFamily()
int
recv_enableBFDFailover()
int
recv_enableEORDelay()
int
recv_enableGracefulRestart()
int
recv_enableMultipath()
peer_status_type
recv_getPeerStatus()
Routes
recv_getRoutes()
int
recv_multipaths()
int
recv_pushRoute()
int
recv_sendEOR()
int
recv_setEbgpMultihop()
int
recv_setLogConfig()
int
recv_setPeerSecret()
int
recv_setUpdateSource()
int
recv_startBgp()
int
recv_stopBgp()
int
recv_unsetEbgpMultihop()
int
recv_unsetUpdateSource()
int
recv_withdrawRoute()
void
send_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)
void
send_createPeer(java.lang.String ipAddress, long asNumber)
void
send_deletePeer(java.lang.String ipAddress)
void
send_delVrf(java.lang.String rd, af_afi afi, af_safi safi)
void
send_disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi)
void
send_disableBFDFailover()
void
send_disableGracefulRestart()
void
send_disableMultipath(af_afi afi, af_safi safi)
void
send_enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi)
void
send_enableBFDFailover(BfdConfigData bfdConfig)
void
send_enableEORDelay(int delay)
void
send_enableGracefulRestart(int stalepathTime)
void
send_enableMultipath(af_afi afi, af_safi safi)
void
send_getPeerStatus(java.lang.String ipAddress, long asNumber)
void
send_getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi)
void
send_multipaths(java.lang.String rd, int maxPath)
void
send_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)
void
send_sendEOR()
void
send_setEbgpMultihop(java.lang.String peerIp, int nHops)
void
send_setLogConfig(java.lang.String logFileName, java.lang.String logLevel)
void
send_setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret)
void
send_setUpdateSource(java.lang.String peerIp, java.lang.String srcIp)
void
send_startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit)
void
send_stopBgp(long asNumber)
void
send_unsetEbgpMultihop(java.lang.String peerIp)
void
send_unsetUpdateSource(java.lang.String peerIp)
void
send_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)
int
sendEOR()
int
setEbgpMultihop(java.lang.String peerIp, int nHops)
int
setLogConfig(java.lang.String logFileName, java.lang.String logLevel)
int
setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret)
int
setUpdateSource(java.lang.String peerIp, java.lang.String srcIp)
int
startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit)
int
stopBgp(long asNumber)
int
unsetEbgpMultihop(java.lang.String peerIp)
int
unsetUpdateSource(java.lang.String peerIp)
int
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)
-
-
-
Method Detail
-
startBgp
public int startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit) throws org.apache.thrift.TException
- Specified by:
startBgp
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_startBgp
public void send_startBgp(long asNumber, java.lang.String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFbit) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_startBgp
public int recv_startBgp() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
stopBgp
public int stopBgp(long asNumber) throws org.apache.thrift.TException
- Specified by:
stopBgp
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_stopBgp
public void send_stopBgp(long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_stopBgp
public int recv_stopBgp() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
createPeer
public int createPeer(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Specified by:
createPeer
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_createPeer
public void send_createPeer(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_createPeer
public int recv_createPeer() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setPeerSecret
public int setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret) throws org.apache.thrift.TException
- Specified by:
setPeerSecret
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_setPeerSecret
public void send_setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setPeerSecret
public int recv_setPeerSecret() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
deletePeer
public int deletePeer(java.lang.String ipAddress) throws org.apache.thrift.TException
- Specified by:
deletePeer
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_deletePeer
public void send_deletePeer(java.lang.String ipAddress) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_deletePeer
public int recv_deletePeer() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
addVrf
public int 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) throws org.apache.thrift.TException
- Specified by:
addVrf
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_addVrf
public void send_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) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_addVrf
public int recv_addVrf() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
delVrf
public int delVrf(java.lang.String rd, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Specified by:
delVrf
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_delVrf
public void send_delVrf(java.lang.String rd, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_delVrf
public int recv_delVrf() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
pushRoute
public int 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) throws org.apache.thrift.TException
- Specified by:
pushRoute
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_pushRoute
public void send_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) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_pushRoute
public int recv_pushRoute() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
withdrawRoute
public int 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) throws org.apache.thrift.TException
- Specified by:
withdrawRoute
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_withdrawRoute
public void send_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) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_withdrawRoute
public int recv_withdrawRoute() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setEbgpMultihop
public int setEbgpMultihop(java.lang.String peerIp, int nHops) throws org.apache.thrift.TException
- Specified by:
setEbgpMultihop
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_setEbgpMultihop
public void send_setEbgpMultihop(java.lang.String peerIp, int nHops) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setEbgpMultihop
public int recv_setEbgpMultihop() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unsetEbgpMultihop
public int unsetEbgpMultihop(java.lang.String peerIp) throws org.apache.thrift.TException
- Specified by:
unsetEbgpMultihop
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_unsetEbgpMultihop
public void send_unsetEbgpMultihop(java.lang.String peerIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_unsetEbgpMultihop
public int recv_unsetEbgpMultihop() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setUpdateSource
public int setUpdateSource(java.lang.String peerIp, java.lang.String srcIp) throws org.apache.thrift.TException
- Specified by:
setUpdateSource
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_setUpdateSource
public void send_setUpdateSource(java.lang.String peerIp, java.lang.String srcIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setUpdateSource
public int recv_setUpdateSource() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unsetUpdateSource
public int unsetUpdateSource(java.lang.String peerIp) throws org.apache.thrift.TException
- Specified by:
unsetUpdateSource
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_unsetUpdateSource
public void send_unsetUpdateSource(java.lang.String peerIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_unsetUpdateSource
public int recv_unsetUpdateSource() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableAddressFamily
public int enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Specified by:
enableAddressFamily
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_enableAddressFamily
public void send_enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_enableAddressFamily
public int recv_enableAddressFamily() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableAddressFamily
public int disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Specified by:
disableAddressFamily
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_disableAddressFamily
public void send_disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_disableAddressFamily
public int recv_disableAddressFamily() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setLogConfig
public int setLogConfig(java.lang.String logFileName, java.lang.String logLevel) throws org.apache.thrift.TException
- Specified by:
setLogConfig
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_setLogConfig
public void send_setLogConfig(java.lang.String logFileName, java.lang.String logLevel) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_setLogConfig
public int recv_setLogConfig() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableGracefulRestart
public int enableGracefulRestart(int stalepathTime) throws org.apache.thrift.TException
- Specified by:
enableGracefulRestart
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_enableGracefulRestart
public void send_enableGracefulRestart(int stalepathTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_enableGracefulRestart
public int recv_enableGracefulRestart() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableGracefulRestart
public int disableGracefulRestart() throws org.apache.thrift.TException
- Specified by:
disableGracefulRestart
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_disableGracefulRestart
public void send_disableGracefulRestart() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_disableGracefulRestart
public int recv_disableGracefulRestart() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getRoutes
public Routes getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi) throws org.apache.thrift.TException
- Specified by:
getRoutes
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_getRoutes
public void send_getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getRoutes
public Routes recv_getRoutes() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableMultipath
public int enableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Specified by:
enableMultipath
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_enableMultipath
public void send_enableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_enableMultipath
public int recv_enableMultipath() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableMultipath
public int disableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Specified by:
disableMultipath
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_disableMultipath
public void send_disableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_disableMultipath
public int recv_disableMultipath() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
multipaths
public int multipaths(java.lang.String rd, int maxPath) throws org.apache.thrift.TException
- Specified by:
multipaths
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_multipaths
public void send_multipaths(java.lang.String rd, int maxPath) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_multipaths
public int recv_multipaths() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableEORDelay
public int enableEORDelay(int delay) throws org.apache.thrift.TException
- Specified by:
enableEORDelay
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_enableEORDelay
public void send_enableEORDelay(int delay) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_enableEORDelay
public int recv_enableEORDelay() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
sendEOR
public int sendEOR() throws org.apache.thrift.TException
- Specified by:
sendEOR
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_sendEOR
public void send_sendEOR() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_sendEOR
public int recv_sendEOR() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableBFDFailover
public int enableBFDFailover(BfdConfigData bfdConfig) throws org.apache.thrift.TException
- Specified by:
enableBFDFailover
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_enableBFDFailover
public void send_enableBFDFailover(BfdConfigData bfdConfig) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_enableBFDFailover
public int recv_enableBFDFailover() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableBFDFailover
public int disableBFDFailover() throws org.apache.thrift.TException
- Specified by:
disableBFDFailover
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_disableBFDFailover
public void send_disableBFDFailover() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_disableBFDFailover
public int recv_disableBFDFailover() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getPeerStatus
public peer_status_type getPeerStatus(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Specified by:
getPeerStatus
in interfaceBgpConfigurator.Iface
- Throws:
org.apache.thrift.TException
-
send_getPeerStatus
public void send_getPeerStatus(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
recv_getPeerStatus
public peer_status_type recv_getPeerStatus() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-