Ovsdb must be up and running before any configuration
option is modified or vswitchd is executed.
Otherwise options won't be modified in DB and/or vswitchd
won't be able to use correct options during start up.
Change-Id: I04948d383272f2e694ec685b3a21d639068125ca
JIRA: VSPERF-291
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
import logging
import re
import os
+import time
import pexpect
from conf import settings
from vswitches.vswitch import IVSwitch
self._reset_ovsdb()
self._start_ovsdb()
- # DB must be up before vswitchd config is altered
+ # DB must be up before vswitchd config is altered or vswitchd started
+ time.sleep(3)
+
self.configure()
try: