summaryrefslogtreecommitdiff
path: root/PVE/Network/SDN/Controllers/Plugin.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-11-25 10:01:36 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-11-25 12:04:00 +0100
commitf23633dc24196b0e09c1fa592b3ad70095b1b3fb (patch)
treeee678ce27e871a2c5927f9c7d9b6d196a1340dd8 /PVE/Network/SDN/Controllers/Plugin.pm
parentd1ab9bdbbcf0ac0ed17bba9a86754b8c560db467 (diff)
controllers: improve bgp-evpn
- add new bgp plugin - add ebgp support - add loopback support - move gateway-nodes option to zone as 'exitnodes' - move external-peers to bgp plugin
Diffstat (limited to 'PVE/Network/SDN/Controllers/Plugin.pm')
-rw-r--r--PVE/Network/SDN/Controllers/Plugin.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/PVE/Network/SDN/Controllers/Plugin.pm b/PVE/Network/SDN/Controllers/Plugin.pm
index 06cd576..0c92b17 100644
--- a/PVE/Network/SDN/Controllers/Plugin.pm
+++ b/PVE/Network/SDN/Controllers/Plugin.pm
@@ -70,7 +70,14 @@ sub generate_sdn_config {
}
sub generate_controller_config {
- my ($class, $plugin_config, $controller, $id, $uplinks, $config) = @_;
+ my ($class, $plugin_config, $controller_cfg, $id, $uplinks, $config) = @_;
+
+ die "please implement inside plugin";
+}
+
+
+sub generate_controller_zone_config {
+ my ($class, $plugin_config, $controller, $controller_cfg, $id, $uplinks, $config) = @_;
die "please implement inside plugin";
}