summaryrefslogtreecommitdiff
path: root/PVE/Network/SDN/Controllers/EvpnPlugin.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-05-19 18:37:44 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-05-19 21:20:46 +0200
commit1de0abc095cc51869b6f432e5fa395efb6644635 (patch)
treef06ff501574a9bcce19e75099687690352d01761 /PVE/Network/SDN/Controllers/EvpnPlugin.pm
parent3dfdc6846501ef1e7e60df1f075caa65bacea847 (diff)
evpn: prefix interfaces
vnets can have random name, prefix other interfaces to avoid conflicts Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/Network/SDN/Controllers/EvpnPlugin.pm')
-rw-r--r--PVE/Network/SDN/Controllers/EvpnPlugin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index 87c8a2b..79ecaeb 100644
--- a/PVE/Network/SDN/Controllers/EvpnPlugin.pm
+++ b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
@@ -106,7 +106,7 @@ sub generate_controller_config {
sub generate_controller_zone_config {
my ($class, $plugin_config, $controller, $id, $uplinks, $config) = @_;
- my $vrf = $id;
+ my $vrf = "vrf_$id";
my $vrfvxlan = $plugin_config->{'vrf-vxlan'};
my $asn = $controller->{asn};
my $gatewaynodes = $controller->{'gateway-nodes'};