Ensure [designate] url is a valid URI

... using the native URIOpt in oslo.config.

Change-Id: I2753ce0bccbb2607327137d6c1bbc0c2a3276f34
This commit is contained in:
Takashi Kajinami 2024-04-22 14:07:40 +09:00
parent 2db8620523
commit 3bbf259a4e
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ class ZonePrefixIPv6(types.Integer):
designate_opts = [
cfg.StrOpt('url',
cfg.URIOpt('url',
schemes=['http', 'https'],
help=_('URL for connecting to designate')),
cfg.BoolOpt('allow_reverse_dns_lookup', default=True,
help=_('Allow the creation of PTR records')),