Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
140d104e
Commit
140d104e
authored
Sep 12, 2011
by
Jonathon Duerig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Add correct component_id for endpoint interfaces on tunnels
parent
cf3438ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+10
-3
No files found.
protogeni/lib/GeniCM.pm.in
View file @
140d104e
...
...
@@ -3052,9 +3052,14 @@ sub SliverWorkAux($$$$$$$)
}
foreach
my
$
tunnel_sliver
(@
tunnel_slivers
)
{
my
$
id
=
GeniXML
::
GetInterfaceId
($
tunnel_sliver
->
rspec
());
if
(
!GeniXML::IsVersion0($linkref)) {
GeniXML
::
SetText
(
"sliver_id"
,
$
ifacexml
{$
id
},
$
tunnel_sliver
->
sliver_urn
());
my
$
ifref
=
$
ifacexml
{$
id
};
if
(
defined
($
ifref
))
{
if
(
!GeniXML::IsVersion0($linkref)) {
GeniXML
::
SetText
(
"sliver_id"
,
$
ifref
,
$
tunnel_sliver
->
sliver_urn
());
GeniXML
::
SetText
(
"component_id"
,
$
ifref
,
$
tunnel_sliver
->
component_urn
());
}
}
#
Find
the
right
interface_ref
and
update
the
manifest
my
$
tmp
=
GeniXML
::
GetElementByVirtualId
($
id
,
'interface_ref'
,
...
...
@@ -3249,6 +3254,8 @@ sub SliverWorkAux($$$$$$$)
}
GeniXML
::
SetText
($
sliverName
,
$
ifaceref
,
$
sliver
->
sliver_urn
());
GeniXML
::
SetText
(
"component_id"
,
$
outref
,
$
sliver
->
component_urn
());
GeniXML
::
SetText
(
"component_id"
,
$
ifaceref
,
$
sliver
->
component_urn
());
}
...
...
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