]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/Network/SDN/Zones/FaucetPlugin.pm
evpn: remove uplink-id
[pve-network.git] / PVE / Network / SDN / Zones / FaucetPlugin.pm
index e914d4d35fd0e1fce2492a697dfd272d1d3dfad5..609372371460cbb3676a9d9e05edb1ba1a9a01dc 100644 (file)
@@ -10,12 +10,6 @@ sub type {
     return 'faucet';
 }
 
-sub plugindata {
-    return {
-       role => 'transport',
-    };
-}
-
 sub properties {
     return {
         'dp-id' => {
@@ -28,16 +22,16 @@ sub properties {
 sub options {
 
     return {
+        nodes => { optional => 1},
        'dp-id' => { optional => 0 },
        'uplink-id' => { optional => 0 },
         'controller' => { optional => 0 },
-        'vlan-allowed' => { optional => 1 },
     };
 }
 
 # Plugin implementation
 sub generate_sdn_config {
-    my ($class, $plugin_config, $zoneid, $vnetid, $vnet, $uplinks, $config) = @_;
+    my ($class, $plugin_config, $zoneid, $vnetid, $vnet, $uplinks, $controller, $config) = @_;
 
     my $mtu = $vnet->{mtu};
     my $uplink = $plugin_config->{'uplink-id'};