l3node.start $eid $node
+ # FIXME: Quagga unatoc svemu ne moze sama podici sucelja, pa moramo rucno
+ foreach ifc [ifcList $node] {
+ if { [getIfcOperState $node $ifc] == "up" } {
+ nexec vzctl exec $node_id ip link set up dev $ifc
+ }
+ }
+
upvar 0 ::cf::[set ::curcfg]::[set node]::node_id node_id
nexec vzctl exec $node_id sysctl -w net/ipv4/ip_forward=1
#!/bin/sh
-# UGLY hack jer Quagga nezna sama podici interface
-# pohvata sva sucelja
-IFACES=`ip a | grep "<BROADCAST,MULTICAST>" | awk '{ print $2}' | cut -c1-4`
-
-# i sve ih proba podici
-for iface in $IFACES; do
- ip link set up dev $iface
- echo "Setting INTERFACE=$iface to UP"
-done
-
-
export PATH=$PATH:/usr/lib/quagga
zebra -dP0