Follow up "Support ovs/openflow_processed_per_port configuration option"
This is follow-up of ebd50d6444
and
addresses the following points.
- Add missing release note
- Add unit test assertion of the new resource
- replace the hard-coded default by os_service_default fact to avoid
additional maintenance effort to sync the default
Change-Id: I4de49c4ef317d086cff486e739365384e0d5f3c9
This commit is contained in:
parent
ebd50d6444
commit
2890306d9b
@ -272,7 +272,7 @@
|
|||||||
# [*openflow_processed_per_port*]
|
# [*openflow_processed_per_port*]
|
||||||
# (Optional) If enabled, all OVS OpenFlow rules associated to a port will be
|
# (Optional) If enabled, all OVS OpenFlow rules associated to a port will be
|
||||||
# processed at once, in one single transaction.
|
# processed at once, in one single transaction.
|
||||||
# Defaults to false
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
class neutron::agents::ml2::ovs (
|
class neutron::agents::ml2::ovs (
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
@ -330,7 +330,7 @@ class neutron::agents::ml2::ovs (
|
|||||||
$network_log_rate_limit = $facts['os_service_default'],
|
$network_log_rate_limit = $facts['os_service_default'],
|
||||||
$network_log_burst_limit = $facts['os_service_default'],
|
$network_log_burst_limit = $facts['os_service_default'],
|
||||||
$network_log_local_output_log_base = $facts['os_service_default'],
|
$network_log_local_output_log_base = $facts['os_service_default'],
|
||||||
Boolean $openflow_processed_per_port = false,
|
$openflow_processed_per_port = $facts['os_service_default'],
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include neutron::deps
|
include neutron::deps
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``neutron::agents::ml2::ovs::openflow_processed_per_port``
|
||||||
|
parameter has been added.
|
@ -91,6 +91,7 @@ describe 'neutron::agents::ml2::ovs' do
|
|||||||
should contain_neutron_agent_ovs('network_log/rate_limit').with_value('<SERVICE DEFAULT>')
|
should contain_neutron_agent_ovs('network_log/rate_limit').with_value('<SERVICE DEFAULT>')
|
||||||
should contain_neutron_agent_ovs('network_log/burst_limit').with_value('<SERVICE DEFAULT>')
|
should contain_neutron_agent_ovs('network_log/burst_limit').with_value('<SERVICE DEFAULT>')
|
||||||
should contain_neutron_agent_ovs('network_log/local_output_log_base').with_value('<SERVICE DEFAULT>')
|
should contain_neutron_agent_ovs('network_log/local_output_log_base').with_value('<SERVICE DEFAULT>')
|
||||||
|
should contain_neutron_agent_ovs('ovs/openflow_processed_per_port').with_value('<SERVICE DEFAULT>')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'installs neutron ovs agent package' do
|
it 'installs neutron ovs agent package' do
|
||||||
|
Loading…
Reference in New Issue
Block a user