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." into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 4, 2016
2 parents b9edf40 + fc4d42e commit a6ae5b0
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 a6ae5b0

Please sign in to comment.