This change ensures hardware offload is disabled. Previously when
hw_offload is false, puppet-vswitch didn't manage the configuration,
thus offload was kept enabled if it was enabled in advance.
Change-Id: I654c0f7f5a5efb845484cb610ff07effd4f33aa9
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I4edd80520afa7ed813562aed2b8e6aeae782fe11
It turns out that this is the the default value provided by tox:
https://tox.readthedocs.io/en/latest/config.html#conf-install_command
So we can remove the line and simply use the default value.
Change-Id: I2421293aa7e93841ce90d42ff6d871a8b65bebcb
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.
Change-Id: I5796055d391ba096d80e54cabbfe5febca221ee3
The vs_config resource requires access to ovs-db thus openvswitch
service should be started before triggering the resource.
Change-Id: I614e488eb38dd27c57ed80f0608a98a2f4163bfb
Puppet 7 has been tested in CI for a while but we haven't seen any
issue with it. Let's officially support the version.
Change-Id: Iea2667d03cc1d2fdf4131ddc9588c1a041747e3d
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.
Change-Id: I0efa6c5d3a986fcb808fca73f0c87a2d993bd739
The vswitch::provider parameter is set to 'ovs_redhat' but it results
in including the vwitch::ovs_redhat class which has never existed.
The parameter is supposed to take ovs or dpdk thus the default should
be ovs even in RedHat OS.
Change-Id: I84d023ab82c0432eeb762682d0496d6c6bbf2e82
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.
Closes-Bug: #1930403
Change-Id: I549c03eebd718994f39831d24387a928bc109c08
Need this so that Puppet functions is imported
from this module since we are using validate_legacy etc.
Change-Id: Ib7591e46058db67869d2b075ad069f1e98bc875d
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I0e18c9c5a144555fae8b882745f671dd9cf9ef06
These two distros are never tested in gate, and there are almost no
activities to keep these support updated for a while.
Change-Id: I6110cd9a62f33e2d046fc2c835aaec73c4532889
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I6c9cab4f80c72eb200336b0dcc3603bec463bd2f
The vswitch::params class includes the openstacklib::defaults class,
thus puppet-openstacklib should be included in dependencies.
Closes-Bug: #1922026
Change-Id: I3000400e380537f0979c19009dc6c354639c2394
This change introduces support for arbitary configurations as is done
in the other modules by nova::config, cinder::config and etc.
This allows users to set any parameter which is not yet supported
directly by puppet-vswitch.
Change-Id: Ica77dc2061bc34aaaadeac9b763bebacc1d32f88
There are no requirement of service restart after updating
the cmd-insert-inv-prov parameter in ovs documentation[1], and
it seems that the parameter can be applied with keeping the service
running.
[1] https://docs.openvswitch.org/en/latest/topics/dpdk/bridge/#emc-insertion-probability
Let's remove notify so that changing the value doesn't trigger
service restart.
Change-Id: I2e9f7d3b27547d33914f07005045b55d8ba82514
This change implement support for the hw-offload option in dpdk. This
parameter is already supported in non-dpdk deployment but is also valid
for dpdk deployment.
Change-Id: Ibd285bf73fa10e6e9cd338625662063dc9a1d753
This change introduces support for the vlan_limit option.
This parameter is currently set to 1 by default, but we should set
it to 2 to enable vlan_transparent, which requires nested vlans.
Related-Bug: #1918418
Change-Id: Id9aaab2a1e3ad2d2d43cd5cddf389d20abaf4461