Commit f4933e03 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Fill out all columns when making a fake VInterface.

parent 8f29b66c
......@@ -952,7 +952,9 @@ sub MakeFake($$$)
$nodeid = $nodeid->node_id()
if (ref($nodeid));
$argref->{'node_id'} = $nodeid;
$argref->{'vnode_id'} = undef if (!exists($argref->{'vnode_id'}));
foreach my $field (('vnode_id', 'iface', 'vlanid', 'bandwidth')) {
$argref->{$field} = undef if (!exists($argref->{$field}));
# This is usually generated by the insert.
$argref->{'unit'} = $nextfake++;
Supports Markdown
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