当前位置:网站首页>Openstack explanation (22) -- neutron plug-in configuration
Openstack explanation (22) -- neutron plug-in configuration
2022-06-11 09:10:00 【Always a teenager】
Today I will continue to introduce Linux Operation and maintenance related knowledge , The main content of this paper is Neutron The plug-in configuration .
One 、ML2 The plug-in configuration
Above openstack Detailed explanation ( The 21st )——Neutron Component installation and configuration in , We did Neutron Configuration of . today , Let's do Neutron Plug in configuration .
First , Let's configure it Neutron Of ml2 plug-in unit , open Neutron ml2 Configuration file for /etc/neutron/plugins/ml2/ml2_conf.ini, Find the file Zhang Hong's [ml2] modular , Add the following configuration under this module :
[ml2]
type_drivers=flat,vlan,gre,vxlan,geneve
mechanism_drivers=linuxbridge,openvswitch
tenant_network_types=
extension_drivers=port_security
The above configurations respectively indicate the use of flat、vlan、gre
、vxlan and geneve this 5 Drives , Use linuxbridge and openvswich Plug in to create a network , Disable private networks (tenant_network_types The argument follows the equals sign with nothing , This means that the private network is disabled ), And boot port security extension driver .
The completed configuration file is as follows :
after , We find [ml2_type_flat] modular , Add the following under this module :
[ml2_type_flat]
flat_networks=public
The above configuration indicates that the public virtual network is configured as flat The Internet .
The completed configuration is as follows :
after , We found... In the configuration file [securitygroup] part , Add the following under this module :
[securitygroup]
enable_ipset=true
Above configuration contents , Means to enable ipset To enhance the efficiency of security group rules , The completed configuration file is as follows :
Last , We carry out orders :
grep "^[a-Z]" /etc/neutron/plugins/ml2/ml2_conf.ini
You can view the effective configurations in the current configuration file , The results are shown below :
such , our ml2 The plug-in is configured .
Two 、LinuxBridge The plug-in configuration
Next , We need to configure LinuxBridge plug-in unit . The configuration file of the plug-in is /etc/neutron/plugins/ml2/linuxbridge_agent.ini, We open the configuration file , stay [linux_bridge] Under module , Add the following :
physical_interface_mapping=public:ens32
The above configuration ,public hinder ens32 Is the actual network card name of the current device , Please correspond to your network card , The above configuration indicates that the public virtual network and the public physical network interface are corresponding .
after , We find [vxlan] modular , Add the following under this module :
enable_vxlan=false
Disable VXLAN Overlay network .
Last , We find [security_group] modular , Add the following under this module :
enable_security_group=true
firewall_driver=neutron.agent.linux.iptables_firewalld.IptablesFirewalldDriver
Indicates that the security group settings are enabled , And configure relevant drivers .
such ,linuxbridge The configuration is complete , We carry out orders :
grep "^[a-Z]" /etc/neutron/plugins/ml2/linuxbridge_agent.ini
It can display the effective part in the current configuration file , The execution result of this command is as follows :
such , our linxubridge Part of the configuration is completed .
3、 ... and 、DHCP Agent configuration
Last , Let's configure DHCP Agent configuration . open /etc/neutron/dhcp_agent.ini, stay [DEFAULT] Module , Find the following parameters , It is revised as follows :
interface_driver=neutron.agent.linux.interface.BridgeInterfaceDriver
dhcp_driver=neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata=false
The above configuration , Respectively means setting the virtual interface driver , Set up DHCP Drive and refresh routes .
The completed configuration file is as follows :
such , our Neutron The plug-in of the node is configured .
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200
边栏推荐
- [image processing] spatial domain image enhancement
- 市场上的服装ERP体系到底是哪些类型?
- shell脚本之sed详解 (sed命令 , sed -e , sed s/ new / old / ... )
- Success and failure of ERP software from the perspective of enterprise evaluation
- CUMT学习日记——ucosII理论解析—任哲版教材
- 【服装ERP】施行在项目中的重要性
- [C language - Advanced pointer] mining deeper knowledge of pointer
- 20. valid brackets
- 1400. 构造 K 个回文字符串
- [software] ERP model selection method for large enterprises
猜你喜欢

Blinn Phong reflection model

Vagrant mounting pit

报错RuntimeError: BlobReader error: The version of imported blob doesn‘t match graph_transformer

MSF evasion模块的使用

Typescript high level feature 1 - merge type (&)

报错Output image is bigger(1228800B) than maximum frame size specified in properties(1048576B)

山东大学增强现实实验四

ArcGIS 10.9.1 地质、气象体元数据处理及服务发布调用

Pulsar job Plaza | Tencent, Huawei cloud, shrimp skin, Zhong'an insurance, streamnational and other hot jobs

Award winning survey streamnational sponsored 2022 Apache pulsar user questionnaire
随机推荐
Sword finger offer 06 Print linked list from end to end
Award winning survey streamnational sponsored 2022 Apache pulsar user questionnaire
面试题 17.10. 主要元素
SAP ABAP data types and data objects
[scheme development] scheme of infrared thermometer
83. delete duplicate elements in the sorting linked list
844. 比较含退格的字符串
openstack详解(二十二)——Neutron插件配置
Design of wrist sphygmomanometer based on sic32f911ret6
[share] how do enterprises carry out implementation planning?
【服装ERP】施行在项目中的重要性
[C language - function stack frame] analyze the whole process of function call from the perspective of disassembly
How to deal with these problems in the factory production process?
Matlab learning 7- linear smoothing filtering of image processing
剑指 Offer 18. 删除链表的节点
Type-C蓝牙音箱单口可充可OTG方案
Kubelet error getting node help
ERP体系的这些优势,你知道吗?
Pulsar job Plaza | Tencent, Huawei cloud, shrimp skin, Zhong'an insurance, streamnational and other hot jobs
2095. 删除链表的中间节点