Commit 3d64914b authored by Timothy Stack's avatar Timothy Stack
Browse files

Fix event_agentlist to return the inner control interface when run in

an inner emulab.
parent a0ddc529
#! /usr/bin/env python
# Copyright (c) 2004, 2005 University of Utah and the Flux Group.
# Copyright (c) 2004, 2005, 2006 University of Utah and the Flux Group.
# All rights reserved.
import sys
......@@ -2799,9 +2799,8 @@ class experiment:
ipres = DBQuery("select IP from nodes as n2 "
"left join nodes as n1 on n1.node_id=n2.phys_nodeid "
"left join node_types as nt on n1.type=nt.type "
"left join interfaces as i on "
"i.node_id=n1.node_id and i.iface=nt.control_iface "
"i.node_id=n1.node_id and i.role='ctrl' "
"where n2.node_id=%s",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment