From 8cd7c744df2895958b17f7e043d02ce81194cfc0 Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Fri, 30 Nov 2018 21:23:02 -0500 Subject: [PATCH] topotest: remove sleep on staticd startup Signed-off-by: Lou Berger --- tests/topotests/lib/topotest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index f25b066288..e9b8d34ec3 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -863,7 +863,6 @@ class Router(Node): )) self.waitOutput() logger.debug('{}: {} staticd started'.format(self, self.routertype)) - sleep(1, '{}: waiting for staticd to start'.format(self.name)) # Fix Link-Local Addresses # Somehow (on Mininet only), Zebra removes the IPv6 Link-Local addresses on start. Fix this self.cmd('for i in `ls /sys/class/net/` ; do mac=`cat /sys/class/net/$i/address`; IFS=\':\'; set $mac; unset IFS; ip address add dev $i scope link fe80::$(printf %02x $((0x$1 ^ 2)))$2:${3}ff:fe$4:$5$6/64; done') -- 2.39.5