daemon: fixed bad config generation for bgp config service

This commit is contained in:
Blake Harnden 2022-09-13 12:41:24 -07:00
parent 88ccd1f194
commit e25d1c72b3

View file

@ -306,9 +306,6 @@ class Bgp(QuaggaService, ConfigService):
ipv6_routing: bool = True
def quagga_config(self) -> str:
return ""
def quagga_iface_config(self, iface: CoreInterface) -> str:
router_id = get_router_id(self.node)
text = f"""
! BGP configuration
@ -322,6 +319,9 @@ class Bgp(QuaggaService, ConfigService):
"""
return self.clean_text(text)
def quagga_iface_config(self, iface: CoreInterface) -> str:
return ""
class Rip(QuaggaService, ConfigService):
"""