Skip to content
GitLab
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
6548cf60
Commit
6548cf60
authored
Dec 06, 2004
by
Leigh B. Stoller
Browse files
ElabInElab change; use inner_elab_role from the reserved table instead
of virt_nodes table.
parent
5a38a137
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
6548cf60
...
...
@@ -5341,15 +5341,12 @@ COMMAND_PROTOTYPE(doemulabconfig)
* that, we will have to figure out how to label the specific lans
* se we know which is which.
*/
res
=
mydb_query
(
"select r.node_id,
vn
.inner_elab_role,vl.ip,r.vname "
res
=
mydb_query
(
"select r.node_id,
r
.inner_elab_role,vl.ip,r.vname "
" from reserved as r "
"left join virt_nodes as vn on "
" vn.vname=r.vname and vn.pid=r.pid and "
" vn.eid=r.eid "
"left join virt_lans as vl on vl.vnode=r.vname and "
" vl.pid=r.pid and vl.eid=r.eid "
"where r.pid='%s' and r.eid='%s' and "
"
vn
.inner_elab_role is not null"
,
"
r
.inner_elab_role is not null"
,
4
,
reqp
->
pid
,
reqp
->
eid
);
if
(
!
res
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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