Networking-huawei has new tables in the neutron-db, for supporting the
data consistency between the OpenStack and the Agile Controller. Below
commands can be used to upgrade and verify the neutron-db to support the
networking-huawei plugin.


     1. Checking migrations

      ::

          neutron-db-manage --subproject networking-huawei check_migration
            Running branches for networking-huawei ...
            OK

     2. Checking history of migrations

      ::

          neutron-db-manage --subproject networking-huawei history
            Running history for networking-huawei ...
          270980b1080d -> c4818a243f6f (head), Huawei AC Mechanisam Driver
          <base> -> 270980b1080d, Initial Branch
            OK

     3. Performing the migrations

      ::

          neutron-db-manage  --subproject networking-huawei upgrade head
          INFO  [alembic.runtime.migration] Context impl MySQLImpl.
          INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
            Running upgrade for networking-huawei ...
          INFO  [alembic.runtime.migration] Context impl MySQLImpl.
          INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
          INFO  [alembic.runtime.migration] Running upgrade 270980b1080d -> c4818a243f6f, Huawei AC Mechanisam Driver
            OK

     4. Checking current revision of migrations

      ::

          neutron-db-manage --subproject networking-huawei current
            Running current for networking-huawei ...
          INFO  [alembic.runtime.migration] Context impl MySQLImpl.
          INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
          c4818a243f6f (head)
            OK

Refer neutron alembic migration process for more details.