def get_reserved_bindings(vlan_id, instance_id, switch_ip=None,<EOL>port_id=None):
LOG.debug("<STR_LIT>")<EOL>if port_id:<EOL><INDENT>return _lookup_all_nexus_bindings(vlan_id=vlan_id,<EOL>switch_ip=switch_ip,<EOL>instance_id=instance_id,<EOL>port_id=port_id)<EOL><DEDENT>elif switch_ip:<EOL><INDENT>return _lookup_all_nexus_bindings(vlan_id=vlan_id,<EOL>switch_ip=switch_ip,<EOL>instance_id=instance_id)<EOL><DEDENT>else:<EOL><INDENT>return _lookup_all_nexus_bindings(vlan_id=vlan_id,<EOL>instance_id=instance_id)<EOL><DEDENT>
Lists reserved bindings.