"include" global option?

Alexander V. Chernikov melifaro at ipfw.ru
Sun Jul 31 12:24:21 CEST 2011


Ondrej Filip wrote:
> On 25.7.2011 18:07, Aris Lambrianidis wrote:
>> Interesting insight, Martin, good points, Alexander, I missed that post, that was the train of thought I was following as well.
>>
>> Are there any thoughts of integrating this to the main source tree or implementing something similar? Not having to deal with compiled packages is much tougher to maintain and streamline in production environments :)
> 
> I will look at it.

An updated version is available.
base config filename were shown instead of real file name in case of
parsing error after 'configure cmd' or SIGHUP.

I forgot to dispatch all unix_read_config() invocations correctly

diff against stock 1.3.2

> 
> 			Ondrej
> 
> 
>> Thank you for your time,
>>
>> --Aris Lambrianidis
>>
>> Are there any thoughts of integrating 
>> On Jul 25, 2011, at 5:25 PM, Alexander V. Chernikov wrote:
>>
>>> On 25.07.2011 19:28, Martin Mares wrote:
>>>> Hello, world!\n
>>>>
>>>>> I was wondering whether an "include" general option could be implemented as
>>>>> to segment large BIRD configuration files to smaller parts, a lá BIND. This
>>>>> should be trivial to implement I suppose, and could really help with
>>>>> scripting and clarity.
>>> Actually I wrote about this several months ago:
>>> http://marc.info/?l=bird-users&m=130527511628462&w=2
>>>
>>> Patch to 1.3.1: http://static.ipfw.ru/patches/bird_includes_20110513.diff
>>>
>>>> At the dawn of time, when we started thinking about BIRD configuration,
>>>> we got the idea that if a config file were executable, it would be run
>>>> and its output parsed -- this way, you could start e.g. with #!/usr/bin/m4
>>>> and have includes and macro processing.
>>>>
>>>> Maybe it's too crazy, but still...
>>>>
>>>> 				Have a nice fortnight
>>>
> 
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bird_include_20110731.diff
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110731/8be40b99/attachment-0001.diff>


More information about the Bird-users mailing list