]> git.proxmox.com Git - pve-network.git/commitdiff
fixup: drop trailing whitespaces
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jun 2020 11:41:28 +0000 (13:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jun 2020 11:41:28 +0000 (13:41 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Network/SDN/Controllers.pm
PVE/API2/Network/SDN/Zones.pm
PVE/Network/SDN/Zones.pm
PVE/Network/SDN/Zones/Plugin.pm
PVE/Network/SDN/Zones/QinQPlugin.pm
PVE/Network/SDN/Zones/VlanPlugin.pm

index 0f8dcbe2362452174b86bc1251e3441b4bbfb96a..9bc3075977b688fdd442a134946db8bc20faa564 100644 (file)
@@ -57,7 +57,7 @@ __PACKAGE__->register_method ({
        type => 'array',
        items => {
            type => "object",
-           properties => { controller => { type => 'string'}, 
+           properties => { controller => { type => 'string'},
                            type => { type => 'string'},
                          },
        },
index 3201b10216910c5be09aa0f97efa7776a057b02a..10ca6164e99563efd8050d8f5e10a9c07e48b4c5 100644 (file)
@@ -64,7 +64,7 @@ __PACKAGE__->register_method ({
        type => 'array',
        items => {
            type => "object",
-           properties => { zone => { type => 'string'}, 
+           properties => { zone => { type => 'string'},
                            type => { type => 'string'},
                          },
        },
index df4c0daa6518c322836d6e332231b58ec4a158e0..3e03f1167f5151cb576c32481965ac1f4208dcfe 100644 (file)
@@ -210,7 +210,7 @@ sub status {
     my $zone_cfg = PVE::Cluster::cfs_read_file('sdn/zones.cfg');
     my $nodename = PVE::INotify::nodename();
 
-    my $vnet_status = {}; 
+    my $vnet_status = {};
     my $zone_status = {};
 
     foreach my $id (sort keys %{$zone_cfg->{ids}}) {
@@ -244,7 +244,7 @@ sub status {
            $vnet_status->{$id}->{status} = 'error';
            $vnet_status->{$id}->{statusmsg} = join(',', @{$err_msg});
            $zone_status->{$id}->{status} = 'error';
-       } 
+       }
     }
 
     return($zone_status, $vnet_status);
index 190a15365bd12532e307812376757b4bc071a4e2..5e3fdfd186a3ceb7e62ad93fbb2b9fc343d9e35e 100644 (file)
@@ -64,7 +64,7 @@ sub decode_value {
         }
 
         return $res;
-    } 
+    }
 
    return $value;
 }
index f1c32226ff1e1b665f0ac6339b73818d1135b0f2..c0b2402d8283305d7fb5b5fb61c43c1169554516 100644 (file)
@@ -79,7 +79,7 @@ sub generate_sdn_config {
        #redefine main ovs bridge, ifupdown2 will merge ovs_ports
        @iface_config = ();
        push @iface_config, "ovs_ports $svlan_iface";
-       push(@{$config->{$bridge}}, @iface_config); 
+       push(@{$config->{$bridge}}, @iface_config);
 
        #zone vlan aware bridge
        @iface_config = ();
index 87212877b31fa28b3078bf7b4b2eb03e686bd03e..8e99fc4da7a9f76cad44231d03578b58ff38d3f9 100644 (file)
@@ -78,7 +78,7 @@ sub generate_sdn_config {
 
     } elsif ($vlan_aware) {
         # eth0----vlanaware bridge vmbr0--(vmbr0.X tag)---->vnet---->vm
-       $vnet_uplink = "$bridge.$tag";       
+       $vnet_uplink = "$bridge.$tag";
     } else {
 
         # keep vmbrXvY for compatibility with existing network
@@ -165,7 +165,7 @@ sub status {
         } elsif ($status->{$iface}->{status} ne 'pass') {
            push @$err_msg, "error iface $iface";
        }
-    }    
+    }
     return $err_msg;
 }