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
d3d86a10
Commit
d3d86a10
authored
Aug 27, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix.
parent
4cf3fffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+8
-8
No files found.
protogeni/lib/GeniCM.pm.in
View file @
d3d86a10
...
...
@@ -3155,14 +3155,6 @@ sub SliverWorkAux($$$$$$$$)
my
$
manager_id
=
GeniXML
::
GetManagerId
($
ref
);
my
$
virt_subtype
=
GeniXML
::
GetVirtualizationSubtype
($
ref
);
#
#
Keep
track
of
mapping
between
component_id
and
client_id
to
#
reject
requests
that
change
the
client_id
bound
to
a
#
component_id
.
if
($
virt_subtype
eq
"raw"
||
$
virt_subtype
eq
"raw-pc"
)
{
$
phys2nickname
{$
resource_id
}
=
$
node_nickname
;
}
#
Always
populate
iface2node
mapping
,
even
if
we
let
the
node
#
pass
through
.
foreach
my
$
iface
(
GeniXML
::
FindNodes
(
"n:interface"
,
...
...
@@ -3179,6 +3171,14 @@ sub SliverWorkAux($$$$$$$$)
next
;
}
#
#
Keep
track
of
mapping
between
component_id
and
client_id
to
#
reject
requests
that
change
the
client_id
bound
to
a
#
component_id
.
if
($
virt_subtype
eq
"raw"
||
$
virt_subtype
eq
"raw-pc"
)
{
$
phys2nickname
{$
resource_id
}
=
$
node_nickname
;
}
#
#
Lan
nodes
are
fake
and
do
not
go
into
the
virt
topo
.
Need
#
to
remember
them
though
,
for
when
we
do
the
links
below
.
...
...
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