Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
c09fe991
Commit
c09fe991
authored
Dec 02, 2010
by
Leigh B Stoller
Browse files
Add use of Feature, for testing new assign.
parent
27278d74
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/mapper.in
View file @
c09fe991
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment