diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2020-05-19 18:37:44 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2020-05-19 21:20:46 +0200 |
| commit | 1de0abc095cc51869b6f432e5fa395efb6644635 (patch) | |
| tree | f06ff501574a9bcce19e75099687690352d01761 /PVE/Network/SDN/Controllers/EvpnPlugin.pm | |
| parent | 3dfdc6846501ef1e7e60df1f075caa65bacea847 (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.pm | 2 |
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'}; |
