fix: Fix keystone_url default sample

Fixed the issue that keystone_url's default sample was incorrect

Change-Id: I0e5157c1f2cb3a89f3abcd6decc3371116a79835
This commit is contained in:
yangshaoxue 2022-12-14 15:00:40 +08:00
parent 49259070ad
commit c7c346de9a
3 changed files with 7 additions and 4 deletions

View File

@ -35,7 +35,7 @@ file ``skyline.yaml.sample`` in ``etc`` directory.
qos: neutron_qos qos: neutron_qos
vpnaas: neutron_vpn vpnaas: neutron_vpn
interface_type: public interface_type: public
keystone_url: http://localhost:5000/v3/ keystone_url: http://127.0.0.1:5000/v3/
nginx_prefix: /api/openstack nginx_prefix: /api/openstack
reclaim_instance_interval: 604800 reclaim_instance_interval: 604800
service_mapping: service_mapping:

View File

@ -24,7 +24,7 @@ openstack:
qos: neutron_qos qos: neutron_qos
vpnaas: neutron_vpn vpnaas: neutron_vpn
interface_type: public interface_type: public
keystone_url: http://localhost:5000/v3/ keystone_url: http://127.0.0.1:5000/v3/
nginx_prefix: /api/openstack nginx_prefix: /api/openstack
reclaim_instance_interval: 604800 reclaim_instance_interval: 604800
service_mapping: service_mapping:

View File

@ -23,9 +23,12 @@ from skyline_apiserver.types import InterfaceType
keystone_url = Opt( keystone_url = Opt(
name="keystone_url", name="keystone_url",
description="Keystone endpoint address", description=(
"Keystone endpoint address. If using domain, "
"top level domain is required. For example: example.org"
),
schema=HttpUrl, schema=HttpUrl,
default="http://localhost:5000/v3/", default="http://127.0.0.1:5000/v3/",
) )
system_project_domain = Opt( system_project_domain = Opt(