Skip to content
GitLab
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
56f27daf
Commit
56f27daf
authored
Sep 13, 2014
by
Leigh B Stoller
Browse files
Add isEmulab() for genesis test.
parent
b7efd342
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Project.pm.in
View file @
56f27daf
...
...
@@ -147,6 +147,7 @@ sub manager_urn($) { return field($_[0], "manager_urn"); }
sub
genesis
($)
{
return
field
($
_
[
0
],
"genesis"
);
}
sub
isAPT
($)
{
return
$
_
[
0
]->
genesis
()
eq
"aptlab"
?
1
:
0
;
}
sub
isCloud
($)
{
return
$
_
[
0
]->
genesis
()
eq
"cloudlab"
?
1
:
0
;
}
sub
isEmulab
($)
{
return
$
_
[
0
]->
genesis
()
eq
"emulab"
?
1
:
0
;
}
#
These
come
from
the
group
not
the
project
.
sub
unix_gid
($)
{
return
$
_
[
0
]->{
'GROUP'
}->
unix_gid
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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