vmware-nsx specific policies are defined as policy-in-code.
- vmware_nsx/policies/lsn.py, qos_queue.py and maclearning.py
are moved from the neutron repo.
- vmware_nsx/policies/providersecuritygroup.py is based on the difference
between etc/policy.json and the old neutron policy.json
- vmware_nsx/policies/security_group.py is based on
- vmware_nsx/policies/network_gateway.py is based on
etc/policy.d/dynamic-routing.json and etc/policy.d/neutron-fwaas.json
have no policies specific to vmware-nsx, so they can be dropped and
we can use policy-in-code definitions in neutron-fwaas and
etc/policy.d/routers.json and flow-classifier.json cannot be
converted into policy-in-code because the default policies are
different from those defined in neutron and networking-sfc.
Note that etc/policy.d/routers.json now has policies which are
different from the default policies defined in the neutron repo.
(Others are clean up by this commit.)
This commit depends on the following patches under review:
(neutron-fwaas policy-in-code support)
(neutron-dynamic-routing policy-in-code support)
(networking-sfc policy-in-code support)
(Drop 3rd-party plugin specific policies)
Partially Implements: blueprint neutron-policy-in-code
Co-Authored-By: Michal Kelner Mishali <email@example.com>
Co-Authored-By: Adit Sarfaty <firstname.lastname@example.org>
As part of the python 3 first effort , this patch adds UT support for
python 3.6 by:
- Updating the zuul.yaml to include the py36 template and jobs.
- Adding a py36-dev target to tox.ini for local testing.
- Updating the upper constraints to use master rather than stable/rocky.
- Updating the version of eventlet used as previous 2x.x versions had
a python 3 bug for monkey patching.
- Consolidating the eventlet monkey patching in the code.
There is no reason to do it for the plugin since it does not split
namespace into pieces. By doing it, we avoid the need to generate and
ship .pth file with the package.