Ask Your Question
0

About creating a new table for neutron by using the command of quantum-db-manage --config-file /path/to/quantum.conf \ --config-file /path/to/plugin/config.ini revision \ -m "description of revision" --autogenerate

asked 2015-02-26 11:05:05 -0500

Wang Xiaoyu gravatar image

Hi, as a new developer, I want to create a new db table in neutron that I met some issues about it. I know that we should use alembic tools to create a new db table. And I read db/migration/README which tell me use the command of quantum-db-manage --config-file /path/to/quantum.conf \ --config-file /path/to/plugin/config.ini revision \ -m "description of revision" --autogenerate to create it, then I will get a new revision id.

So, I wonder what is the role of /path/to/plugin/config.ini. And Which config.ini file should i specify ? Ok, if everybody know that, let me know. Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-26 23:56:50 -0500

Wang Xiaoyu gravatar image

Ok, after trying it some times, I have known that /path/to/plugin/config.ini is the plugin configuer file, such as /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini.

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: 2015-02-26 11:05:05 -0500

Seen: 357 times

Last updated: Feb 26 '15