Commit 604f80d6 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add UGent WALL2 but only for admins right now.

parent 76107d6b
...@@ -38,7 +38,8 @@ $urn_mapping = ...@@ -38,7 +38,8 @@ $urn_mapping =
"urn:publicid:IDN+emulab.net+authority+cm" => "Emulab", "urn:publicid:IDN+emulab.net+authority+cm" => "Emulab",
"urn:publicid:IDN+utahddc.geniracks.net+authority+cm" => "DDC", "urn:publicid:IDN+utahddc.geniracks.net+authority+cm" => "DDC",
"urn:publicid:IDN+stitch.geniracks.net+authority+cm" => "UStitch", "urn:publicid:IDN+stitch.geniracks.net+authority+cm" => "UStitch",
"urn:publicid:IDN+al2s.internet2.edu+authority+am" => "AL2S"); "urn:publicid:IDN+al2s.internet2.edu+authority+am" => "AL2S",
"urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm" => "UGent");
$freenodes_mapping = $freenodes_mapping =
array("urn:publicid:IDN+utah.cloudlab.us+authority+cm" => array("urn:publicid:IDN+utah.cloudlab.us+authority+cm" =>
...@@ -324,6 +325,10 @@ class Instance ...@@ -324,6 +325,10 @@ class Instance
'Emulab' => 'Emulab' =>
"urn:publicid:IDN+emulab.net+authority+cm" "urn:publicid:IDN+emulab.net+authority+cm"
); );
if (ISADMIN()) {
$am_array["UGent WALL2"] =
"urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm";
}
} else { } else {
$am_array = array( $am_array = array(
'Cloudlab Utah' => 'Cloudlab Utah' =>
......
...@@ -877,6 +877,8 @@ function (_, Constraints, sup, ppstart, JacksEditor, wt, ...@@ -877,6 +877,8 @@ function (_, Constraints, sup, ppstart, JacksEditor, wt,
$("#cluster_selector").addClass("hidden"); $("#cluster_selector").addClass("hidden");
// Clear the form data. // Clear the form data.
$("#cluster_selector").html(""); $("#cluster_selector").html("");
// Tell the server not to whine about no aggregate selection.
$("#fully_bound").val("1");
return; return;
} }
......
...@@ -120,6 +120,10 @@ function maketopmap(divname, xml, showinfo, withoutMultiSite) ...@@ -120,6 +120,10 @@ function maketopmap(divname, xml, showinfo, withoutMultiSite)
{ {
"id": "urn:publicid:IDN+emulab.net+authority+cm", "id": "urn:publicid:IDN+emulab.net+authority+cm",
"name": "Emulab" "name": "Emulab"
},
{
"id": "urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm",
"name": "UGent WALL2"
} }
] ]
} }
......
...@@ -1830,6 +1830,10 @@ function (_, sup, moment, marked, UriTemplate, ShowImagingModal, ...@@ -1830,6 +1830,10 @@ function (_, sup, moment, marked, UriTemplate, ShowImagingModal,
{ {
"id": "urn:publicid:IDN+emulab.net+authority+cm", "id": "urn:publicid:IDN+emulab.net+authority+cm",
"name": "Emulab" "name": "Emulab"
},
{
"id": "urn:publicid:IDN+wall2.ilabt.iminds.be+authority+cm",
"name": "UGent WALL2"
} }
] ]
}, },
......
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