Hi,

GoBGP configuration file doesn't support that.

You can use shell script or something else to inject routes right after
starting gobgpd.

Another option is using zebra integration feature.
You can write static routes to zebra's configuration file, and import them
to gobgpd.

https://github.com/osrg/gobgp/blob/master/docs/sources/zebra.md

change "connected" in the sample configuration to "static" in that case.

Thanks,
Wataru

> -----Original Message-----
> From: Fraser McGlinn [mailto:fra...@frizianz.com]
> Sent: Friday, February 24, 2017 12:48 PM
> To: gobgp-devel@lists.sourceforge.net
> Subject: [GoBGP-devel] Configuration File Syntax - Conversion from Bird
> 
> Hi Guys,
> 
> 
> I'm currently testing GoBGP as a replacement for our bird RR's for our global 
> backbone ISP and I'm having some difficulty
> figuring out the syntax for the toml configuration file.
> 
> 
> 
> I am trying to build up some routing policies and generate anchor routes with 
> communities and next hop's marked but I
> am unable to find any documentation on how to do this via config file. I am 
> able to generate routes via gobgp CLI, but
> unfortunately this doesn't help when trying to maintain a persistent topology.
> 
> 
> 
> Here is a sample source bird configuration from my lab rr which will show you 
> what I am trying to achieve -
> http://pastebin.com/pFb0ZMj2
> 
> 
> 
> Would someone please be able to point me in the right direction on how to 
> configure this up?
> 
> 
> 
> Thanks,
> 
> 
> 
> Fraser





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to