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
6b8e2f87
Commit
6b8e2f87
authored
Sep 26, 2006
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return node_auxtype info for plab nodes in experiment.info call
parent
a57ac360
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
xmlrpc/emulabserver.py.in
xmlrpc/emulabserver.py.in
+6
-1
No files found.
xmlrpc/emulabserver.py.in
View file @
6b8e2f87
...
...
@@ -1791,13 +1791,15 @@ class experiment:
"(unix_timestamp(now()) - unix_timestamp( "
"greatest(na.last_tty_act,na.last_net_act,na.last_cpu_act,"
"na.last_ext_act))),ni.load_1min,ni.load_5min,ni.load_15min,"
"n.phys_nodeid,r.erole
"
"n.phys_nodeid,r.erole
,GROUP_CONCAT(DISTINCT nx.type) as atype
"
" from reserved as r "
"left join nodes as n on r.node_id=n.node_id "
"left join node_status as ns on ns.node_id=n.node_id "
"left join node_activity as na on na.node_id=n.node_id "
"left join node_idlestats as ni on ni.node_id=n.node_id "
"left join node_auxtypes as nx on nx.node_id=n.phys_nodeid "
"where r.pid=%s and r.eid=%s "
"group by r.node_id "
"order by r.vname"
,
(
argdict
[
"proj"
],
argdict
[
"exp"
]))
osmappings
=
{}
...
...
@@ -1807,6 +1809,9 @@ class experiment:
tmp
[
"name"
]
=
res
[
0
]
tmp
[
"node"
]
=
res
[
1
]
tmp
[
"type"
]
=
res
[
2
]
if
tmp
[
"type"
]
==
"pcplab"
:
tmp
[
"auxtype"
]
=
res
[
12
]
pass
tmp
[
"pnode"
]
=
res
[
10
]
if
not
osmappings
.
has_key
(
res
[
3
]):
osres
=
DBQuery
(
...
...
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