Adding checks to determine if a vm's ip addresses are public or private