Skip to content

Commit

Permalink
Added default 'binding_host_id' key in port_q_dict needed by neutron.
Browse files Browse the repository at this point in the history
Change-Id: I4077b62e2109145e91b994533717f720c01f2c13
Closes-Bug: 1514646
  • Loading branch information
sahilsabharwal committed Aug 2, 2016
1 parent 2dc76b3 commit f7ad8c3
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 f7ad8c3

Please sign in to comment.