diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2019-11-26 10:00:28 +0100 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2019-11-26 12:33:40 +0100 |
| commit | 7cb9714d76139cdec82fc9e1fe6db56b28238f26 (patch) | |
| tree | 84a9635c9f8f063a490680e4ef0d5324312aa940 /PVE/Network/SDN/Controllers/EvpnPlugin.pm | |
| parent | 7c5b0f6daf45c1491fe55dbb29c814925cad24bb (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/EvpnPlugin.pm')
| -rw-r--r-- | PVE/Network/SDN/Controllers/EvpnPlugin.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/PVE/Network/SDN/Controllers/EvpnPlugin.pm index 97dc825..012c9a4 100644 --- a/PVE/Network/SDN/Controllers/EvpnPlugin.pm +++ b/PVE/Network/SDN/Controllers/EvpnPlugin.pm @@ -105,8 +105,6 @@ sub generate_controller_config { @router_config = (); #import /32 routes of evpn network from vrf1 to default vrf (for packet return) - #frr 7.1 tag is bugged -> works fine with 7.1 stable branch(20190829-02-g6ba76bbc1) - #https://github.com/FRRouting/frr/issues/4905 foreach my $address (@gatewaypeers) { push @router_config, "neighbor $address activate"; } @@ -121,7 +119,7 @@ sub generate_controller_config { sub generate_controller_transport_config { my ($class, $plugin_config, $router, $id, $uplinks, $config) = @_; - my $vrf = $plugin_config->{'vrf'}; + my $vrf = $id; my $vrfvxlan = $plugin_config->{'vrf-vxlan'}; my $asn = $router->{asn}; my $gatewaynodes = $router->{'gateway-nodes'}; |
