![H3C SeerEngine-DC Installation Manual Download Page 18](http://html1.mh-extra.com/html/h3c/seerengine-dc/seerengine-dc_installation-manual_574813018.webp)
14
IMPORTANT:
To avoid damaging the installation packages, select binary mode if you are to transfer the package
through FTP or TFTP.
Installing the security plug-in on the OpenStack controller node
1.
Generate startup scripts for the neutron-server and h3c-sec-agent containers.
[root@localhost ~]# runlike neutron_server>docker-neutron-server.sh
[root@localhost ~]# cp docker-neutron-server.sh docker-h3c-sec-agent.sh
[root@localhost ~]# sec –i 's/neutron-server/h3c-sec-agent/g'
docker-h3c-sec-agent.sh
[root@localhost ~]# sec –i 's/neutron_server/h3c_sec_agent/g'
docker-h3c-sec-agent.sh
2.
Edit the
neutron.conf
configuration file.
a.
Use the vi editor to open the
neutron.conf
configuration file.
[root@localhost ~]# sudo vi /etc/kolla/neutron-server/neutron.conf
b.
Press
I
to switch to the insert mode, and then edit the configuration file. For more
information about the parameters, see "Parameters and fields."
For the Pike and Rocky plug-ins, edit the
neutron.conf
configuration file as follows:
[DEFAULT]
service_plugins = firewall,lbaasv2,vpnaas
[service_providers]
service_provider=FIREWALL:H3C:networking_sec_h3c.fw.h3c_fwplugin_driver.H3CFwa
asDriver:default
service_provider=LOADBALANCERV2:H3C:networking_sec_h3c.lb.h3c_lbplugin_driver_
v2.H3CLbaasv2PluginDriver:default
service_provider=VPN:H3C:networking_sec_h3c.vpn.h3c_vpnplugin_driver.H3CVpnPlu
ginDriver:default
IMPORTANT:
For the Pike plug-ins, when the load balancer supports multiple resource pools of the
Context type, you must preprovision a resource pool named
dmz
or
core
on the controller,
and then change the value of the
service provider
parameter to
LOADBALANCERV2:DMZ:networking_sec_h3c.lb.h3c_lbplugin_driver_v2.H3CLbaas
v2PluginDMZDriver:default
or
LOADBALANCERV2:CORE:networking_sec_h3c.lb.h3c_lbplugin_driver_v2.H3CLba
asv2PluginDMZDriver:default
accordingly.
For the Ocata plug-ins, edit the configuration file as follows:
[DEFAULT]
service_plugins =
firewall,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,vpnaa
s
[service_providers]
service_provider=FIREWALL:H3C:networking_sec_h3c.fw.h3c_fwplugin_driver.H3CFwa
asDriver:default
service_provider=LOADBALANCERV2:H3C:networking_sec_h3c.lb.h3c_lbplugin_driver_
v2.H3CLbaasPluginDriver:default
service_provider=VPN:H3C:networking_sec_h3c.vpn.h3c_vpnplugin_ko_driver.H3CVpn
PluginDriver:default