Skip to content

Commit

Permalink
Merge "Added default 'binding_host_id' key in port_q_dict needed by n…
Browse files Browse the repository at this point in the history
…eutron."
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 4, 2016
2 parents 682c1ee + f7ad8c3 commit 2038787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py
Expand Up @@ -2050,6 +2050,8 @@ def _port_vnc_to_neutron(self, port_obj, port_req_memo=None):
port_q_dict['binding:vif_type'] = 'vrouter'
if 'binding:vnic_type' not in port_q_dict:
port_q_dict['binding:vnic_type'] = 'normal'
if 'binding:host_id' not in port_q_dict:
port_q_dict['binding:host_id'] = None

dhcp_options_list = port_obj.get_virtual_machine_interface_dhcp_option_list()
if dhcp_options_list and dhcp_options_list.dhcp_option:
Expand Down

0 comments on commit 2038787

Please sign in to comment.