Ask Your Question
-1

Config values in neutron.conf (Icehouse)

asked 2014-06-09 07:44:20 -0500

vyom gravatar image

updated 2014-06-09 08:14:06 -0500

Hello,

If I run packstack with

CONFIG_NEUTRON_L2_PLUGIN=ml2

The neutron.conf generated, has:

core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin

Whereas, the example in the neutron.conf shows:

# Example: core_plugin = ml2

So, are both the types of configs supported (name vs Python module path) and valid, or only the one shown in the example is correct (just ml2) ?

Same for service_plugins, should I use lbaas,router, or neutron.services.loadbalancer.plugin.LoadBalancerPlugin,neutron.services.l3_router.l3_router_plugin.L3RouterPlugin

Thanks.

edit retag flag offensive close merge delete

Comments

Working values in neutron.conf :-
core_plugin = ml2
service_plugins = router

dbaxps gravatar imagedbaxps ( 2014-06-09 07:58:06 -0500 )edit

Well, what happens if you use one vs. the other? Do they both work? Does one generate an error?

larsks gravatar imagelarsks ( 2014-06-09 08:09:17 -0500 )edit

I am not getting any error. But I wanted to know which is the correct form, if I have to use just the names, then I don't need to edit the answers file for packstack .

vyom gravatar imagevyom ( 2014-06-09 08:13:55 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-06-09 10:11:54 -0500

larsks gravatar image

The ability to use short names rather than fully qualified Python class names was implemented as part of this blueprint:

The change supporting this behavior was merged in January:

This change permits the use of short names, but does not prevent the use of Python class names, so either style will work with this change in place.

edit flag offensive delete link more
0

answered 2014-06-09 10:12:26 -0500

SamYaple gravatar image

Both ways are acceptable.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-09 07:44:20 -0500

Seen: 136 times

Last updated: Jun 09 '14