https://blueprints.launchpad.net/fuel/+spec/security-groups-support-for-ovs
It is required to implement a radio button in Fuel to switch a Neutron Firewall driver. IPTables-based Firewall Driver and Open vSwitch Firewall Driver should be able. IPTables functionality should be used by default.
Until now, only one firewall was implemented in OpenStack’s Neutron project: an iptables-based firewall. As long as now there is a second option to natively utilize OVS for implementing security groups instead of the former iptables/linux bridge solution we should have an attribute in Fuel for selecting firewall driver.
We should add a cluster attrubute for selecting firewall driver and apply appropriate settings in nova and neutron configs.
None
openstack.yaml changes:
attributes_metadata:
editable:
common:
security_groups:
value: "iptables_hybrid"
values:
- data: "openvswitch"
label: "Open vSwitch Firewall Driver"
description: "Choose this driver for OVS based security groups implementation. NOTE: Open vSwitch Firewall Driver requires kernel version >= 4.3 for non-dpdk case"
- data: "iptables_hybrid"
label: "IPTables-based Firewall Driver (No firewall for DPDK case)"
description: "Choose this driver for iptables/linux bridge based security groups implementation."
label: "Security Groups"
group: "security"
weight: 20
type: "radio"
None
None
None
Fuel-library should apply firewall settings in neutron config. * neutron/plugins/ml2/openvswitch_agent.ini: set OVS firewall driver in the securitygroup section. If IPTables-based Firewall Driver was chosen in dpdk case, security groups should be disabled.
None
Data migration should be prepared according to the changes in data models. After upgrade procedure, a Neutron Firewall driver switching is forbidden. An appropriate warning should be added to release notes.
None
None
None
Performance impact is not expected.
Rerun the deployment with changing a Neutron Firewall driver is forbidden. An appropriate warning should be added to release notes.
None
None
The user guide should be updated according to the described feature.
None