Mailing List Archive

ospfd iface config persistence
Hi,

A common complain wrt ospfd is that interface configuration just
dissappears if an interface goes down.

attached patch changes this. this changes:

ospf_zebra.c: ospf_interface_delete() no longer deletes the
IF_OIFS_PARAMS. No longer calls if_delete().
ospf_interface.c: ospf_if_delete_hook() deletes the
IF_OIFS_PARAMS.

note that with this patch, the only thing which deletes interfaces is
the 'no interface' command.

be good if people with more than interfaces than i could test it
(especially environments with interfaces which regularly go up and
down).

My only worry would be things looking up interfaces by index and not
getting a match because the matching interface (by name) has index of
an older/gone interface.

regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
Anti-trust laws should be approached with exactly that attitude.