Adding a grammar rule with conditional compilation

2017-02-25 Thread Dean
Hello, I'm modifying some parts of the code, and I've added a new grammar rule for creating static routes in the config.Y file. However, I would like this rule to only be enabled based on a preprocessor definition, with an #ifdef, or throw a syntax error otherwise. I can't figure out a way

Re: iBGP - Simple static route exchange

2017-02-25 Thread Cedric Lemarchand
Hello Ondrej, Thanks for your precious explanations. Unfortunately I am still stuck, static routes does not apply between 2 hosts. To solve 1) and 2), and in the way I only need to publish static routes to other BGP hosts, I changed "export all” by "export where proto = “static1” “, but still