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-stable
Commits
6b6d1fac
Commit
6b6d1fac
authored
Dec 03, 2008
by
Leigh B. Stoller
Browse files
Minor fixes for tunnels.
parent
db4d0c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAggregate.pm.in
View file @
6b6d1fac
...
...
@@ -809,14 +809,14 @@ sub Create($$$$$$)
print
STDERR
"Could not lookup node at clearinghouse
\n
"
;
goto
bad
;
}
my
$
certificate
=
GeniCertificate
->
LoadFromString
($
blob
->{
'cm'
});
my
$
certificate
=
GeniCertificate
->
LoadFromString
($
blob
->{
'gid'
});
goto
bad
if
(
!defined($certificate));
my
$
component
=
GeniComponent
->
Lookup
($
certificate
->
uuid
());
if
(
!defined($component)) {
$
component
=
GeniComponent
->
CreateFromCertificate
($
certificate
,
$
blob
->{
'url'
});
$
component
=
GeniComponent
->
CreateFromCertificate
($
certificate
);
if
(
!defined($component)) {
print
STDERR
"Could not create component from $certificate
\n
"
;
goto
bad
;
...
...
@@ -866,14 +866,13 @@ sub Create($$$$$$)
print
STDERR
"Could not lookup node at clearinghouse
\n
"
;
goto
bad
;
}
my
$
certificate
=
GeniCertificate
->
LoadFromString
($
blob
->{
'
cm
'
});
my
$
certificate
=
GeniCertificate
->
LoadFromString
($
blob
->{
'
gid
'
});
goto
bad
if
(
!defined($certificate));
my
$
component
=
GeniComponent
->
Lookup
($
certificate
->
uuid
());
if
(
!defined($component)) {
$
component
=
GeniComponent
->
CreateFromCertificate
($
certificate
,
$
blob
->{
'url'
});
$
component
=
GeniComponent
->
CreateFromCertificate
($
certificate
);
if
(
!defined($component)) {
print
STDERR
"Could not create component from $certificate
\n
"
;
goto
bad
;
...
...
protogeni/lib/GeniSliver.pm.in
View file @
6b6d1fac
...
...
@@ -738,7 +738,7 @@ sub Create($$$$$)
"count"
=>
1
,
"vtype"
=>
"$vtype"
,
"nodeid"
=>
$
node
->
node_id
(),
"verbose"
=>
1
})
<
0
)
{
"verbose"
=>
0
})
<
0
)
{
print
STDERR
"Could not create new virtual node on $node
\n
"
;
return
undef
;
}
...
...
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