Fixed bug that was ommiting the user and password info of the SDN controllers 97/1397/2
authormontesmoreno <pablo.montesmoreno@telefonica.com>
Wed, 29 Mar 2017 11:43:58 +0000 (13:43 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 29 Mar 2017 13:09:15 +0000 (14:09 +0100)
Change-Id: I90ea692bc7bd4c5689aca9f7165defb251c9e850
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
ovim.py

diff --git a/ovim.py b/ovim.py
index 3166972..965cf30 100644 (file)
--- a/ovim.py
+++ b/ovim.py
@@ -351,6 +351,8 @@ class ovim():
                 temp_dict['of_port'] = db_config['port']
                 temp_dict['of_dpid'] = db_config['dpid']
                 temp_dict['of_controller'] = db_config['type']
+                temp_dict['of_user'] = db_config['user']
+                temp_dict['of_password'] = db_config['password']
 
             temp_dict['of_debug'] = self.config['log_level_of']