From 511871a2845a7709bc61a863fa9689f7e942bdd0 Mon Sep 17 00:00:00 2001 From: marko Date: Mon, 28 Jan 2008 19:03:34 +0000 Subject: [PATCH] Unbreak instatiation of physical interface (aka RJ-45) nodes. The problem was an artifact of introduction of per-experiment top level vimage containers, so now we need to assign physical interfaces to top level vimages first, before attempting to connect them via netgraph to other nodes in a virtual topology. Bug found by: Florian PONROY fr.thalesgroup.com Submitted by: Reviewed by: Approved by: Obtained from: --- rj45.tcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rj45.tcl b/rj45.tcl index 684b65c..a65e1eb 100755 --- a/rj45.tcl +++ b/rj45.tcl @@ -26,7 +26,7 @@ # and Technology through the research contract #IP-2003-143. # -# $Id: rj45.tcl,v 1.12 2008/01/05 18:06:25 marko Exp $ +# $Id: rj45.tcl,v 1.13 2008/01/28 19:03:34 marko Exp $ #****h* imunes/rj45.tcl @@ -76,7 +76,8 @@ proc $MODULE.instantiate { eid node } { set ifname [getNodeName $node] set ngnodemap($ifname) $ifname - nexec ifconfig $ifname up promisc + nexec vimage -i $eid $ifname $ifname + nexec vimage $eid ifconfig $ifname up promisc } -- 2.39.5