support get_ip from user-defined network group

Hi,
This commit supports using IP in user-defined OpenStack network group.
Thanks.