From 3304b18d9ccbf4c0bfaa17a000f48eae633b93be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kosta=20Pribi=C4=87?= Date: Fri, 16 Oct 2009 13:55:50 +0200 Subject: [PATCH] ovo je bilo nepotrebno ovdje jer ne radimo dodatni l2 bridging za rj45 vec ga direktno bridgeamo s fizickim interfaceom u deployCfg i to radi (pod uvjetom da je l3 ispravno podesen) --- linux/exec.tcl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/linux/exec.tcl b/linux/exec.tcl index a7a7d29..14e8057 100755 --- a/linux/exec.tcl +++ b/linux/exec.tcl @@ -419,13 +419,7 @@ proc l3node.start { eid node } { puts " Interface $ifc at $node links to $peer" - if { [nodeType $peer] == "rj45" } { - # TODO: RJ45 nodes zasad ne podrzavamo - set peerifc [getNodeName $peer] - #set ether [nexec ifconfig $peerifc | grep "HWaddr " | cut -c8-] - set ether [nexec ifconfig $peerifc | grep $peerifc | awk {{print $5}}] - puts " Za RJ45 interface -> MAC(eth0) = $ether" - } else { + # vzctl ne prima ako nije properly padded set ether 40:00:aa:aa:[format %02x $mac_byte4]:[format %02x $mac_byte5] set host_ether 40:00:aa:ff:[format %02x $mac_byte4]:[format %02x $mac_byte5] @@ -434,7 +428,6 @@ proc l3node.start { eid node } { set mac_byte5 0 incr mac_byte4 } - } # puts " nexec vimage $node_id ifconfig $ifc link $ether " nexec vzctl {set} $node_id --netif_add $ifc,$ether,$ifid,$host_ether set ngnodemap($ifc@$node_id) $ifid -- 2.39.5