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
ee55db43
Commit
ee55db43
authored
Nov 03, 2009
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Anothe small fix for subnodes.
parent
d904f740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+6
-1
No files found.
protogeni/lib/GeniCM.pm.in
View file @
ee55db43
...
...
@@ -1109,6 +1109,7 @@ sub GetTicketAuxAux($$$$$$$$)
my
$
colocate
=
$
rspec
->{
'colocate'
}
||
$
rspec
->{
'phys_nickname'
};
my
$
exclusive
=
$
rspec
->{
'exclusive'
};
my
$
subnode_of
=
$
rspec
->{
'subnode_of'
};
$
exclusive
=
0
if
(
!defined($exclusive));
...
...
@@ -1119,7 +1120,11 @@ sub GetTicketAuxAux($$$$$$$$)
$
rspec
->{
'component_manager_uuid'
}
=
$
ENV
{
'MYUUID'
};
#
Also
update
the
virtexperiment
table
row
.
$
virtnode
->
fixed
($
node
->
node_id
());
#
Do
not
update
subnodes
;
they
are
fixed
to
the
parent
,
#
while
the
parent
is
fixed
to
an
actual
node
.
if
(
!defined($subnode_of)) {
$
virtnode
->
fixed
($
node
->
node_id
());
}
#
#
Shared
and
virt
nodes
do
not
need
to
be
allocated
.
...
...
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