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
f38be792
Commit
f38be792
authored
Jan 13, 2011
by
Leigh B Stoller
Browse files
Add stub Stop() method since GeniAggregate will now call all
Start/Stop methods from its Start/Stop
parent
74a40736
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniSliver.pm.in
View file @
f38be792
#
!/usr/bin/perl -wT
#
#
GENIPUBLIC
-
COPYRIGHT
#
Copyright
(
c
)
2008
-
201
0
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2008
-
201
1
University
of
Utah
and
the
Flux
Group
.
#
All
rights
reserved
.
#
package
GeniSliver
;
...
...
@@ -1234,12 +1234,26 @@ sub UnProvision($)
#
sub Start($$)
{
my ($self) = @_;
my ($self
, $version
) = @_;
#
# This is actually implemented in GeniAggregate since currently "link"
# is the smallest entity; you cannot operate on an individual interface.
#
return -1
if (! ref($self));
$self->SetState("started");
return 0;
}
#
# Stop
#
sub Stop($$)
{
my ($self, $version) = @_;
return -1
if (! ref($self));
...
...
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