Skip to content

Commit

Permalink
Closes-Bug: #1416585
Browse files Browse the repository at this point in the history
    Fixing multi interface related code changes for 1415585.

Change-Id: I3a1308cdb521a6267a9c2bd94c226aacfffbd374
  • Loading branch information
ajoshi9 committed Feb 3, 2015
1 parent 12a0385 commit cc977d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/server_mgr_puppet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1910,10 +1910,11 @@ def build_contrail_hiera_file(
# host_non_mgmt_gateway
control_intf_dict = provision_params.get("control_net", "")
if control_intf_dict:
server_control_intf = control_intf_dict.get(server_mgmt_ip, "")
server_control_intf = eval(control_intf_dict.get(server_mgmt_ip, ""))
if server_control_intf:
intf_name, intf_details = server_control_intf.popitem()
data += 'contrail::params::host_non_mgmt_gateway: "%s"\n' %(
server_control_intf.get("gateway", ""))
intf_details.get("gateway", ""))
# end if server_control_intf
# end if control_intf_dict
# enf if server_control_ip...
Expand Down

0 comments on commit cc977d2

Please sign in to comment.