How to add a table to a Nova database: Openstack

I add one class nova.db.sqlalchemy.models to create a linked table in Nova DB, but it does not reflect.

By doing the same in a neutron, a table is created in the neutron database.

The Openstack documentation does not explain how to expand the database anywhere. http://docs.openstack.org/developer/nova/api/nova.db.sqlalchemy.models.html

How can this problem be solved?

+4
source share
2 answers

nova/db/sqlalchemy/migrate_repo/versions/, "nova-manage db sync". . HTH

+3
  • nova/db/sqlalchemy/models.py
  • nova/db/sqlalchemy/migrate_repo/versions/.
    , .py .
  • upgrade() downgrade(), pdf
  • sync nova db, :

nova-manage db sync

+2

All Articles