Skip to content
GitLab
Menu
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
5149d842
Commit
5149d842
authored
Jul 01, 2013
by
Leigh B Stoller
Browse files
Look for IP address on other side of stitch link, so hosts file is
correct.
parent
b9e259ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
5149d842
...
...
@@ -1798,6 +1798,7 @@ sub GetTicketAuxAux($$$$$$$$$)
#
the
user
has
specified
something
impossible
.
#
if
(
exists
($
external_nodemap
{$
node_nickname
}))
{
my
$
external_noderef
=
$
external_nodemap
{$
node_nickname
};
my
$
stitchpath
=
GeniStitch
->
Lookup
($
lanname
,
$
rspec
);
if
(
! defined($stitchpath)) {
$
response
=
...
...
@@ -1879,8 +1880,11 @@ sub GetTicketAuxAux($$$$$$$$$)
$
iface_vport
=
$
external_vportmap
{$
node_nickname
};
$
external_vportmap
{$
node_nickname
}
+=
1
;
$
external_linkmap
{$
lanname
}
=
$
linkref
;
}
else
{
#
Allow
rspec
to
provide
IP
for
other
side
.
$
ip
=
GeniXML
::
GetIp
($
ref
,
$
external_noderef
);
}
else
{
#
#
Sanity
check
the
interface
.
#
...
...
Write
Preview
Supports
Markdown
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