<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def free_vpcid_for_switch(vpc_id, nexus_ip):
 """Free a vpc id for the given switch_ip."""


    LOG.debug("free_vpcid_for_switch() called")
    if vpc_id != 0:
        update_vpc_entry([nexus_ip], vpc_id, False, False)