Commit f559982e authored by Jonathon Duerig's avatar Jonathon Duerig

Add friendly names for aggregates in the viewer.

parent 8774c96c
...@@ -78,7 +78,35 @@ function maketopmap(divname, xml, sshcallback, writeable) ...@@ -78,7 +78,35 @@ function maketopmap(divname, xml, sshcallback, writeable)
version: false, version: false,
selectInfo: writeable, selectInfo: writeable,
menu: false menu: false
} },
canvasOptions: {
"aggregates": [
{
"id": "urn:publicid:IDN+utah.cloudlab.us+authority+cm",
"name": "Cloudlab Utah"
},
{
"id": "urn:publicid:IDN+wisc.cloudlab.us+authority+cm",
"name": "Cloudlab Wisconsin"
},
{
"id": "urn:publicid:IDN+clemson.cloudlab.us+authority+cm",
"name": "Cloudlab Clemson"
},
{
"id": "urn:publicid:IDN+utahddc.geniracks.net+authority+cm",
"name": "IG UtahDDC"
},
{
"id": "urn:publicid:IDN+apt.emulab.net+authority+cm",
"name": "Apt Utah"
},
{
"id": "urn:publicid:IDN+emulab.net+authority+cm",
"name": "PG Utah"
}
]
}
}); });
} }
else if (jacksInput) else if (jacksInput)
......
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