functional: Pass string tag to other_config

other_config is a map type expecting {"string": "string", } values.
This patch makes sure string is passed when setting VLAN tag in
other_config.

Change-Id: Ie7af248b4609524631770f76398d06d8092c0f9d
Closes-bug: 1643484
This commit is contained in:
Jakub Libosvar 2016-11-21 04:22:00 -05:00
parent ce5421c6ea
commit 2e5b4cb1f9
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ class OVSBaseConnectionTester(ConnectionTester):
bridge.set_db_attribute('Port', port_name, 'tag', tag)
other_config = bridge.db_get_val(
'Port', port_name, 'other_config')
other_config['tag'] = tag
other_config['tag'] = str(tag)
bridge.set_db_attribute(
'Port', port_name, 'other_config', other_config)