init_neutron
init_mutnauq
recreate_database neutron
/usr/local/bin/neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
# start neutron-api
start_neutron_api
local opts=""
opts+=" --config-file $NEUTRON_CONF"
opts+=" --config-file $NEUTRON_CORE_PLUGIN_CONF"
local cfg_file
for cfg_file in ${_NEUTRON_SERVER_EXTRA_CONF_FILES_ABS[@]}; do
opts+=" --config-file $cfg_file"
done
run_process neutron-api "$NEUTRON_BIN_DIR/neutron-server $opts"
if ! wait_for_service $SERVICE_TIMEOUT $service_protocol://$NEUTRON_SERVICE_HOST:$service_port; then
die $LINENO "neutron-api did not start"
fi
# start q-svc
configure_neutron_after_post_config
iniset /etc/neutron/neutron.conf DEFAULT service_plugins neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
start_neutron_service_and_check
local service_port=9696
local service_protocol=http
local cfg_file_options
determine_config_files neutron-server
_determine_config_server
run_process q-svc '/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
test_with_retry 'wget --no-proxy -q -O- http://192.168.2.96:9696' 'Neutron did not start' 60
# start neutron
start_neutron
start_mutnauq_l2_agent
run_process q-agt '/usr/local/bin/neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
start_mutnauq_other_agents
run_process q-dhcp '/usr/local/bin/neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini'
run_process q-l3 '/usr/local/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent.ini'
run_process q-meta '/usr/local/bin/neutron-metadata-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metadata_agent.ini'
run_process q-metering '/usr/local/bin/neutron-metering-agent --config-file /etc/neutron/neutron.conf --config-file '
# Creating initial neutron network elements
create_neutron_initial_network
OpenStack Neutron Init and Start
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 是session的读写权限问题,在php.ini可以看到session位置: 给予/var/lib/php/ses...
- AFHTTPSessionManager *manager =[AFHTTPSessionManager mana...
- 说明: 本系列文章翻译斯坦福大学的课程:Convolutional Neural Networks for Vis...