<div dir="ltr">Freddy,<div><br></div><div>That's exactly what I've done, but I was hoping this kind of configuration data could just be defined as a local variable. Perhaps I could define a variable that called a local script, which scraped ifconfig for the data I'm looking for? I haven't done this before, but expect BIRD is capable of such a construct.</div>
<div><br></div><div>Has anyone done anything like the above (call a local shell script to populate a variable), or have an example of doing something similar?</div></div><div class="gmail_extra"><br clear="all"><div><br>
-- Eric Cables</div>
<br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 5:29 AM, Frederik Kriewitz <span dir="ltr"><<a href="mailto:frederik@kriewitz.eu" target="_blank">frederik@kriewitz.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">> On Tue, Jun 10, 2014 at 1:44 PM, Eric Cables <<a href="mailto:ecables@gmail.com">ecables@gmail.com</a>> wrote:<br>
</div><div class="">>> Any thoughts? The goal is to make this configuration as dynamic as<br>
>> possible, so that it can be deployed to a number of systems without manual<br>
>> changes on each.<br>
<br>
</div>You might want to split your config in multiple files (e.g. a common<br>
one and a router specific one) and include them.<br>
E.g. each of our bird config files contains a line like this:<br>
include "/etc/bird/bird.conf.local";<br>
In that file we specify the router id and a couple of variables used<br>
in otherwise common configurations.<br>
<br>
Best Regards,<br>
Freddy<br>
</blockquote></div><br></div>