Deployment fixes

While mass deployment, check if IP address is already assigned to given device or free.