申明:
主參考: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