Commit e3215959 authored by Robert Ricci's avatar Robert Ricci
Browse files

Added a little more information to the 'multiple stacks' messages to aid

in debugging.
parent 0f168a59
......@@ -548,7 +548,8 @@ sub doVlansFromTables(@) {
my $errors = 0;
if (@stacks > 1) {
die "VLAN creation accross multiple stacks is not yet supported\n";
die "VLAN creation accross multiple stacks is not yet supported\n" .
"Stacks are " . join(",",@stacks) . "\n";
}
my ($stack) = @stacks;
......@@ -609,7 +610,8 @@ sub doMakeVlan($@) {
my $errors = 0;
if (@stacks > 1) {
die "VLAN creation accross multiple stacks is not yet supported\n";
die "VLAN creation accross multiple stacks is not yet supported\n" .
"Stacks are " . join(",",@stacks) . "\n";
}
my ($stack) = @stacks;
......@@ -682,7 +684,8 @@ sub doPortControl($@) {
my @ports = @_;
if (@stacks > 1) {
die "Port control accross multiple stacks is not yet supported\n";
die "Port control accross multiple stacks is not yet supported\n" .
"Stacks are " . join(",",@stacks) . "\n";
}
my ($stack) = @stacks;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment