kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
52 stars 12 forks source link

test: ospf redistribute #772

Open troglobit opened 2 weeks ago

troglobit commented 2 weeks ago

More generic test of OSPF redistribute functionality.

Ideas by @jovatn. Could be used for manual testing before corresponding auto-tests are available. (@mattiaswal to explain more here or re-write :)

OSPF originate default idea

test ospf originate default (including originate default always)

    e1    e0            e0
<---- [A] ---- OSPF ---- [B]
1. Let configure A to "originate default route" (w/o 'always' primitive) in OSPF area
2. B should not have any default route in RIB
3. Add static default route in A, on interface e1
4. Now B should also get a default route via A.

To test with 'always' the same topology can be used.
But then B should see a default route already in step 2.

Documentatation