]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: fix ospf nssa command
authorChirag Shah <chirag@cumulusnetworks.com>
Sat, 7 Oct 2017 20:26:13 +0000 (13:26 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Mon, 16 Oct 2017 17:02:05 +0000 (10:02 -0700)
commit7ef56a7321d475055e7405ed0c61f66676c42b46
treee8d052c6da0a00c5dfc26ffe15fb5fbc00892f70
parent0bc2172605a000a20a4208b523f287168123b6b1
ospfd: fix ospf nssa command

-Fix ordering of nssa command with translate options
and no-summary option.
Just like ospf stub no-summary keep the order order
of nssa no-summary.
- Fix NSSA options.
- Avoid displaying translate-candiate (default) option
in running-config.

cumulus(config-router)# area 2.2.2.2 nssa
  <cr>
  no-summary           Do not inject inter-area routes into nssa
  translate-always     Configure NSSA-ABR to always translate
  translate-candidate  Configure NSSA-ABR for translate election (default)
  translate-never      Configure NSSA-ABR to never translate

Running-config output:
router ospf
 area 2.2.2.2 nssa translate-always
 area 2.2.2.2 nssa no-summary

Ticket:CM-8312

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