Commit 0d2e3b60 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix a bug in the 'set ' command, and add descriptions for the

variables.
parent c4b6fe9f
......@@ -3,11 +3,11 @@
XML NS template for making a single-node PlanetLab DevBox experiment
-->
<nstemplate>
<variable name="HWType" default="pc" />
<variable name="NodeName" default="devbox" />
<variable name="HWType" default="pc" descr="Hardware Type" />
<variable name="NodeName" default="devbox" descr="Node Name" />
<!-- This hard-codes the image name, but it seems like we have to do
that somewhere... -->
<variable name="ImageName" default="PLAB-NONSTD" />
<variable name="ImageName" default="PLAB-NONSTD" descr = "Disk Image" />
<nstext>
<section><![CDATA[
# plabdevbox.ns - NS script to make a DevBox experiment on Emulab
......@@ -22,7 +22,7 @@
source tb_compat.tcl
set ns [new Simulator]
set $<NodeName /> [$ns node]
set <NodeName /> [$ns node]
tb-set-hardware $<NodeName /> <HWType />
tb-set-node-os $<NodeName /> "<ImageName />"
......
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