public static class BgpConfigurator.Client extends org.apache.thrift.TServiceClient implements BgpConfigurator.Iface
Modifier and Type | Class and Description |
---|---|
static class |
BgpConfigurator.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public int startBgp(long asNumber, String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFlush) throws org.apache.thrift.TException
startBgp
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_startBgp(long asNumber, String routerId, int port, int holdTime, int keepAliveTime, int stalepathTime, boolean announceFlush) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_startBgp() throws org.apache.thrift.TException
org.apache.thrift.TException
public int stopBgp(long asNumber) throws org.apache.thrift.TException
stopBgp
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_stopBgp(long asNumber) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_stopBgp() throws org.apache.thrift.TException
org.apache.thrift.TException
public int createPeer(String ipAddress, long asNumber) throws org.apache.thrift.TException
createPeer
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_createPeer(String ipAddress, long asNumber) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_createPeer() throws org.apache.thrift.TException
org.apache.thrift.TException
public int setPeerSecret(String ipAddress, String rfc2385_sharedSecret) throws org.apache.thrift.TException
setPeerSecret
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_setPeerSecret(String ipAddress, String rfc2385_sharedSecret) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_setPeerSecret() throws org.apache.thrift.TException
org.apache.thrift.TException
public int deletePeer(String ipAddress) throws org.apache.thrift.TException
deletePeer
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_deletePeer(String ipAddress) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_deletePeer() throws org.apache.thrift.TException
org.apache.thrift.TException
public int addVrf(layer_type l_type, String rd, List<String> irts, List<String> erts, af_afi afi, af_safi safi) throws org.apache.thrift.TException
addVrf
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_addVrf(layer_type l_type, String rd, List<String> irts, List<String> erts, af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_addVrf() throws org.apache.thrift.TException
org.apache.thrift.TException
public int delVrf(String rd, af_afi afi, af_safi safi) throws org.apache.thrift.TException
delVrf
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_delVrf(String rd, af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_delVrf() throws org.apache.thrift.TException
org.apache.thrift.TException
public int pushRoute(protocol_type p_type, String prefix, String nexthop, String rd, int ethtag, String esi, String macaddress, int l3label, int l2label, encap_type enc_type, String routermac, af_afi afi) throws org.apache.thrift.TException
pushRoute
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_pushRoute(protocol_type p_type, String prefix, String nexthop, String rd, int ethtag, String esi, String macaddress, int l3label, int l2label, encap_type enc_type, String routermac, af_afi afi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_pushRoute() throws org.apache.thrift.TException
org.apache.thrift.TException
public int withdrawRoute(protocol_type p_type, String prefix, String rd, int ethtag, String esi, String macaddress, af_afi afi) throws org.apache.thrift.TException
withdrawRoute
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_withdrawRoute(protocol_type p_type, String prefix, String rd, int ethtag, String esi, String macaddress, af_afi afi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_withdrawRoute() throws org.apache.thrift.TException
org.apache.thrift.TException
public int setEbgpMultihop(String peerIp, int nHops) throws org.apache.thrift.TException
setEbgpMultihop
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_setEbgpMultihop(String peerIp, int nHops) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_setEbgpMultihop() throws org.apache.thrift.TException
org.apache.thrift.TException
public int unsetEbgpMultihop(String peerIp) throws org.apache.thrift.TException
unsetEbgpMultihop
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_unsetEbgpMultihop(String peerIp) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_unsetEbgpMultihop() throws org.apache.thrift.TException
org.apache.thrift.TException
public int setUpdateSource(String peerIp, String srcIp) throws org.apache.thrift.TException
setUpdateSource
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_setUpdateSource(String peerIp, String srcIp) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_setUpdateSource() throws org.apache.thrift.TException
org.apache.thrift.TException
public int unsetUpdateSource(String peerIp) throws org.apache.thrift.TException
unsetUpdateSource
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_unsetUpdateSource(String peerIp) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_unsetUpdateSource() throws org.apache.thrift.TException
org.apache.thrift.TException
public int enableAddressFamily(String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
enableAddressFamily
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_enableAddressFamily(String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_enableAddressFamily() throws org.apache.thrift.TException
org.apache.thrift.TException
public int disableAddressFamily(String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
disableAddressFamily
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_disableAddressFamily(String peerIp, af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_disableAddressFamily() throws org.apache.thrift.TException
org.apache.thrift.TException
public int setLogConfig(String logFileName, String logLevel) throws org.apache.thrift.TException
setLogConfig
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_setLogConfig(String logFileName, String logLevel) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_setLogConfig() throws org.apache.thrift.TException
org.apache.thrift.TException
public int enableGracefulRestart(int stalepathTime) throws org.apache.thrift.TException
enableGracefulRestart
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_enableGracefulRestart(int stalepathTime) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_enableGracefulRestart() throws org.apache.thrift.TException
org.apache.thrift.TException
public int disableGracefulRestart() throws org.apache.thrift.TException
disableGracefulRestart
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_disableGracefulRestart() throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_disableGracefulRestart() throws org.apache.thrift.TException
org.apache.thrift.TException
public Routes getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi) throws org.apache.thrift.TException
getRoutes
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_getRoutes(protocol_type p_type, int optype, int winSize, af_afi afi) throws org.apache.thrift.TException
org.apache.thrift.TException
public Routes recv_getRoutes() throws org.apache.thrift.TException
org.apache.thrift.TException
public int enableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
enableMultipath
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_enableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_enableMultipath() throws org.apache.thrift.TException
org.apache.thrift.TException
public int disableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
disableMultipath
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_disableMultipath(af_afi afi, af_safi safi) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_disableMultipath() throws org.apache.thrift.TException
org.apache.thrift.TException
public int multipaths(String rd, int maxPath) throws org.apache.thrift.TException
multipaths
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_multipaths(String rd, int maxPath) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_multipaths() throws org.apache.thrift.TException
org.apache.thrift.TException
public int enableEORDelay(int delay) throws org.apache.thrift.TException
enableEORDelay
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_enableEORDelay(int delay) throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_enableEORDelay() throws org.apache.thrift.TException
org.apache.thrift.TException
public int sendEOR() throws org.apache.thrift.TException
sendEOR
in interface BgpConfigurator.Iface
org.apache.thrift.TException
public void send_sendEOR() throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_sendEOR() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 OpenDaylight. All rights reserved.