Where might a find the data model for neutron database.
I am trying to understand all the tables (including references from one table to another) that are in a standard/typical neutron instance in a standard openstack environment. Where might I find this? I understand underlying relational tables are used mainly by ORM in python using SQLAlchemy. So details/diagrams at either tables or ORM level are welcome.
Hi, Dnia środa, 6 grudnia 2023 19:12:46 CET Gautam Thaker pisze:
I am trying to understand all the tables (including references from one table to another) that are in a standard/typical neutron instance in a standard openstack environment. Where might I find this? I understand underlying relational tables are used mainly by ORM in python using SQLAlchemy. So details/diagrams at either tables or ORM level are welcome.
Neutron internals are documented in [1] but I don't think there are detailed db schema docs there. I don't even think it is documented anywhere really. The best what You can do is probably to check db models in [2] but this may not be all as stadium/3rd party projects (drivers, plugins, etc.) may also add own tables to the Neutron DB. [1] https://docs.openstack.org/neutron/latest/contributor/internals/index.html [2] https://github.com/openstack/neutron/tree/master/neutron/db -- Slawek Kaplonski Principal Software Engineer Red Hat
participants (2)
-
Gautam Thaker
-
Sławek Kapłoński