Part 6 of the series – Visit this link for the list of posts.
Installation was straightforward – execute the following command and respond to interactive queries as shown below which are self-explanatory.
apt install -y neutron-server neutron-plugin-ml2 neutron-l3-agent neutron-linuxbridge-agent neutron-dhcp-agent neutron-metadata-agent
The services are not enabled after installation. To ensure services startup on rebooting the server, enable the services, and also restart for further checks.
for service in api rpc-server l3-agent dhcp-agent metadata-agent linuxbridge-agent; do systemctl restart neutron-$service systemctl enable neutron-$service done
Configure ML2 plugin to use Linux-bridge in the backend. Amend/add configuration as shown below. Need not amend existing configurations other than what is shown below.
Amend L3-Agent configuration: /etc/neutron/l3_agent.ini
Amend DHCP agent configuration: /etc/neutron/dhcp_agent.ini
Amend Metadata agent configuration: /etc/neutron/metadata_agent.ini
Amend ML2 plugin configuration: /etc/neutron/plugins/ml2/ml2_conf.ini
Amend Linux bridge agent configuration: /etc/neutron/plugins/ml2/linuxbridge_agent.ini
Amend NOVA configurations: /etc/nova/nova.conf
Create a soft link for ml2 configurations – neutron plugin.
Restart services (neutron / nova) and verify installation.
ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini su -s /bin/bash neutron -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head" for service in neutron-api neutron-rpc-server neutron-l3-agent neutron-dhcp-agent neutron-metadata-agent neutron-linuxbridge-agent nova-api nova-compute; do systemctl restart $service done