421 Commits

Author SHA1 Message Date
Takashi Kajinami
c801c6e97b Ensure hardware offload is disabled
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
2021-12-28 17:29:52 +09:00
Takashi Kajinami
1fe71cf5e3 Do not use service resource to restart openvswitch service
Closes-Bug: #1946985
Change-Id: Idac29b0ea6794a52ae9146da8105ebbaf65ee9a3
16.0.0
2021-10-18 08:36:52 +09:00
Takashi Kajinami
f94ebb98af Bump version for the start of Yoga
Bump the major version for the Yoga release after Xena has
been branched.

Change-Id: I914820f39834db55a77f60ae14632a2138b1ad95
2021-10-11 11:59:26 +09:00
c27a8e98ba Update master for stable/xena
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
2021-10-07 08:30:00 +00:00
ZhongShengping
2bbcb10ffa Add information technology in the setup.cfg
Change-Id: Id7659d7fee9a23a5c0747eadee4e95986e76641b
15.4.0
2021-10-01 06:54:50 +08:00
ZhongShengping
70d9173e23 Add license information in the setup.cfg
Change-Id: I5a054af588f983d9761f6a0d6f7bedddd6e5d69e
2021-09-30 16:48:14 +08:00
ZhongShengping
fb14eb3b02 Delete useless code for setup.py
Change-Id: Icf0b7a6d58105b6ae0d7608f7a01da4b55f4c33d
2021-09-30 13:38:33 +08:00
Takashi Kajinami
627f773808 Stop configuring install_command in tox.
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>
2021-09-29 18:22:06 +09:00
Zuul
b2d37fd747 Merge "Fix pbr>=2.0.0 for setup.py" 2021-09-29 09:12:22 +00:00
ZhongShengping
3331f24d0a Fix pbr>=2.0.0 for setup.py
Change-Id: Ie9de832136e53fe49e87ef497a0c4ecb6d696615
2021-09-29 16:37:10 +08:00
ZhongShengping
896f41b9d5 Update openstackdocstheme to the latest version
Change-Id: Ib3ab29ba576a781728943641d764208023939243
2021-09-29 16:06:51 +08:00
ZhongShengping
5ce535f3d4 Update reno to the latest version
Change-Id: Ib0ce20593a16c99d3e8c5ee8c9a151c55f4eb4a9
2021-09-28 17:14:35 +08:00
ZhongShengping
6818044c25 Fix stdlib version in metadata
puppetlabs-stdlib is now using the 8.0.0 version, so we should fix the
stdlib version in metadata.

Change-Id: I5796055d391ba096d80e54cabbfe5febca221ee3
2021-09-23 19:44:23 +08:00
ZhongShengping
4522db353f Prepare Xena RC1
Update the version metadata for Xena milestone RC1

Change-Id: Ief58b5064331725fd578796f4253dcdc818f9714
2021-09-17 17:36:10 +08:00
ZhongShengping
3c71c8941a Prepare Xena M3
Update the version metadata for Xena milestone M3

Change-Id: Idcebe7a4d0d98eb11a612c68c718eca5ed21d191
15.3.0
2021-09-06 15:32:08 +08:00
Takashi Kajinami
96dd49f1ae Apply vs_config after openvswitch service is started
The vs_config resource requires access to ovs-db thus openvswitch
service should be started before triggering the resource.

Change-Id: I614e488eb38dd27c57ed80f0608a98a2f4163bfb
2021-08-23 13:43:32 +09:00
Takashi Kajinami
31f24497f8 Support Puppet 7
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
2021-08-16 18:16:43 +09:00
ZhongShengping
dd6b57baf0 Prepare Xena M2
Update the version metadata for Xena milestone M2

Change-Id: I096ecca5ce804520f58d39db84954c821652df53
15.2.0
2021-07-26 19:03:48 +08:00
Zuul
1879accbb6 Merge "Remove a provider for CentOS/RHEL 6" 15.1.0 2021-06-28 10:26:56 +00:00
zhangboye
f54ecdef2d Drop Fedora support
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
2021-06-12 15:15:30 +08:00
Zuul
026a15143a Merge "Fix default of vswitch::provider in RedHat OS" 2021-06-11 10:32:56 +00:00
Takashi Kajinami
99ab87be9c Remove a provider for CentOS/RHEL 6
CentOS6 and RHEL6 are no longer supported so we'll no longer use that
provider implementation.

Change-Id: I99e6da0110de10467fa44aa894a66814fa632839
2021-06-09 18:28:55 +09:00
Takashi Kajinami
961eed828c Fix default of vswitch::provider in RedHat OS
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
2021-06-09 14:59:17 +09:00
Zuul
9fce00d892 Merge "Set fixture paths for unit tests" 2021-06-02 23:41:52 +00:00
Takashi Kajinami
c6d27c16f9 Set fixture paths for unit tests
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
2021-06-02 14:35:48 +09:00
Tobias Urdin
06719f1ba9 Add puppetlabs-stdlib to dependencies
Need this so that Puppet functions is imported
from this module since we are using validate_legacy etc.

Change-Id: Ib7591e46058db67869d2b075ad069f1e98bc875d
2021-06-01 07:24:07 +00:00
ZhongShengping
f52b53006d Prepare Xena M1
Update the version metadata for Xena milestone M1

Change-Id: I84b80c2c6ea78e1a390517a025e93946a03496a2
2021-05-27 15:50:28 +08:00
Takashi Kajinami
e4fc423170 setup.cfg: Replace dashes with underscores
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
15.0.0
2021-05-11 18:42:49 +09:00
ZhongShengping
89958078db Bump version for the start of Xena
Bump the major version for the Xena release after Wallaby has
been branched.

Change-Id: I05cb48078cd3a6c77c2742bdf755950fe36cb623
2021-04-29 09:38:15 +08:00
Zuul
a16a047b45 Merge "Support arbitary vsiwtch configurations" 2021-04-27 10:44:21 +00:00
Zuul
b26f4153ae Merge "Do not restart ovs when updating other_config:emc-insert-inv-prob" 2021-04-27 10:42:02 +00:00
Zuul
c782ad9087 Merge "Remove old workaround to check service status in Ubuntu" 2021-04-27 07:15:25 +00:00
Takashi Kajinami
b91243937e Drop support for FreeBSD and Solaris
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
2021-04-25 21:51:44 +09:00
Takashi Kajinami
1f63cee543 Remove old workaround to check service status in Ubuntu
Change-Id: Ie7e05985ac06c5536490d48de109d8de7b7c5722
2021-04-25 21:47:44 +09:00
Zuul
ca08c12b94 Merge "Add missing openstacklib to dependencies" 2021-04-05 21:35:33 +00:00
8a0d377dad Update master for stable/wallaby
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
2021-04-01 09:38:50 +00:00
Takashi Kajinami
675cdecba2 Add missing openstacklib to dependencies
The vswitch::params class includes the openstacklib::defaults class,
thus puppet-openstacklib should be included in dependencies.

Closes-Bug: #1922026
Change-Id: I3000400e380537f0979c19009dc6c354639c2394
2021-03-31 17:53:37 +09:00
ZhongShengping
0077e6bb76 Update sphinx to the latest version
Change-Id: If442ee41b53fff446852b7a4672d8abb91866cb9
14.4.0
2021-03-27 15:31:58 +08:00
ZhongShengping
b8bb798fad Prepare Wallaby RC1
Update the version metadata for Wallaby milestone RC1

Change-Id: I3c90516174a19c190108dca963fbe0e23faeaa47
2021-03-26 11:24:17 +08:00
Thomas Goirand
27844698a8 metadata.json: debian 11
Change-Id: I197d419affed165f2d71f14ce6db36a536d16095
2021-03-25 16:15:45 +01:00
Zuul
ab3595ecc5 Merge "Add support for the hw-offload option in dpdk" 2021-03-25 02:43:43 +00:00
Zuul
9fd0804f79 Merge "Add support for vlan_limit option" 2021-03-25 02:43:39 +00:00
Takashi Kajinami
12dfa00378 Update supported Ubuntu version to Focal
... because CloudArchive packages are available for only Focal since
Victoria release.

Change-Id: Icf0c88252b33588dd102783eeb5bcf9782d53335
2021-03-23 21:45:44 +09:00
Takashi Kajinami
71d591a753 Support arbitary vsiwtch configurations
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
2021-03-12 18:25:30 +09:00
Takashi Kajinami
95230113b2 Do not restart ovs when updating other_config:emc-insert-inv-prob
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
2021-03-12 17:57:54 +09:00
ZhongShengping
14f870ca5a Prepare Wallaby M3
Update the version metadata for Wallaby milestone M3

Change-Id: Id76b92448a551e853f168e80cd9e52c9e501afdf
14.3.0
2021-03-12 14:35:44 +08:00
Takashi Kajinami
0d026451bd Add support for the hw-offload option in dpdk
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
2021-03-11 10:53:47 +09:00
Takashi Kajinami
4887f4ccd6 Add support for vlan_limit option
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
2021-03-10 23:54:12 +09:00
ZhongShengping
352a0d3ad5 Prepare Wallaby M2
Update the version metadata for Wallaby milestone M2

Change-Id: I7df9304955b47370ce185410936b364ce2c34004
14.2.0
2021-01-19 11:19:35 +08:00
ZhongShengping
926fcc64eb Prepare Wallaby M1
Update the version metadata for Wallaby milestone M1

Change-Id: Ib2336d98db6b25f0740510565a804237f4806ee1
14.1.0
2020-12-04 13:31:38 +08:00