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
08f1f644
Commit
08f1f644
authored
Aug 23, 2017
by
Leigh B Stoller
Browse files
Replace card with iface in wires join.
parent
159c65b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbreport.in
View file @
08f1f644
#!/usr/bin/perl -w
#
# Copyright (c) 2000-201
2
University of Utah and the Flux Group.
# Copyright (c) 2000-201
7
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -430,7 +430,7 @@ if ($showlinks) {
"
left join interfaces as i on r.node_id=i.node_id
"
.
"
and i.ip=v.ip
"
.
"
left join wires as w on i.node_id=w.node_id1
"
.
"
and i.
card=w.card1 and i.port=w.port
1
"
.
"
and i.
iface=w.iface
1
"
.
"
where v.pid='
$pid
' and v.eid='
$eid
' and
"
.
"
i.ip is not NULL and i.ip!=''
"
.
"
order by v.vname,v.member
");
...
...
@@ -811,7 +811,7 @@ if ($showdelays && $state eq EXPTSTATE_ACTIVE) {
"
left join interfaces as i on i.node_id=d.node_id and
"
.
"
(i.iface=d.iface0 or i.iface=d.iface1)
"
.
"
left join wires as w on w.node_id1=i.node_id
"
.
"
and i.
card=w.card1 and i.port=w.port
1
"
.
"
and i.
iface=w.iface
1
"
.
"
where d.pid='
$pid
' and d.eid='
$eid
'
"
.
"
order by d.vname,d.vnode0
");
...
...
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