function render_node(platform, node){
- console.log(platform,node);
+ //console.log(platform,node);
nitos = false;
if('@component_manager_id' in node){
// urn:publicid:IDN+ple+authority+cm
elm = document.getElementById(testbed);
newElement = document.createElement('p');
if('services' in node && 'login' in node['services']){
- console.log(node['services']['login']);
+ //console.log(node['services']['login']);
login = node['services']['login'];
// TODO: Check if this login info has already been printed or not
// Ex: IoT-Lab 1 ssh gateway per site, but info is per node in the RSpec
newElement = document.createElement('p');
var commands = "$ omf stat -t "+node['@component_name']+" # check the status of the node <br>";
commands += "$ omf tell -a on -t "+node['@component_name']+" # turn on the node <br>";
- commands += "$ omf load -i baseline_grid.nzb -t "+node['@component_name']+" # loading OMF image on the node <br>";
- commands += "$ omf root@"+node['@component_name']+" # ssh to the node";
+ commands += "$ omf load -i baseline.ndz -t "+node['@component_name']+" # loading OMF image on the node <br>";
+ commands += "$ ssh root@"+node['@component_name']+" # ssh to the node";
newElement.innerHTML = "<p class='command'>"+commands+"</p>";
elm.appendChild(newElement);