Merge "Make dns_servers option deprecated"

This commit is contained in:
Zuul 2019-05-16 20:52:17 +00:00 committed by Gerrit Code Review
commit 2c36090a4b
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The config option ``CONF.network.dns_servers`` is no longer used
anywhere, so it is deprecated and will be removed in the future.

View File

@ -685,7 +685,10 @@ NetworkGroup = [
cfg.ListOpt('dns_servers',
default=["8.8.8.8", "8.8.4.4"],
help="List of dns servers which should be used"
" for subnet creation"),
" for subnet creation",
deprecated_for_removal=True,
deprecated_reason="This config option is no longer "
"used anywhere, so it can be removed."),
cfg.StrOpt('port_vnic_type',
choices=[None, 'normal', 'direct', 'macvtap'],
help="vnic_type to use when launching instances"