[openstack-dev] [neutron] use hostname as nameserver when creating subnet

Sun zhengnan nnusun at gmail.com
Mon Apr 18 04:04:49 UTC 2016


Hi all

Can I use hostname as a nameserver when creating or updating a subnet?
I noticed that both ip and hostname are checked in
neutron/api/attributes.py with _validate_nameservers.
But only ip address is allowed in _validate_subnet in db_base_plugin_v2.py

Thanks
Sun
-- 

_______________________
孙正男(Sun Zhengnan)
Email: nnusun at gmail.com
Phone: (+86)15050580803
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160418/e4e2ae39/attachment.html>


More information about the OpenStack-dev mailing list