[nodes] replace "-" with "_", so bird doesn't complain
(thanks to BAS-DINGEMANS-99-MNT for having "-" in their name)
This commit is contained in:
parent
b3eb047a6f
commit
f01559844d
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ class PeeringManager:
|
|||
def __generate_wg_conf(self, peering: dict):
|
||||
return render_template("wireguard.template.conf", peering=peering)
|
||||
def __generate_bird_conf(self, peering: dict):
|
||||
peering["MNT"] = peering["MNT"].replace("-","_")
|
||||
return render_template("bgp-peer.template.conf", peering=peering)
|
||||
|
||||
def __install_peering(self, mode: str, peering: dict):
|
||||
|
|
Loading…
Add table
Reference in a new issue