diff options
| author | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2020-06-25 13:41:28 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2020-06-25 13:41:28 +0200 |
| commit | 0f70063526c6abb076eb9e07eb5370fef99ba2b2 (patch) | |
| tree | 243999762b4deb1f4728217aa7f266e0a48a53e1 | |
| parent | 4d7cc94ffde497a8f1b557ddba11367c4bdd0152 (diff) | |
fixup: drop trailing whitespaces
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
| -rw-r--r-- | PVE/API2/Network/SDN/Controllers.pm | 2 | ||||
| -rw-r--r-- | PVE/API2/Network/SDN/Zones.pm | 2 | ||||
| -rw-r--r-- | PVE/Network/SDN/Zones.pm | 4 | ||||
| -rw-r--r-- | PVE/Network/SDN/Zones/Plugin.pm | 2 | ||||
| -rw-r--r-- | PVE/Network/SDN/Zones/QinQPlugin.pm | 2 | ||||
| -rw-r--r-- | PVE/Network/SDN/Zones/VlanPlugin.pm | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/PVE/API2/Network/SDN/Controllers.pm b/PVE/API2/Network/SDN/Controllers.pm index 0f8dcbe..9bc3075 100644 --- a/PVE/API2/Network/SDN/Controllers.pm +++ b/PVE/API2/Network/SDN/Controllers.pm @@ -57,7 +57,7 @@ __PACKAGE__->register_method ({ type => 'array', items => { type => "object", - properties => { controller => { type => 'string'}, + properties => { controller => { type => 'string'}, type => { type => 'string'}, }, }, diff --git a/PVE/API2/Network/SDN/Zones.pm b/PVE/API2/Network/SDN/Zones.pm index 3201b10..10ca616 100644 --- a/PVE/API2/Network/SDN/Zones.pm +++ b/PVE/API2/Network/SDN/Zones.pm @@ -64,7 +64,7 @@ __PACKAGE__->register_method ({ type => 'array', items => { type => "object", - properties => { zone => { type => 'string'}, + properties => { zone => { type => 'string'}, type => { type => 'string'}, }, }, diff --git a/PVE/Network/SDN/Zones.pm b/PVE/Network/SDN/Zones.pm index df4c0da..3e03f11 100644 --- a/PVE/Network/SDN/Zones.pm +++ b/PVE/Network/SDN/Zones.pm @@ -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); diff --git a/PVE/Network/SDN/Zones/Plugin.pm b/PVE/Network/SDN/Zones/Plugin.pm index 190a153..5e3fdfd 100644 --- a/PVE/Network/SDN/Zones/Plugin.pm +++ b/PVE/Network/SDN/Zones/Plugin.pm @@ -64,7 +64,7 @@ sub decode_value { } return $res; - } + } return $value; } diff --git a/PVE/Network/SDN/Zones/QinQPlugin.pm b/PVE/Network/SDN/Zones/QinQPlugin.pm index f1c3222..c0b2402 100644 --- a/PVE/Network/SDN/Zones/QinQPlugin.pm +++ b/PVE/Network/SDN/Zones/QinQPlugin.pm @@ -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 = (); diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 8721287..8e99fc4 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm +++ b/PVE/Network/SDN/Zones/VlanPlugin.pm @@ -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; } |
