![H3C SeerEngine-DC Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/h3c/seerengine-dc/seerengine-dc_installation-manual_574813021.webp)
17
IMPORTANT:
The system might prompts an error message when you execute the
h3c-sdnplugin
controller install
command. You can ignore this message.
9.
Generate the images for the neutron-server and h3c-sec-agent containers.
[root@localhost ~]# neutron_server_image=$(docker ps –format {{.Image}} –filter
name=neutron_server)
[root@localhost ~]# h3c_sec_agent_image=$(echo $neutron_server_image |sed
's/neutron-server/h3c-sec-agent/')
[root@localhost ~]# docker commit $neutron_server_image kolla/neutron-server-h3c
[root@localhost ~]# docker rm –f neutron_server
[root@localhost ~]# docker tag $neutron_server_image kolla/neutron-server-origin
[root@localhost ~]# docker rmi $neutron_server_image
[root@localhost ~]# docker tag kolla/neutron-server-h3c $neutron_server_image
[root@localhost ~]# docker tag kolla/neutron-server-h3c $h3c_sec_agent_image
[root@localhost ~]# docker rmi kolla/neutron-server-h3c
10.
Copy the configuration of
neutron-server
to the
h3c-sec-agent
directory, and edit the
configuration.
[root@localhost ~]# cp –pR /etc/kolla/neutron-server /etc/kolla/h3c-sec-agent
[root@localhost ~]# sed –i 's/neutron-server/h3c-sec-agent/g'
/etc/kolla/h3c-sec-agent/config.json
11.
Start the neutron-server and h3c-sec-agent services.
[root@localhost ~]# source docker-neutron-server.sh
[root@localhost ~]# source docker-h3c-sec-agent.sh
12.
Verify the status of the services.
[root@localhost ~]# # docker ps –filter "name=neutron_server"
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
289e4e132a9b kolla/centos-source-neutron-server:ocata "dumb-init –single-?
1 minutes ago Up 1 minutes neutron_server
[root@localhost ~]# # docker ps –filter "name=h3c_sec_agent"
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
C334f7ec9857 kolla/centos-source-h3c-sec-agent:ocata "dumb-init –single-?
1 minutes ago Up 1 minutes h3c_sec_agent
Parameters and fields
This section describes parameters in configuration files and fields included in parameters.
neutron.conf
Parameter
Description
service_plugins
Extension plug-ins loaded to OpenStack.
The security plug-in supports the following firewall services, and you can change
the values as follows:
•
For the open-source firewall plug-in agent mode, change
firewall
in the value
to firewall.
•
If deployment of firewall policies and rules takes a long time, change
firewall
in the value to
fwaas_h3c
.
•
For the open-source firewall plug-in not in agent mode, change
firewall
in the
value to
firewall_h3c
.
In the /etc/kolla/neutron-server/ directory of neutron_server, you can configure the
service_provider only once for the same service. Do not configure the