Handle unset OVN_SRCDIR
Allow the usage of system-installed OVN. This will allow tests that
use ovsdbapp's venv.py in networking-ovn to pass.
Change-Id: I427f5c87058de04db21b23b26d5f1070b2efeb61
(cherry picked from commit 0e3d9743c0
)
This commit is contained in:
parent
251d7c8f17
commit
206cf1465c
|
@ -132,7 +132,7 @@ class OvsOvnVenvFixture(OvsVenvFixture):
|
|||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.add_chassis = kwargs.pop('add_chassis', False)
|
||||
self.ovndir = kwargs.pop('ovndir')
|
||||
self.ovndir = kwargs.pop('ovndir') or '/usr/local/share/ovn'
|
||||
self.PATH_VAR_TEMPLATE += (
|
||||
":{0}/controller:{0}/northd:{0}/utilities".format(
|
||||
self.ovndir))
|
||||
|
|
Loading…
Reference in New Issue