Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4465cbec
Commit
4465cbec
authored
Oct 19, 2009
by
Gary Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When redeeming (or otherwise parsing) a ticket, if both URNs and UUIDs
are present, prefer to use the URN.
parent
337f6350
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+4
-2
No files found.
protogeni/lib/GeniCM.pm.in
View file @
4465cbec
...
...
@@ -1488,9 +1488,11 @@ sub SliverWork($$)
#
Make
sure
all
nodes
requested
are
allocated
.
#
foreach
my
$
ref
(@{$
rspec
->{
'node'
}})
{
my
$
resource_uuid
=
$
ref
->{
'component_uuid'
}
||
$
ref
->{
'uuid'
};
my
$
resource_uuid
=
$
ref
->{
'component_urn'
}
||
$
ref
->{
'component_uuid'
}
||
$
ref
->{
'uuid'
};
my
$
node_nickname
=
$
ref
->{
'virtual_id'
}
||
$
ref
->{
'nickname'
};
my
$
manager_uuid
=
$
ref
->{
'component_manager_uuid'
};
my
$
manager_uuid
=
$
ref
->{
'component_manager_urn'
}
||
$
ref
->{
'component_manager_uuid'
};
#
Let
remote
nodes
pass
through
.
next
...
...
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