code: def _configure_nxos_db(self, port, vlan_id, device_id, host_id, vni,
                             is_provider_vlan):
          
          connections = self._get_port_connections(port, host_id)
          for switch_ip, intf_type, nexus_port, is_native, ch_grp in connections:
              port_id = nexus_help.format_interface_name(
                  intf_type, nexus_port, ch_grp)
              try:
                  nxos_db.get_nexusport_binding(port_id, vlan_id, switch_ip,
                                                device_id)
              except excep.NexusPortBindingNotFound:
                  nxos_db.add_nexusport_binding(port_id, str(vlan_id), str(vni),
                                                switch_ip, device_id,
                                                is_native)
docs: Create the nexus database entry.
  
          Called during update precommit port event.