Commit 1ef72c51 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Changes to bbg handling; bbg nodes have to VMs on shared nodes so that

we can multiplex vlans across the backbone link.
parent c04469e0
......@@ -1173,8 +1173,8 @@ sub GetTicketAuxAux($$$$$$$$$)
my $virtnode =
$virtexperiment->NewTableRow("virt_nodes",
{"vname" => $node_nickname,
"type" => "bbgeni",
"osname" => '',
"type" => "bbgenivm",
"osname" => 'BBGENIVM-FAKE',
"ips" => '', # deprecated
"cmd_line"=> '', # bogus
"fixed" => "bbg1"});
......@@ -1183,6 +1183,13 @@ sub GetTicketAuxAux($$$$$$$$$)
$response = GeniResponse->Create(GENIRESPONSE_ERROR);
goto bad;
}
# These nodes are technically shared.
$virtexperiment->NewTableRow("virt_node_desires",
{"vname" => $node_nickname,
"desire" => "pcshared",
"weight" => 0.95});
$virtexperiment->multiplex_factor(1);
$virtexperiment->encap_style("vlan");
$iface_name = "";
$iface_vport = 0;
goto stitch;
......
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