Class BgpConfigurator.Client

    • Constructor Detail

      • Client

        public Client​(org.apache.thrift.protocol.TProtocol prot)
      • Client

        public Client​(org.apache.thrift.protocol.TProtocol iprot,
                      org.apache.thrift.protocol.TProtocol oprot)
    • 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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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
      • 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
      • 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 interface BgpConfigurator.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 interface BgpConfigurator.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
      • 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
      • 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
      • 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
      • 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 interface BgpConfigurator.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 interface BgpConfigurator.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 interface BgpConfigurator.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
      • 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 interface BgpConfigurator.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
      • 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