Giter Site home page Giter Site logo

Comments (3)

thomas-mangin avatar thomas-mangin commented on June 3, 2024

There is no HTTP API with ExaBGP so whatever you are using is not part of any code we support.

All annoucements are single line text based, so I have no idea how you get to use HTTP but it must pass the HTTP payload via the ExaAPI API which is two unix pipes connected to STDIN and STDOUT.

If you need to improve this code, please look for post using announce attribute ... ... ... nlri ... ... ... which allows to announce multiple NLRIs which share the same attributes.

from exabgp.

goodluck68 avatar goodluck68 commented on June 3, 2024

There is no HTTP API with ExaBGP so whatever you are using is not part of any code we support.

All annoucements are single line text based, so I have no idea how you get to use HTTP but it must pass the HTTP payload via the ExaAPI API which is two unix pipes connected to STDIN and STDOUT.

If you need to improve this code, please look for post using announce attribute ... ... ... nlri ... ... ... which allows to announce multiple NLRIs which share the same attributes.

Thanks your suggestion! I have found an example ANNOUNCE attribute next-hop self nlri 10.0.1.0/24 10.0.1.1/24 10.0.1.2/24. I will base on this to update my case

Another question need your help. If I withdraw multiple BGP NLRI, does the command work? like this WITHDRAW attribute next-hop self nlri 10.0.1.0/24 10.0.1.1/24 10.0.1.2/24
In the BGP protocol, the UPDATE message does not require path attribute info when withdrawing a route, so I want to know whether the withdraw command is correct?

from exabgp.

thomas-mangin avatar thomas-mangin commented on June 3, 2024

It is plural, but I just allowed singular on the main branch.

@Command.register('text', 'withdraw attributes')

Unless you are using PATH_INFO or VPLS/MPLS, it may not require the attribute data. I would need to check the RFC and the code to be sure what the code does and if it is right ...

from exabgp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.