发起问题

leileiz 的档案 - activity

2019-11-21 05:42:31 -0500 获得奖牌  著名问题 (source)
2019-11-21 05:42:31 -0500 获得奖牌  热门的问题 (source)
2019-11-21 05:42:31 -0500 获得奖牌  受欢迎的问题 (source)
2014-01-10 14:41:05 -0500 回答问题 Can different tenants's network can be used by all tenants for vm boot?

Go back to see the policy.json and the behavior in my environment make sense.

2014-01-10 11:28:02 -0500 回答问题 Can different tenants's network can be used by all tenants for vm boot?

My environment works out tenant A can use tenant B's network NB. I don't think it's reasonable.

2014-01-10 09:43:11 -0500 问了问题 Can different tenants's network can be used by all tenants for vm boot?

Here's a senario,

Tenant A has network "NA". Tenant B has network "NB".

When booting vm with OS_TENANT_NAME "A" , can network NB used for vm creation under this scenario? My assumption is no.

2014-01-09 02:59:14 -0500 回答问题 what's the role of slave_connection in neutron.conf

Thanks ZhiQiang Fan, that solved my question.

2014-01-08 05:05:28 -0500 回答问题 what's the role of slave_connection in neutron.conf

I don't see any neutron function using slave. But in neutron, there's method for get_session in https://github.com/openstack/neutron/blob/master/neutron/openstack/common/db/sqlalchemy/session.py (https://github.com/openstack/neutron/...)

That's why I got confused here.

From your reference[0], other projects should get session from oslo get_session(), right? I looked at cinder,nova and neutron, all of them define and consume their own get_session function instead of oslo's. This is potential code refactor work here?

Thanks for explanation!

2014-01-07 06:13:11 -0500 问了问题 what's the role of slave_connection in neutron.conf

In neutron.conf, for section [database], there's two connection as below: ===================[database]================================ [database]

This line MUST be changed to actually run the plugin.

Example:

connection = mysql://root:pass@127.0.0.1:3306/neutron

Replace 127.0.0.1 above with the IP address of the database used by the

main neutron server. (Leave it as is if the database runs on this host.)

connection = sqlite://

The SQLAlchemy connection string used to connect to the slave database

# slave_connection =

What's the role of slave_connection ?