summaryrefslogtreecommitdiff
path: root/PVE/Network/SDN/Controllers.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2019-11-26 10:00:28 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2019-11-26 12:33:40 +0100
commit7cb9714d76139cdec82fc9e1fe6db56b28238f26 (patch)
tree84a9635c9f8f063a490680e4ef0d5324312aa940 /PVE/Network/SDN/Controllers.pm
parent7c5b0f6daf45c1491fe55dbb29c814925cad24bb (diff)
evpn zone plugin : remove vrf option
instead, use zone name as vrf Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/Network/SDN/Controllers.pm')
-rw-r--r--PVE/Network/SDN/Controllers.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/PVE/Network/SDN/Controllers.pm b/PVE/Network/SDN/Controllers.pm
index 827c715..f089538 100644
--- a/PVE/Network/SDN/Controllers.pm
+++ b/PVE/Network/SDN/Controllers.pm
@@ -103,7 +103,7 @@ sub generate_controller_config {
my $plugin_config = $transport_cfg->{ids}->{$id};
my $controllerid = $plugin_config->{controller};
next if !$controllerid;
- my $controller = $transport_cfg->{ids}->{$controllerid};
+ my $controller = $controller_cfg->{ids}->{$controllerid};
if ($controller) {
my $controller_plugin = PVE::Network::SDN::Controllers::Plugin->lookup($controller->{type});
$controller_plugin->generate_controller_transport_config($plugin_config, $controller, $id, $uplinks, $config);