Add a charm config option to enable/disable ovn_emit_need_to_frag.
By default, the value is set to "True" as ovn_emit_need_to_frag
is enabled by default.
Closes-Bug: #1947391
Change-Id: I58fe365ce862430e172ebedf80ebaef9807c910c
Enabled by default since this branch only supports jammy where the
kernel and ovn are new enough to support this flag. This will eliminate
the need for a more complex change or the use of a dedicated opt-in
config option.
For more details, please refer to
I089f95b40803a6cd5e01990acacd599ced3bbd91
Closes-Bug: #1947391
Change-Id: Icc05980b4bc9184ba4e52722c6c11abfcfc0d58c
This option enables configuration of overlay package
repository for installation of OVN packages that are
not available in default distribution repository.
Expected behavior:
* New deployments will use default overlay for
their series.
* Setting this option to "distro" allows new
deployment that does not use overlay repository
* Existing deployments that are upgraded to this
version of the charm won't automatically apply
repository overlay and will keep using their
current defaults.
Closes-Bug: #1992770
Change-Id: I20789f637c9443bd274df5f91522f9e2ce973164
When neutron-api-plugin-ovn charm is upgraded (juju refresh ...) some configuration parameters in ml2_conf.ini may have also updated.
It was observed that sometime those changes are not taken in to account by neutron service because it was not restarted after file content modification.
This change introduces rising of “restart-trigger” key on neutron-plugin relation databag when upgrade-charm event is generated.
With every new “charm-upgrade” event value for “restart-trigger” is updated: f.e. “restart-trigger cf2697c8-f5f0-44b5-8dae-32d893fb209c”.
Principal charm “neutron-api” has implemented logic which triggers neutron service restart as soon as “restart-trigger” key value is changed.
Closes-Bug: #2019798
Change-Id: Ia1f48d86330d6e357ae3b35ce28bbb036788ac4a
Upstream Neutron has declared that the neutron-dynamic-routing service
plugin is now supported when OVN L3 service plugin and mechanism driver
are in use.
https://review.opendev.org/c/openstack/neutron/+/8640514d1a7bd0bc
This change removes the NDR plugin from the filter so that the plugin
is enabled.
Change-Id: Ic101d8c9fd7a674103ea53fe0b56d3c3f315595c
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I62e4e03f73db6e4ddd10b8d221a2ae8fda0a4290
Move filtering of service plugins, mechanism drivers and tenant network
types to charm class.
Add white list for mechanism drivers.
Add black list for service plugins.
Change-Id: I55374006e3adeaf8be04ef69e2cf56619ad3bdb2
Make db migration optional and Train only and update OVN service
plugin entry point for Ussuri.
Add tactical workaround for LP: #1864640
To allow running lint on a Python 3.8 system (Focal), unpin
flake8.
Clean up test-requirements.txt and mock out dependencies rather
than installing them in the unit test virtualenv.
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/187
Change-Id: I8d291e35b1bc52332c4666584277eb41c88ef084