added check if ip is None in get_vlan_by_ip
added check by re mac sent or just string in ajax_get_nodename_by_mac