Commit cf33555d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add debugging and a sanity check.

parent d561cb13
......@@ -1244,6 +1244,8 @@ sub SliverWork($$)
my $rspec = $ticket->rspec();
my $needplabslice = 0;
print Dumper($rspec);
#
# Find current slivers and save.
#
......@@ -1711,6 +1713,10 @@ sub SliverWork($$)
# The interface was set above.
#
my $iface_name = $ifacemap{$node_id}->{$iface_id};
if (!defined($iface_name)) {
$message = "Inconsistent ifacemap; $node_id,$iface_id";
goto bad;
}
my $interface = Interface->LookupByIface($nodeobject, $iface_name);
if (!defined($interface)) {
......
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