安装sfc-network

申明:
主参考:https://blog.csdn.net/linshenyuan1213/article/details/78195061
辅参考:https://blog.csdn.net/wuliangtianzu/article/details/78422951

在控制节点上安装

yum -y install python-networking-sfc
SERVICE_PLUGINS_OLD=`openstack-config --get /etc/neutron/neutron.conf DEFAULT service_plugins`
openstack-config --set /etc/neutron/neutron.conf DEFAULT service_plugins ${SERVICE_PLUGINS_OLD},networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin,networking_sfc.services.sfc.plugin.SfcPlugin
openstack-config --set /etc/neutron/neutron.conf sfc drivers ovs
openstack-config --set /etc/neutron/neutron.conf flowclassifier drivers ovs
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent extensions sfc
neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject networking-sfc upgrade head
systemctl restart neutron-server
systemctl restart neutron-openvswitch-agent
systemctl status neutron-server
systemctl status neutron-openvswitch-agent

在计算节点上安装

yum -y install python-networking-sfc
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent extensions sfc
systemctl restart neutron-openvswitch-agent
systemctl status neutron-openvswitch-agent

上一篇:JavaScript 优化 if-else 代码


下一篇:odoo中的视图标签(自用)