From: Sapan Bhatia Date: Tue, 16 Sep 2008 00:11:09 +0000 (+0000) Subject: Made room to specify the PlanetLab prefix (pl or ple) on the command line. X-Git-Tag: tests-4.3-0~107 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4bb5e1c39354d24a8ff27bba0b5fde6cf78fdc44;p=tests.git Made room to specify the PlanetLab prefix (pl or ple) on the command line. --- diff --git a/qaapi/qa/tests/node/vsys_launch.pl b/qaapi/qa/tests/node/vsys_launch.pl index 671b551..46a4045 100755 --- a/qaapi/qa/tests/node/vsys_launch.pl +++ b/qaapi/qa/tests/node/vsys_launch.pl @@ -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";