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
|
return cfg
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def generatequaggaifcconfig(cls, node, ifc):
|
def generatequaggaifcconfig(cls, node, ifc):
|
||||||
cfg = cls.mtucheck(ifc)
|
cfg = cls.mtucheck(ifc)
|
||||||
# external RJ45 connections will use default OSPF timers
|
# external RJ45 connections will use default OSPF timers
|
||||||
if cls.rj45check(ifc):
|
if cls.rj45check(ifc):
|
||||||
return cfg
|
return cfg
|
||||||
cfg += cls.ptpcheck(ifc)
|
cfg += cls.ptpcheck(ifc)
|
||||||
return cfg + """\
|
return (
|
||||||
|
cfg
|
||||||
|
+ """\
|
||||||
ip ospf hello-interval 2
|
ip ospf hello-interval 2
|
||||||
ip ospf dead-interval 6
|
ip ospf dead-interval 6
|
||||||
ip ospf retransmit-interval 5
|
ip ospf retransmit-interval 5
|
||||||
"""
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class Ospfv3(QuaggaService):
|
class Ospfv3(QuaggaService):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue