Skip to content

Controlling ExaBGP : interacting from the API

Pablo Camarillo edited this page Feb 25, 2014 · 18 revisions

There are several commands in order to interact with ExaBGP from the API. Here some of the possibilities are listed.

Please notice that you can check all of the possible options in the schedule function within the reactor


###API to handle ExaBGP

  • shutdown Terminates ExaBGP. > shutdown in progress
  • reload Reload ExaBGP's configuration > reload in progress
  • restart Reloads ExaBGP from scracth > restart in progress
  • version Answers in the shape: > 'exabgp %s' % version
  • show neighbors
  • show routes
  • show routes extensive
  • announce watchdog
  • withdraw watchdog

###API to handle neighbors

  • announce route ... neighbor 10.0.0.1 , neighbor 10.0.0.2 announce route 1.0.0.0/16 next-hop 101.1.101.1 split /16
  • flush route ...
  • withdraw route ...
  • announce attribute ...
  • withdraw attribute ...
  • announce flow ...
  • withdraw flow ...
  • teardown ...
  • announce route-refresh ...
  • operational ...