Interface BgpConfigurator.Iface

    • 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