changed column width
[myslice.git] / portal / templates / slice-tab-experiment.html
index 1430dae..2fb051c 100644 (file)
@@ -1,6 +1,4 @@
-<div class="col-md-2">
-</div>
-<div class="col-md-8">
+<div class="col-md-10 col-md-offset-1">
        <h2>How to access your slice</h2>
        <h3>PlanetLab Europe</h3>
        
@@ -8,15 +6,33 @@
                PlanetLab Europe resources are accessible directly via SSH. Your SSH public key is deployed automatically
                on the reserved nodes. To access your slice on a resource just type the following command:
        </p>
+       {%if ple_resources%}
        <p class="command">
-               $ ssh your_slice_name@planetlab-resource.hostname.com
-       </p>
+       {%for resource in ple_resources %}
+               $ ssh {{ple_slicename}}@{{resource}}<br>
+       {%endfor%}
+       </p>
+       {%else%}
+               <p><b>NOTE:</b> You did not reserve any PLE resources yet. Once reserved, you will get the actual SSH command. A specimen command is given below:</p>
+               <p class="command">
+               $ ssh {{ple_slicename}}@planetlab-resource.hostname.com<br>
+               </p>
+       {%endif%}
+       <p><strong>NOTE:</strong> Your original slicename <b>{{slicename}}</b> has been converted to PlanetLab specific format <b>{{ple_slicename}}</b> in order to do SSH.</p>
+       <p>Please note that the first '.' is replaced by number 8 and the rest of the dot/s are replaced by underscore/s.</p>
        <p>
                Be aware that after you reserve a PlanetLab Europe resource your slice will be deployed with a delay of about 15 minutes, 
                after witch you will be able to access the resource.
        </p>
        
        <h3>FIT IoT-Lab</h3>
+       <p>FIT IoT-Lab resources are accessible directly via SSH and <a href="https://devgrenoble.senslab.info/testbed/" target="_blank">web GUI.</a>
+               To acess IoT-Lab resources using web GUI, use the same login and  password of OneLab portal. To acess Iot-Lab resources using SSH type
+               the following command:
+       </p>
+       <p class="command">
+               ssh {{username}}@fit3-dev.inrialpes.fr
+       </p>
        
        <h3>NITOS</h3>
        
@@ -25,7 +41,7 @@
         The NITOS server address is nitlab.inf.uth.gr, so to connect to the NITOS server:
        </p>
        <p class="command">
-       $ ssh your_slice_name@nitlab.inf.uth.gr
+       $ ssh {{slicename}}@nitlab.inf.uth.gr
        </p>
        
        <p>
        <p>In addition to the main OMF software, this site also hosts OMF sub-projects addressing various related aspects of a testbed's control, measurement, and management.</p>
        <p>More Info: <a href="http://mytestbed.net/projects/omf" target="_blank">http://mytestbed.net/projects/omf</a></p>
 </div>
-<div class="col-md-2">
-</div>