Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
aeafbab3
Commit
aeafbab3
authored
Jan 02, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add IsControl() method.
parent
c08e7725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
db/Interface.pm.in
db/Interface.pm.in
+6
-0
No files found.
db/Interface.pm.in
View file @
aeafbab3
...
...
@@ -136,6 +136,12 @@ sub IsExperimental($)
return
$
self
->
role
()
eq
TBDB_IFACEROLE_EXPERIMENT
();
}
sub
IsControl
($)
{
my
($
self
)
=
@
_
;
return
$
self
->
role
()
eq
TBDB_IFACEROLE_CONTROL
();
}
#
#
Lookup
by
card
,
port
...
...
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