code: def add_nexusport_binding(port_id, vlan_id, vni, switch_ip, instance_id,
                            is_native=False, ch_grp=0):
      
      LOG.debug("add_nexusport_binding() called")
      session = bc.get_writer_session()
      binding = nexus_models_v2.NexusPortBinding(port_id=port_id,
                    vlan_id=vlan_id,
                    vni=vni,
                    switch_ip=switch_ip,
                    instance_id=instance_id,
                    is_native=is_native,
                    channel_group=ch_grp)
      session.add(binding)
      session.flush()
      return binding
docs: Adds a nexusport binding.