Merge "Use native IntOpt for overlay_ip_version"

This commit is contained in:
Zuul 2024-04-16 21:47:49 +00:00 committed by Gerrit Code Review
commit f2342e0d17
2 changed files with 9 additions and 9 deletions

View File

@ -15,7 +15,6 @@
from neutron_lib import constants
from oslo_config import cfg
from oslo_config import types
from neutron._i18n import _
from neutron.common import _constants as common_const
@ -68,13 +67,14 @@ ml2_opts = [
"values for external_network_type config option depend "
"on the network type values configured in type_drivers "
"config option.")),
cfg.Opt('overlay_ip_version',
default=constants.IP_VERSION_4,
type=types.Integer(choices=[
(constants.IP_VERSION_4, 'IPv4'),
(constants.IP_VERSION_6, 'IPv6')
]),
help=_("IP version of all overlay (tunnel) network endpoints.")),
cfg.IntOpt('overlay_ip_version',
default=constants.IP_VERSION_4,
choices=[
(constants.IP_VERSION_4, 'IPv4'),
(constants.IP_VERSION_6, 'IPv6')
],
help=_("IP version of all overlay (tunnel) network "
"endpoints.")),
cfg.StrOpt('tunnelled_network_rp_name',
default=common_const.RP_TUNNELLED,
help=_("Resource provider name for the host with tunnelled "

View File

@ -26,7 +26,7 @@ alembic>=1.6.5 # MIT
stevedore>=2.0.1 # Apache-2.0
oslo.cache>=1.26.0 # Apache-2.0
oslo.concurrency>=3.26.0 # Apache-2.0
oslo.config>=9.0.0 # Apache-2.0
oslo.config>=9.4.0 # Apache-2.0
oslo.context>=2.22.0 # Apache-2.0
oslo.db>=4.44.0 # Apache-2.0
oslo.i18n>=3.20.0 # Apache-2.0