parameters: (mac)
docstring: Removes all management network reservations for the given mac address
      :param mac: mac of which to remove
      :return: boolean on success / fail
docstring_summary: Removes all management network reservations for the given mac address
      :param mac: mac of which to remove
      :return: boolean on success / fail
docstring_tokens: Removes all management network reservations for the given mac address : param mac : mac of which to remove : return : boolean on success / fail
function: def release_management_ip_for_mac(mac):
      """
      Removes all management network reservations for the given mac address
      :param mac: mac of which to remove
      :return: boolean on success / fail
      """
  
      try:
          management_network = get_network_by_name("default")
          xml = "<host mac='{0}'/>".format(mac)
          management_network.update(libvirt.VIR_NETWORK_UPDATE_COMMAND_DELETE,
                                    libvirt.VIR_NETWORK_SECTION_IP_DHCP_HOST,
                                    -1,
                                    xml,
                                    libvirt.VIR_NETWORK_UPDATE_AFFECT_CONFIG | libvirt.VIR_NETWORK_UPDATE_AFFECT_LIVE
                                    )
          return True
  
      except libvirt.libvirtError as e:
          logger.error(e)
          return False
function_tokens: def release_management_ip_for_mac ( mac ) : try : management_network = get_network_by_name ( "default" ) xml = "<host mac='{0}'/>" . format ( mac ) management_network . update ( libvirt . VIR_NETWORK_UPDATE_COMMAND_DELETE , libvirt . VIR_NETWORK_SECTION_IP_DHCP_HOST , - 1 , xml , libvirt . VIR_NETWORK_UPDATE_AFFECT_CONFIG | libvirt . VIR_NETWORK_UPDATE_AFFECT_LIVE ) return True except libvirt . libvirtError as e : logger . error ( e ) return False