- Learning OpenStack Networking
- James Denton
- 111字
- 2025-02-24 14:51:46
Installing Neutron packages
To install the Neutron API server, the DHCP and metadata agents, and the ML2 plugin on the controller, issue the following command:
# apt install neutron-server neutron-dhcp-agent
neutron-metadata-agent neutron-plugin-ml2
python-neutronclient
The Neutron DHCP and metadata agents may not be required by all Mechanism drivers but are used when implementing the openvswitch and linuxbridge drivers.
On all other hosts, only the ML2 plugin is required at this time:
# apt install neutron-plugin-ml2
On all nodes, update the [database] section of the Neutron configuration file at /etc/neutron/neutron.conf to use the proper MySQL database connection string based on the preceding values rather than the default value:
[database]
...
connection = mysql+pymysql://neutron:neutron@controller01/neutron