Interface BgpConfigurator.AsyncIface

    • Method Summary

      All Methods Instance Methods Abstract 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

        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
        Throws:
        org.apache.thrift.TException
      • stopBgp

        void stopBgp​(long asNumber,
                     org.apache.thrift.async.AsyncMethodCallback resultHandler)
              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • createPeer

        void createPeer​(java.lang.String ipAddress,
                        long asNumber,
                        org.apache.thrift.async.AsyncMethodCallback resultHandler)
                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setPeerSecret

        void setPeerSecret​(java.lang.String ipAddress,
                           java.lang.String rfc2385_sharedSecret,
                           org.apache.thrift.async.AsyncMethodCallback resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • deletePeer

        void deletePeer​(java.lang.String ipAddress,
                        org.apache.thrift.async.AsyncMethodCallback resultHandler)
                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • addVrf

        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
        Throws:
        org.apache.thrift.TException
      • delVrf

        void delVrf​(java.lang.String rd,
                    af_afi afi,
                    af_safi safi,
                    org.apache.thrift.async.AsyncMethodCallback resultHandler)
             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • pushRoute

        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
        Throws:
        org.apache.thrift.TException
      • withdrawRoute

        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
        Throws:
        org.apache.thrift.TException
      • setEbgpMultihop

        void setEbgpMultihop​(java.lang.String peerIp,
                             int nHops,
                             org.apache.thrift.async.AsyncMethodCallback resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • unsetEbgpMultihop

        void unsetEbgpMultihop​(java.lang.String peerIp,
                               org.apache.thrift.async.AsyncMethodCallback resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setUpdateSource

        void setUpdateSource​(java.lang.String peerIp,
                             java.lang.String srcIp,
                             org.apache.thrift.async.AsyncMethodCallback resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • unsetUpdateSource

        void unsetUpdateSource​(java.lang.String peerIp,
                               org.apache.thrift.async.AsyncMethodCallback resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • enableAddressFamily

        void enableAddressFamily​(java.lang.String peerIp,
                                 af_afi afi,
                                 af_safi safi,
                                 org.apache.thrift.async.AsyncMethodCallback resultHandler)
                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • disableAddressFamily

        void disableAddressFamily​(java.lang.String peerIp,
                                  af_afi afi,
                                  af_safi safi,
                                  org.apache.thrift.async.AsyncMethodCallback resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • setLogConfig

        void setLogConfig​(java.lang.String logFileName,
                          java.lang.String logLevel,
                          org.apache.thrift.async.AsyncMethodCallback resultHandler)
                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • enableGracefulRestart

        void enableGracefulRestart​(int stalepathTime,
                                   org.apache.thrift.async.AsyncMethodCallback resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • disableGracefulRestart

        void disableGracefulRestart​(org.apache.thrift.async.AsyncMethodCallback resultHandler)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getRoutes

        void getRoutes​(protocol_type p_type,
                       int optype,
                       int winSize,
                       af_afi afi,
                       org.apache.thrift.async.AsyncMethodCallback resultHandler)
                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • enableMultipath

        void enableMultipath​(af_afi afi,
                             af_safi safi,
                             org.apache.thrift.async.AsyncMethodCallback resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • disableMultipath

        void disableMultipath​(af_afi afi,
                              af_safi safi,
                              org.apache.thrift.async.AsyncMethodCallback resultHandler)
                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • multipaths

        void multipaths​(java.lang.String rd,
                        int maxPath,
                        org.apache.thrift.async.AsyncMethodCallback resultHandler)
                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • enableEORDelay

        void enableEORDelay​(int delay,
                            org.apache.thrift.async.AsyncMethodCallback resultHandler)
                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • sendEOR

        void sendEOR​(org.apache.thrift.async.AsyncMethodCallback resultHandler)
              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • enableBFDFailover

        void enableBFDFailover​(BfdConfigData bfdConfig,
                               org.apache.thrift.async.AsyncMethodCallback resultHandler)
                        throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • disableBFDFailover

        void disableBFDFailover​(org.apache.thrift.async.AsyncMethodCallback resultHandler)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getPeerStatus

        void getPeerStatus​(java.lang.String ipAddress,
                           long asNumber,
                           org.apache.thrift.async.AsyncMethodCallback resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException