[quagga-dev 5571] Re: how do I get my new command to execute at startup?

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Mon Jul 7 15:53:11 BST 2008


> -----Original Message-----
> From: Andrew J. Schorr [mailto:aschorr at telemetry-investments.com]
> Sent: den 7 juli 2008 16:39
> To: Joakim Tjernlund
> Cc: 'Parthiparaj.G'; quagga-dev at lists.quagga.net
> Subject: Re: [quagga-dev 5569] Re: how do I get my new command to execute at startup?
> 
> On Mon, Jul 07, 2008 at 04:16:07PM +0200, Joakim Tjernlund wrote:
> > So the new command should defer calling ospf_lookup and ospf_area_get() to a later
> > time when the ospf router is configured OR one can change the order in
> > the config file, first do the "router ospf" stuff and then the interface part.
> >
> > To me changing the order in the config file feels like the right thing to do
> > but so far no one has confirmed(or rejected) this approach so I am a bit
> > hesitant impl. it(and I am on vacation so it will have to wait anyhow)
> 
> I think James Leu made the correct suggestion.  You should defer
> this, just the way the other commands (such as 'ip ospf cost') do.

It is a bit tricky to do this, ip ospf cost is easier.
Still, someone mentioned that Cisco does it the other way around
and to me it makes more sense to do it the Cisco way. Still
looking for why it is the other way around in Quagga. Would
stuff break if the order was changed?

 Jocke




More information about the Quagga-dev mailing list