Interface BgpConfigurator.Iface
-
- All Known Implementing Classes:
BgpConfigurator.Client
- Enclosing class:
- BgpConfigurator
public static interface BgpConfigurator.Iface
-
-
Method Summary
All Methods Instance Methods Abstract 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
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
int 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
-
stopBgp
int stopBgp(long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
createPeer
int createPeer(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setPeerSecret
int setPeerSecret(java.lang.String ipAddress, java.lang.String rfc2385_sharedSecret) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
deletePeer
int deletePeer(java.lang.String ipAddress) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
addVrf
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
- Throws:
org.apache.thrift.TException
-
delVrf
int delVrf(java.lang.String rd, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
pushRoute
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
- Throws:
org.apache.thrift.TException
-
withdrawRoute
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
- Throws:
org.apache.thrift.TException
-
setEbgpMultihop
int setEbgpMultihop(java.lang.String peerIp, int nHops) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unsetEbgpMultihop
int unsetEbgpMultihop(java.lang.String peerIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setUpdateSource
int setUpdateSource(java.lang.String peerIp, java.lang.String srcIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unsetUpdateSource
int unsetUpdateSource(java.lang.String peerIp) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableAddressFamily
int enableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableAddressFamily
int disableAddressFamily(java.lang.String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setLogConfig
int setLogConfig(java.lang.String logFileName, java.lang.String logLevel) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableGracefulRestart
int enableGracefulRestart(int stalepathTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableGracefulRestart
int disableGracefulRestart() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getRoutes
Routes getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableMultipath
int enableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableMultipath
int disableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
multipaths
int multipaths(java.lang.String rd, int maxPath) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableEORDelay
int enableEORDelay(int delay) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
sendEOR
int sendEOR() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
enableBFDFailover
int enableBFDFailover(BfdConfigData bfdConfig) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
disableBFDFailover
int disableBFDFailover() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getPeerStatus
peer_status_type getPeerStatus(java.lang.String ipAddress, long asNumber) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-