Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Elijah Grubb
emulab-devel
Commits
c09fe991
Commit
c09fe991
authored
Dec 02, 2010
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add use of Feature, for testing new assign.
parent
27278d74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
tbsetup/mapper.in
tbsetup/mapper.in
+8
-0
No files found.
tbsetup/mapper.in
View file @
c09fe991
...
@@ -99,6 +99,7 @@ use libtblog;
...
@@ -99,6 +99,7 @@ use libtblog;
use
libvtop
;
use
libvtop
;
use
libadminctrl
;
use
libadminctrl
;
use
User
;
use
User
;
use
EmulabFeatures
;
# Protos
# Protos
sub
fatal
(@);
sub
fatal
(@);
...
@@ -220,6 +221,11 @@ if (!TBAdmin() &&
...
@@ -220,6 +221,11 @@ if (!TBAdmin() &&
# multiplex_factor default.
# multiplex_factor default.
$mfactor
=
$experiment
->
multiplex_factor
()
$mfactor
=
$experiment
->
multiplex_factor
()
if
(
!
defined
(
$mfactor
)
&&
defined
(
$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.
# These are the flags to the vtop creation code.
...
@@ -557,6 +563,8 @@ sub RunAssign($$)
...
@@ -557,6 +563,8 @@ sub RunAssign($$)
# Run assign
# Run assign
my
$cmd
=
"
assign
";
my
$cmd
=
"
assign
";
$cmd
.=
"
-new
"
if
(
$newassign
);
my
$args
=
"";
my
$args
=
"";
$args
.=
"
-f rspec
"
$args
.=
"
-f rspec
"
if
(
$userspec
==
1
);
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