Commit 87887e2f authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Add a new 'routable_control_ip' virt_node_attribute when requested.

parent 02fd1bcd
......@@ -1320,6 +1320,19 @@ sub GetTicketAuxAux($$$$$$$$$)
goto bad;
}
# If the user wants a routable control IP, add this into the database.
my @routable_control_ip =
GeniXML::FindNodesNS("n:routable_control_ip",
$ref,
$GeniXML::EMULAB_NS)->get_nodelist();
if (scalar(@routable_control_ip) > 0) {
$virtexperiment->NewTableRow("virt_node_attributes",
{"vname" => $node_nickname,
"attrkey" => "routable_control_ip",
"attrvalue" => "true"});
}
$virtexperiment->NewTableRow("virt_node_desires",
{"vname" => $node_nickname,
"desire" => "pcshared",
......
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