Commit 2cca2bf4 authored by Jonathon Duerig's avatar Jonathon Duerig

Update the cluster dropdown. No more alpha.

parent 5fedee7f
......@@ -294,21 +294,30 @@ class Instance
#
function DefaultAggregateList() {
global $ISCLOUD;
$am_array = array('Utah APT' =>
if ($ISCLOUD) {
$am_array = array(
'Cloudlab Utah' =>
"urn:publicid:IDN+utah.cloudlab.us+authority+cm",
'Cloudlab Wisconsin' =>
"urn:publicid:IDN+wisc.cloudlab.us+authority+cm",
'Cloudlab Clemson' =>
"urn:publicid:IDN+clemson.cloudlab.us+authority+cm",
'APT Utah' =>
"urn:publicid:IDN+apt.emulab.net+authority+cm",
'Utah Cloudlab' =>
'IG UtahDDC' =>
"urn:publicid:IDN+utahddc.geniracks.net+authority+cm"
);
} else {
$am_array = array(
'Cloudlab Utah' =>
"urn:publicid:IDN+utah.cloudlab.us+authority+cm",
'Utah DDC' =>
'APT Utah' =>
"urn:publicid:IDN+apt.emulab.net+authority+cm",
'IG UtahDDC' =>
"urn:publicid:IDN+utahddc.geniracks.net+authority+cm",
'Utah PG' =>
"urn:publicid:IDN+emulab.net+authority+cm");
if ($ISCLOUD) {
$am_array["Wisc Cloudlab (Alpha)"] =
"urn:publicid:IDN+wisc.cloudlab.us+authority+cm";
$am_array["Clemson Cloudlab (Alpha)"] =
"urn:publicid:IDN+clemson.cloudlab.us+authority+cm";
"urn:publicid:IDN+emulab.net+authority+cm"
);
}
return $am_array;
}
......
......@@ -352,18 +352,24 @@ function (_, Constraints, sup, ppstart, aboutaptString, aboutcloudString, waitwa
}
}
var amValueToKey = {'Utah APT':
"urn:publicid:IDN+apt.emulab.net+authority+cm",
'Utah Cloudlab':
"urn:publicid:IDN+utah.cloudlab.us+authority+cm",
'Wisc Cloudlab (Alpha)':
"urn:publicid:IDN+wisc.cloudlab.us+authority+cm",
'Clemson Cloudlab (Alpha)':
"urn:publicid:IDN+clemson.cloudlab.us+authority+cm",
'Utah DDC':
"urn:publicid:IDN+utahddc.geniracks.net+authority+cm",
'Utah PG':
"urn:publicid:IDN+emulab.net+authority+cm"
var amValueToKey = {
'Cloudlab Utah':
"urn:publicid:IDN+utah.cloudlab.us+authority+cm",
'Cloudlab Wisconsin':
"urn:publicid:IDN+wisc.cloudlab.us+authority+cm",
'Cloudlab Clemson':
"urn:publicid:IDN+clemson.cloudlab.us+authority+cm",
'APT Utah':
"urn:publicid:IDN+apt.emulab.net+authority+cm",
'IG UtahDDC':
"urn:publicid:IDN+utahddc.geniracks.net+authority+cm",
'Utah PG':
"urn:publicid:IDN+emulab.net+authority+cm"
};
function finishUpdateWhere(data)
......
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