]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Forward reference ospf area config 1477/head
authorChirag Shah <chirag@cumulusnetworks.com>
Wed, 22 Nov 2017 04:57:50 +0000 (20:57 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Wed, 22 Nov 2017 21:23:38 +0000 (13:23 -0800)
commitaed7cc626d4056f6850d906c2c73abf45934a875
tree3daf6b89859ec58e9f84b689de9f6b07e0cbbc2d
parentfcaae8e4ec680ad1b5d73d7ee2d30c5974192491
ospfd: Forward reference ospf area config

Upon restart frr interface configuration applied
prior to 'router ospf' configuration. 'ip ospf area x'
config fails if ospf instance is not active.

Allow 'ip ospf area x' configuration to allow in absence
of ospf instance. Upon 'router ospf' walk through vrf
aware interfaces, active area cofigurations.
When vrf is enabled, router-id update also walk through
vrf aware interfaces to enable area configuration
via network_run_interface.

Ticket: CM-18927
Reviewed By:
Testing Done:
Configured multiple interfaces with 'ip ospf area x'
with multiple areas/interface combinations.
Upon router ospf enable along with vrf is active,
interfaces comes up in respective area, ospf neighborship
comes up fine.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_vty.c
ospfd/ospfd.h