Made room to specify the PlanetLab prefix (pl or ple) on the command line.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 16 Sep 2008 00:11:09 +0000 (00:11 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 16 Sep 2008 00:11:09 +0000 (00:11 +0000)
qaapi/qa/tests/node/vsys_launch.pl

index 671b551..46a4045 100755 (executable)
@@ -1,7 +1,15 @@
 #!/usr/bin/perl
 use strict;
 
-my $prefix="pl";
+my $prefix;
+
+if ($#ARGV>0) {
+               $prefix=$ARGV[0];
+               print "Setting prefix = $prefix\n";
+}
+else {
+       $prefix="pl";
+}
 # my $prefix="ple";
 
 my $slice="$prefix"."_netflow";