Commit Graph

265 Commits

Author SHA1 Message Date
Zuul 3ea19aaea1 Merge "Drop compatibility with very old puppetlabs-inifile" 2024-01-22 17:12:51 +00:00
Takashi Kajinami be83863a17 Add support for Taas (Tap-as-a-Service)
This introduces support for the Tap-as-a-Service plugin[1].

[1] https://opendev.org/openstack/tap-as-a-service

Change-Id: I8b4dfd6cd02d61cb4ef07e117af39c44420e93a4
2024-01-21 06:13:45 +00:00
Takashi Kajinami f52502f283 Drop compatibility with very old puppetlabs-inifile
The logic is no longer needed since puppetlabs-inifile 0.10.0[1] and
the current minimum version is 2.0.0.

[1] 2f22483c87

Change-Id: I589847c426560c66e651193ed03a2bcefde72194
2024-01-19 10:43:51 +09:00
Zuul cbb5cdb056 Merge "Deprecate support for Contrail Neutron plugin" 2023-11-27 16:48:33 +00:00
Takashi Kajinami 0877c62e92 Deprecate support for Contrail Neutron plugin
Contrail Neutron plugin, aka Tungsten Fabric Neutron plugin, is not
aligned with the latest OpenStack release[1].

 - openstacksdk is pinned to <2.0.0 but 2.0.0 is now in global
   requirements

 - keystoneauth1 is pinned to <5.1.0 but 5.3.0 is now in global
   requirements

Because these mean that the plugin does not work with the latest
OpenStack, we expect no user is actually using it.

[1] https://github.com/tungstenfabric/tf-neutron-plugin

Change-Id: I9376c12e86a85f94742772d51811fc86f4f27d9b
2023-11-24 22:21:50 +09:00
Takashi Kajinami e1ef491c24 Stop reading keystone_authtoken options
Using credentials in keystone_authtoken options for neutron_* resources
was deprecated some cycles ago[1].

[1] 46d6900522

Change-Id: Ifbec239a21dfd84991164877594f110fc01b0688
2023-11-16 15:27:48 +09:00
Takashi Kajinami 789af51442 neutron_network: Remove l3_ext network for NSX plugin
... because we have removed support for NSX plugin.

Change-Id: Ie1d8920ecaa351544c94c71f16bdd9fa2db2e798
2023-11-07 09:30:05 +09:00
Takashi Kajinami c53d41b0af neutron_network: Add missing geneve network type
Change-Id: Ia0d7bbb55b94d258974d282428edcc90727e505a
2023-11-07 09:29:39 +09:00
Zuul ec45861b2d Merge "Remove support for nuage plugin" 2023-10-26 17:41:46 +00:00
Takashi Kajinami 10b599e4a1 Remove support for nuage plugin
The nuage plugin has been retired[1].

[1] https://github.com/nuagenetworks/nuage-openstack-neutron/tree/master

Change-Id: I35220be931b6ea8fc35536ae10aa51d19c22b79d
2023-10-23 11:09:12 +09:00
Takashi Kajinami 6c83372631 Remove support for netwokring-odl
The networking-odl project was deprecated during 2023.2 cycle.

Change-Id: I4ffbcecfde80791bde946fe6add006d1fd75c290
2023-10-23 11:00:59 +09:00
Takashi Kajinami 58cdbc1e4c ml2: Deprecate support for Nuage mechanism driver
It seems the Nuage plugin is no longer maintained[1].

[1] https://github.com/nuagenetworks/nuage-openstack-neutron/tree/master

Change-Id: I01133127859f16289aa3f1830ca8a1feff669404
2023-09-12 00:58:56 +09:00
Rodolfo Alonso Hernandez 240ba0babd Add support for the OVN Neutron Agent service
This patch adds support for the OVN Neutron Agent service [1].

This new agent will include any needed OVN functionality not
implemented in ovn-controller. This agent will, in a future, include
the metadata service, superseding the OVN Metadata Agent.

[1]https://review.opendev.org/c/openstack/neutron-specs/+/868076

Related-Bug: #2000385
Related-Bug: #1998608
Change-Id: I14a3868d991fbbb3472e29a7796aa61e8d225b98
2023-03-28 14:02:33 +09:00
Takashi Kajinami 0235eb47aa Remove tenant_* properties
These were deprecated[1] during the past cycle so can be removed now.

[1] 91c9bc3f33

Change-Id: Ib1d2a70a8e40680ebb582cbf4e59a0c018c21447
2023-03-13 12:08:53 +09:00
Takashi Kajinami dae8ec409c neutron_router: Prohibit updating project_id/name
We already prohibit updating tenant_id and tenant_name. Because
the provider does not have logic to handle the update, we should also
prohibit updating these properties.

Change-Id: Iabab109d21cd0a09a75e1fd06740f7360723af48
2022-12-01 13:15:19 +09:00
Takashi Kajinami 7c752068f1 Remove wrong deprecation mark of project_* properties
The project_name property and the project_id property are not meant to
be deprecated because these replaces the old tenant_* properties. This
change removes the (DEPRECATED) marks erroneously added.

Change-Id: I67fc4d9bd3172ac35bae16c75ee8757d114a6d41
2022-11-25 12:11:41 +09:00
Takashi Kajinami 746280be86 Remove support for networking-vpp plugin
... because it was deprecated during Zed cycle by [1].

[1] 7a47c5a29d

Change-Id: I64da797bc921702f710e7328ef3e230354e2ceaf
2022-11-18 05:38:28 +00:00
Takashi Kajinami ed0709cb48 Remove support for NSX plugin
It was deprecated during Zed cycle by [1], because the plugin is no
longer maintained.

[1] c148a64307

Change-Id: I95feecae2e3beaed00b4a8da4c2340a0006993c8
2022-11-18 05:38:23 +00:00
Takashi Kajinami 8e007943dc Remove support for linuxbridge plugin config
... because it has been unused actually and was formally deprecated
during Zed cycle[1].

[1] 959c1cefee

Change-Id: Ie43d17c3e7d411c723986f52c4c2e1d49713711f
2022-11-18 14:38:06 +09:00
Takashi Kajinami 2a8ca843d0 neutron_network: Allow customizing MTU
Closes-Bug: #1590039
Change-Id: I203014f15f00b6f8f0306e7bc75f45247df4f7b7
2022-08-25 14:11:29 +09:00
Zuul 1307d993d2 Merge "Remove unused resrouce type to manage ml2_conf_sriov.ini" 2022-08-02 05:00:18 +00:00
Zuul bb522e0fc6 Merge "Deprecate support for NSX plugin" 2022-08-01 10:05:02 +00:00
Takashi Kajinami 717436ecab Remove unused resrouce type to manage ml2_conf_sriov.ini
The ml2_conf_sriov.ini file was removed during Ocata cycle by [1], and
now no additional file is required by neutron-server. This change
removes the resource type because it is not used in any manifest files.

[1] https://review.opendev.org/c/openstack/neutron/+/413439

Change-Id: If959e3751f881107bf5e697f044df99406677bd2
2022-08-01 18:43:22 +09:00
Takashi Kajinami 44d61b4d29 Remove transformer to set [DEFAULT] router_id
The router_id parameter was removed from Neutron[1] and its support was
removed from puppet-neutron long ago[2]. The transformer has not been
used since then.

[1] 448bc8e5220d3633f9c9ee804de0a38c2d829d78
[2] a30d2e7d77

Change-Id: I6ed1cc97cb7115bedcf0ee3204396828e8913835
2022-07-08 01:18:27 +09:00
Takashi Kajinami c148a64307 Deprecate support for NSX plugin
The NSX plugin repo looks unmaintained. No release was created since
Victoria and the repository does not have a few stable branches
(wallaby and xena). Master has not been updated for a while but only
a few stable branches are maintained. (eg. [1])

We asked project status in the mailing list[2] and I also tried to
directly reach out to the maintainer but we haven't heard any response.

Also, VMWare already announced that NSX-T 3.y will be the last release
series which supports KVM based OpenStack and they support only their
own OpenStack distribution (VIO)[3].

Based on the above items, we assume there would be no user interested
in using puppet-neutron to deploy RHEL/Ubuntu based OpenStack with
NSX-T integrated, and deprecate support for the plugin, so that we can
remove the unused implementation completely after the Zed release.

[1]
e5b7a2f680604244a800e329d9afbbaedc4097e9 was merged in xena but has
never been proposed or merged to master.

[2]
http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028573.html

[3]
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/rn/vmware-nsxt-data-center-32-release-notes/index.html#feature--api-deprecations-and-behavior-changes

Change-Id: I4cfd26bb39155f74008640094585a8328f8a7bca
2022-06-29 07:54:54 +09:00
Zuul 7a7c469b85 Merge "Fix typos in parameter descriptions and tests" 2022-06-28 12:56:53 +00:00
Rajesh Tailor 39e6b0e574 Fix typos in parameter descriptions and tests
Change-Id: I72d4b0fde29e4313d297b9b6e55fea7a9ce0d847
2022-06-27 18:23:54 +05:30
Rajesh Tailor bd55507a5b Fix some trivial typos in puppet code
This change fixes some typos in puppet code (apart from
parameter descriptions and/or comments) which might affect
module functionality.

Change-Id: I3f310ee89b99078582b174c2c288a53cac47e5ed
2022-06-27 18:20:24 +05:30
Zuul e036be911d Merge "Deprecate support for linuxbridge plugin config" 2022-06-14 10:59:35 +00:00
Takashi Kajinami fecb262ede Add macvtap mechanism driver support
This change adds support for macvtap mechanism driver, which is part
of the ml2 plugin.

Change-Id: I101db1ffbe7c183cd34d8a0162c305e503e55d43
2022-06-10 14:26:23 +09:00
Takashi Kajinami 959c1cefee Deprecate support for linuxbridge plugin config
The file no longer exists since linuxbridge was integrated to the ml2
plugin as a mechanism driver.

Change-Id: Ib34c67905db31e32653314c8873a938dcbd04ed3
2022-06-10 09:35:17 +09:00
Takashi Kajinami 5c6045d05e Remove handling of 'u' prefix
... because the prefix is no longer printed in Python 3.

In python 2
>>> print({u'foo': u'baa'})
{u'foo': u'baa'}
>>> print([u'foo', 'baa'])
[u'foo', 'baa']

In python 3
>>> print({u'foo': u'baa'})
{'foo': 'baa'}
>>> print([u'foo', 'baa'])
['foo', 'baa']

Change-Id: I8dc8f83b3be836f201b1df4bfaaa781a77d08557
2022-05-18 10:48:14 +09:00
Takashi Kajinami e5f3f77a7d Nuage: [RESTPROXY] serverauth should be secret
This parameter includes the password string, thus should be hidden.

Change-Id: If3f9c7b01aedeacea1e773438b812bc53918c5d8
2022-04-18 19:01:42 +09:00
Takashi Kajinami 4117660c38 Remove support for the Nicira NVP plugin
... because it was deprecated during the past cycle[1].

[1] b341a88c4a

Change-Id: I5c6ddc3ab9c0dc693652386989916d6ec3db4518
2022-04-10 14:05:14 +00:00
Zuul 568068861c Merge "Deprecate usage of authtoken parameters in providers" 2022-03-13 14:20:20 +00:00
Zuul b5df6c8222 Merge "Ensure auth_endpoint is reset" 2022-03-03 13:47:16 +00:00
Zuul 66c44fd2f8 Merge "Remove unused csv library" 2022-03-03 13:47:13 +00:00
Takashi Kajinami 46d6900522 Deprecate usage of authtoken parameters in providers
When SRBAC is completely implemented according to the current spec,
each service user no longer has full admin privilege but has access
limited to the actual requirement. This means that we are no longer
able to use service users to create resources.

This change is a prep-work to get rid of usage of the service user,
currently loaded from authtoken parameters in the .conf file. Now
each providers loads clouds.yaml file placed in /etc/openstack/puppet.

Depends-on: https://review.opendev.org/806474
Depends-on: https://review.opendev.org/828025
Change-Id: I55436944a6cdeca7786cd07580d21643094d2d8e
2022-02-21 23:58:27 +09:00
Takashi Kajinami 588e189c85 Ensure auth_endpoint is reset
The auth_endpoint variable is loaded from neutron.conf, thus it should
be cleared when configurations loaded by neutron.conf is cleared.

Change-Id: I4defb57ab8df0b47769001089e839d10c741fd4a
2022-02-18 22:58:06 +09:00
Takashi Kajinami 0730989e22 Remove unused csv library
The library is no longer used by the neutron provider directly, thus
the require statement can be removed.

Change-Id: I94cb39c20b15065f1f628a0bf34192960e54d57f
2022-02-18 22:55:01 +09:00
Takashi Kajinami 781f8d6c8f Fix wrong property name in deprecation warning
This change fixes the wrong property name (project_id instead of
project_name) in deprecation warning messages introduced by
91c9bc3f33 .

Change-Id: If6e3afef57f1625c9bd4ee27aecf1e16c2862976
2022-02-16 12:26:44 +09:00
Zuul 3d03306ae4 Merge "Deprecate tenant_* properties" 2022-02-15 18:48:05 +00:00
Zuul 48d5ab6537 Merge "Remove deprecated neutron_api_config" 2022-02-15 18:48:02 +00:00
Takashi Kajinami 91c9bc3f33 Deprecate tenant_* properties
Tenant is a terminology used in old Keystone v2 API. This change
replaces it by "project" which is used in current Keystone v3 API.

Change-Id: I76799652ffa32dbe0447312fea72b0db0fab9743
2022-02-13 21:16:36 +09:00
Takashi Kajinami 01ec1c56f7 neutron_port: Ensure network and subnet are created
This change fixes the wrong key used to look up the neutron_network
resource which should be created before a neutron_port is created.

Also, additional requirement for neutron_subnet is added, so that
the subnet is created before a port which belongs to that subnet is
created.

Change-Id: Ie8d379d5dbb7b4095d8dc35311170ab2e07b6a76
2022-02-13 21:16:36 +09:00
Takashi Kajinami dd01d1a0ed Remove deprecated neutron_api_config
The neutron_api_config type was deprecated during Victoria cycle in
favor of the neutron_api_ini type which provides the same feature[1].

Because some cycles have passed since that deprecation, we are now
ready to remove it.

[1] 2daa0b1644

Change-Id: I8bdc79a599b740a12dc40f8733d210c2929f550c
2022-02-13 01:47:13 +09:00
Takashi Kajinami 2ef08f70b1 neutron_router: Fix detection of tenant_id
This change fixes the wrong key used to pick up tenant_id, which was
introduced by 75ca125cfa .

Change-Id: Icb0d67a70f940182c69e3a877e69425f75f98135
2022-02-12 23:13:36 +09:00
Takashi Kajinami d119c425b7 Remove inefficient usage of autorequire
This change removes inefficient usage of autorequire, with the wrong
resource name(The resource name should include section name) in
neutron_security_group. The necessary dependency is already enforced
by another autorequire which depends on service::end anchor.

Change-Id: I6bbc2e1a72142a22c30f45537be855bfb3c512c8
2022-01-20 00:05:14 +09:00
Zuul fb68425dce Merge "Use openstack cli to manage neutron routers" 2021-11-29 16:54:25 +00:00
Zuul f063826af4 Merge "Use openstack cli to manage neutron router interfaces" 2021-11-29 16:54:22 +00:00