Hi,

I am planning to validate an IP which is accepted part of input from user
in cinder, I need to verify if IP address is valid and it is up in the
network. The dirty way or only way that I know as of now is to create a
socket object and perform inet_aton()and gethostbyaddr()

Jut worried if these operations are safe to perform.

-- 
Thanks,
Ibad Khan
9686594607
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to