check network before create vm