Skip ovn db bindings validations when ssl is used
tobiko uses the linux tool ss to validate ovn db bindings - this tool works fine when ovn db connections are based on tcp, but it does not work with ssl This is a temporary workaround to skip those validations when ssl is used Change-Id: I06a6ca29eae051f48ca3fff4f42d255a008ff328
This commit is contained in:
parent
c8e1ad6fff
commit
f43c3d31c8
|
@ -168,6 +168,13 @@ def ovn_dbs_vip_bindings(test_case):
|
|||
ovn_conn_str['sb'] = sh.execute(get_ovn_sb_conn_cmd,
|
||||
ssh_client=controllers[0].ssh_client,
|
||||
sudo=True).stdout.splitlines()[0]
|
||||
|
||||
# TODO(eolivare): add support to verify ssl connections
|
||||
if 'ssl' in ovn_conn_str['nb'] or 'ssl' in ovn_conn_str['sb']:
|
||||
LOG.info('tobiko does not support to verify ovn-db connections when '
|
||||
'they are based on ssl')
|
||||
return
|
||||
|
||||
ovn_conn = {}
|
||||
for db in ('nb', 'sb'):
|
||||
ovn_conn[db] = {}
|
||||
|
|
Loading…
Reference in New Issue