def add_nexusnve_binding(vni, switch_ip, device_id, mcast_group):
LOG.debug("<STR_LIT>")<EOL>session = bc.get_writer_session()<EOL>binding = nexus_models_v2.NexusNVEBinding(vni=vni,<EOL>switch_ip=switch_ip,<EOL>device_id=device_id,<EOL>mcast_group=mcast_group)<EOL>session.add(binding)<EOL>session.flush()<EOL>return binding<EOL>
Adds a nexus nve binding.