Add DB sync action

It's needed for manual upgrade database schema

Change-Id: I33dab3d5c0df83d0d99cf4b6b71cb2d91d9af750
Depends-on: I425e028fcabf326d582a1d2e8fd45f761cd1a66c
This commit is contained in:
Sergey Reshetnyak 2017-02-15 20:11:05 +03:00
parent e2465c452a
commit 95f657b584
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
actions:
- name: neutron-db-sync
image: neutron-base
dependencies:
- neutron-db-create
command: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
files:
- path: /etc/neutron/neutron.conf
content: neutron.conf.j2
- path: /etc/neutron/plugins/ml2/ml2_conf.ini
content: ml2_conf.ini.j2