Initialize neutron service db with neutron
Partially-Implements: blueprint services-split Change-Id: I407a4bb3c60ab6a491669b4ddd16aee1239808f1
This commit is contained in:
		
							
								
								
									
										10
									
								
								lib/neutron
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								lib/neutron
									
									
									
									
									
								
							| @@ -595,6 +595,16 @@ function init_neutron { | ||||
|     recreate_database $Q_DB_NAME utf8 | ||||
|     # Run Neutron db migrations | ||||
|     $NEUTRON_BIN_DIR/neutron-db-manage --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head | ||||
|     for svc in fwaas lbaas vpnaas; do | ||||
|         if [ "$svc" = "vpnaas" ]; then | ||||
|             q_svc="q-vpn" | ||||
|         else | ||||
|             q_svc="q-$svc" | ||||
|         fi | ||||
|         if is_service_enabled $q_svc; then | ||||
|             $NEUTRON_BIN_DIR/neutron-db-manage --service $svc --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head | ||||
|         fi | ||||
|     done | ||||
| } | ||||
|  | ||||
| # install_neutron() - Collect source and prepare | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Doug Wiegley
					Doug Wiegley