kolla-ansible/kolla_ansible
Mark Goddard fc2292b230 Use jinja2.pass_context instead of contextfilter
The contextfilter decorator was deprecated in jinja2 3.0.0, and has been
dropped in 3.1.0. This results in the following warning, and failed
attempts to use filters:

    [WARNING]: Skipping plugin (filters.py) as it seems to be invalid:
    module 'jinja2' has no attribute 'contextfilter'

This change switches to use the pass_context decorator. The minimum
version of Jinja2 is raised to 3 to ensure pass_context is present.

Change-Id: I649dd6211d3ae72b9539bc44652ef8cf5d579777
2022-03-24 16:29:26 +00:00
..
cmd Support storing passwords in Hashicorp Vault 2021-06-30 15:16:12 +01:00
tests Replace deprecated assertRaisesRegexp 2021-11-09 09:02:43 +08:00
__init__.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00
exception.py Add custom filters for checking services 2019-09-16 12:48:52 +00:00
filters.py Use jinja2.pass_context instead of contextfilter 2022-03-24 16:29:26 +00:00
fluentd_filters.py Performance: use a single config file for fluentd 2020-07-28 12:14:48 +01:00
hashi_vault.py Support storing passwords in Hashicorp Vault 2021-06-30 15:16:12 +01:00
helpers.py Fix kolla_address in IPv6 fully-routed topo case 2020-05-19 19:49:14 +02:00
kolla_address.py Use jinja2.pass_context instead of contextfilter 2022-03-24 16:29:26 +00:00
nova_filters.py Add unit tests for Nova Cells filters 2019-10-18 13:13:32 +00:00
put_address_in_context.py Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
version.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00