def _configure_nxos_db(self, port, vlan_id, device_id, host_id, vni,<EOL>is_provider_vlan):
connections = self._get_port_connections(port, host_id)<EOL>for switch_ip, intf_type, nexus_port, is_native, ch_grp in connections:<EOL><INDENT>port_id = nexus_help.format_interface_name(<EOL>intf_type, nexus_port, ch_grp)<EOL>try:<EOL><INDENT>nxos_db.get_nexusport_binding(port_id, vlan_id, switch_ip,<EOL>device_id)<EOL><DEDENT>except excep.NexusPortBindingNotFound:<EOL><INDENT>nxos_db.add_nexusport_binding(port_id, str(vlan_id), str(vni),<EOL>switch_ip, device_id,<EOL>is_native)<EOL><DEDENT><DEDENT>
Create the nexus database entry.

        Called during update precommit port event.