安装networking-sfc

申明:
主参考:https://docs.openstack.org/networking-sfc/queens/
辅参考:
https://blog.csdn.net/linshenyuan1213/article/details/78195061
https://blog.csdn.net/wuliangtianzu/article/details/78422951

在控制节点上安装

1.安装networking-sfc组件


pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens networking-sfc==4.0.0
或者
yum -y install python-networking-sfc

2.配置neutron加载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},flow_classifier,sfc

3.配置networking-sfc服务使能OVS网桥驱动


openstack-config --set /etc/neutron/neutron.conf sfc drivers ovs
openstack-config --set /etc/neutron/neutron.conf flowclassifier drivers ovs

4.同步数据库


neutron-db-manage --subproject networking-sfc upgrade head

5.重启neutron服务


systemctl restart neutron-server
systemctl status neutron-server


在计算节点上安装

1.安装networking-sfc组件


pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens networking-sfc==4.0.0
或者
yum -y install python-networking-sfc

2.配置OVS服务使能networking-sfc扩展功能


openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent extensions sfc

3.重启neutron服务


systemctl restart neutron-openvswitch-agent
systemctl status neutron-openvswitch-agent

原文地址:https://www.cnblogs.com/jipinglong/p/11223212.html