def get_nve_switch_bindings(switch_ip):
LOG.debug("<STR_LIT>")<EOL>session = bc.get_reader_session()<EOL>try:<EOL><INDENT>return (session.query(nexus_models_v2.NexusNVEBinding).<EOL>filter_by(switch_ip=switch_ip).all())<EOL><DEDENT>except sa_exc.NoResultFound:<EOL><INDENT>return None<EOL><DEDENT>
Return all the nexus nve bindings for one switch.