Networking-sfc安装流程

Networking-sfc安装流程

 

一.版本

Networking-sfc版本与openstack版本对应关系:

Ocata: latest 4.0.x version

Newton: latest 3.0.x version

Mitaka: latest 2.0.x version

 

二.安装

安装Newton openstack如下:

pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/newton networking-sfc==3.0.0

 

三.配置

1. 控制节点

   vim /etc/neutron/neutron.conf

    [DEFAULT]

service_plugins = flow_classifier,sfc

[sfc]

drivers = ovs

[flowclassifier]

drivers = ovs

注:以上在配置文件中没有的选项,自行添加

 

重启服务,加载sfc插件

systemctl restart neutron-server

 

2. 计算节点

   vim /etc/neutron/plugins/ml2/ml2_conf.ini

    [agent]

extensions = sfc

 

重启openvswitch服务,加载sfc

systemctl restart neutron-openvswitch-agent

 

3.同步数据库

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

 

 

官网地址:https://docs.openstack.org/networking-sfc/latest/install/configuration.html

Nsfc源码地址:https://github.com/openstack/networking-sfc/tree/newton-eol

你可能感兴趣的:(Networking-sfc安装流程)