![H3C SeerEngine-DC Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/h3c/seerengine-dc/seerengine-dc_installation-manual_574813028.webp)
24
(Optional.) Configuring the metadata
service for network nodes
OpenStack supports obtaining metadata from network nodes for VMs through DHCP or L3 gateway.
H3C supports only the DHCP method. To configure the metadata service for network nodes:
1.
Download the OpenStack installation guide from the OpenStack official website and follow the
installation guide to configure the metadata service for the network nodes.
2.
Configure the network nodes to provide metadata service through DHCP.
a.
Use the vi editor to open configuration file
dhcp_agent.ini
.
[root@network ~]# vi /etc/kolla/neutron-dhcp-agent/dhcp_agent.ini
b.
Press
I
to switch to the insert mode, and modify configuration file
dhcp_agent.ini
as
follows:
[DEFAULT]
force_metadata = True
Set the value to
True
for the
force_metadata
parameter to force the network nodes to
provide metadata service through DHCP.
c.
Press
Esc
to quit insert mode, and enter
:wq
to exit the vi editor and save the
dhcp_agent.ini
configuration file.
3.
Restart the
dhcp-agent
container.
[root@network ~]# docker restart neutron_dhcp_agent