daemon: fixed bad config generation for bgp config service
This commit is contained in:
parent
88ccd1f194
commit
e25d1c72b3
1 changed files with 3 additions and 3 deletions
|
@ -306,9 +306,6 @@ class Bgp(QuaggaService, ConfigService):
|
||||||
ipv6_routing: bool = True
|
ipv6_routing: bool = True
|
||||||
|
|
||||||
def quagga_config(self) -> str:
|
def quagga_config(self) -> str:
|
||||||
return ""
|
|
||||||
|
|
||||||
def quagga_iface_config(self, iface: CoreInterface) -> str:
|
|
||||||
router_id = get_router_id(self.node)
|
router_id = get_router_id(self.node)
|
||||||
text = f"""
|
text = f"""
|
||||||
! BGP configuration
|
! BGP configuration
|
||||||
|
@ -322,6 +319,9 @@ class Bgp(QuaggaService, ConfigService):
|
||||||
"""
|
"""
|
||||||
return self.clean_text(text)
|
return self.clean_text(text)
|
||||||
|
|
||||||
|
def quagga_iface_config(self, iface: CoreInterface) -> str:
|
||||||
|
return ""
|
||||||
|
|
||||||
|
|
||||||
class Rip(QuaggaService, ConfigService):
|
class Rip(QuaggaService, ConfigService):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue