Commit c09fe991 authored by Leigh B Stoller's avatar Leigh B Stoller

Add use of Feature, for testing new assign.

parent 27278d74
......@@ -99,6 +99,7 @@ use libtblog;
use libvtop;
use libadminctrl;
use User;
use EmulabFeatures;
# Protos
sub fatal(@);
......@@ -220,6 +221,11 @@ if (!TBAdmin() &&
# multiplex_factor default.
$mfactor = $experiment->multiplex_factor()
if (!defined($mfactor) && defined($experiment->multiplex_factor()));
my $newassign =
EmulabFeatures->FeatureEnabled("NewAssign",
$this_user,
$experiment->GetGroup(), $experiment);
#
# These are the flags to the vtop creation code.
......@@ -557,6 +563,8 @@ sub RunAssign($$)
# Run assign
my $cmd = "assign";
$cmd .= "-new"
if ($newassign);
my $args = "";
$args .= "-f rspec "
if ($userspec == 1);
......
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