[quagga-dev 6414] Re: interface deletion and its config
shemminger at vyatta.com
Sun Feb 8 23:16:33 GMT 2009
On Sun, 8 Feb 2009 15:57:07 +0100
Joakim Tjernlund <Joakim.Tjernlund at transmode.se> wrote:
> Greg Troxel <gdt at ir.bbn.com> wrote on 07/02/2009 22:41:35:
> > Joakim Tjernlund <Joakim.Tjernlund at transmode.se> writes:
> > > When an interface is deleted and then recreated, zebra loses config
> > > that interface, example link-detect.
> > > However ospfd rember that interfaces config, example ip ospf cost 10
> > >
> > > I think Zebra is wrong but, but as far as I can tell this has been
> > > this forever so
> > > I would like to hear from the list.
> > I think you are correct and zebra should apply the config to the 'new'
> > interface. Arguably the config should be applied if the interface is
> > not present on startup and then appears in the exact same way as the
> > disappear/reappear case - we definitely need clear semantics on this.
> Ahh, found it. The problem is due to a patch from Stephen Hemminger,
> "Add delete interface cleanout" that I had applied.
> Stephen, what problems does this patch fix? It introduces a new one too:
> It deletes config from the interface, like "link-detect" and also
> It is the call to if_delete(ifp) that is the cause.
There is better delete interface code in current Vyatta version,
haven't backported it yet.
More information about the Quagga-dev