分享

openstack trove 疑问

Kevin517 发表于 2017-4-18 11:26:18 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 4611
最近在学习的 trove 服务。
使用的是 openstack mitaka 版本。

参照 openstack 官网安装完档,在安装 trove 服务的时候有个配置参数不太理解,向大家请教一下

https://docs.openstack.org/mitak ... /trove-install.html

4. Edit the trove.conf file so it includes appropriate values for the settings shown below:
[DEFAULT]auth_strategy = keystone...# Config option for showing the IP address that nova doles outadd_addresses = Truenetwork_label_regex = ^NETWORK_LABEL$...api_paste_config = /etc/trove/api-paste.ini...



上面是 openstack 官网文档的, 对 trove.conf 的配置。

其中
network_label_regex = ^NETWORK_LABEL$
这一条配置不太理解。
看其他人的配置,有这么写的

network_label_regex = ^private$
有人能帮忙解释一下吗?


已有(1)人评论

跳转到指定楼层
arsenduan 发表于 2017-4-18 16:54:56



# Config option for showing the IP address that nova doles out
# For nova-network, set this to the appropriate network label defined in nova
# For neutron, set this to .* since users can specify custom network labels
# You can also optionally specify regex'es to match the actual IP addresses
# ip_regex (white-list) is applied before black_list_regex in the filter chain
network_label_regex = ^private$
#network_label_regex = .* //with neutron enabled
#ip_regex = ^(15.|123.)
#black_list_regex = ^10.0.0.
楼主可以看上面的英文解释。这个是Nova-network的网络配置。
它可以有很多值.* /表示用户可以自定义网络。另外两个相信楼主也已经猜到了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条