fixed formatting for quagga fast convergence merge
This commit is contained in:
parent
337c41528a
commit
7e0ead0766
1 changed files with 6 additions and 2 deletions
|
@ -347,17 +347,21 @@ class Ospfv2(QuaggaService):
|
|||
return cfg
|
||||
|
||||
@classmethod
|
||||
def generatequaggaifcconfig(cls, node, ifc):
|
||||
def generatequaggaifcconfig(cls, node, ifc):
|
||||
cfg = cls.mtucheck(ifc)
|
||||
# external RJ45 connections will use default OSPF timers
|
||||
if cls.rj45check(ifc):
|
||||
return cfg
|
||||
cfg += cls.ptpcheck(ifc)
|
||||
return cfg + """\
|
||||
return (
|
||||
cfg
|
||||
+ """\
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 6
|
||||
ip ospf retransmit-interval 5
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
class Ospfv3(QuaggaService):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue