refactor: Rename PluginRbacTest => ExtRbacTest
This patch set is a follow up on discussion in [0] which
concluded that Patrole should not test Neutron plugins.
The pertinent discussion from [0] is:
Patrole can test Neutron extensions but not plugins in tree
and that requires renaming the classes
(.*PluginRbacTest => .*ExtRbacTest) to make it clearer.
Having to support all the Neutron plugins in tree is out of scope
for Patrole. Clarifying documentation (which will be done in follow
up) can be added to Patrole documentation to make it clear that
it will only test "main" OpenStack projects, like Tempest.
[0] https://review.openstack.org/#/c/599869/
Change-Id: Iab029f2f875ce2268de12cc2a40e30f2f1a913fe
diff --git a/.zuul.yaml b/.zuul.yaml
index 9ee33cf..555f6f7 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -133,11 +133,14 @@
c-bak: false
- job:
- name: patrole-plugin-base
+ name: patrole-extension-base
parent: patrole-base
description: |
- Patrole plugin job for admin and member roles which
- runs RBAC tests for neutron-tempest-plugin APIs (if the plugin is installed).
+ Patrole plugin job for admin and member roles which runs RBAC tests for
+ neutron-tempest-plugin APIs (if the plugin is installed).
+
+ Covers Neutron extension functionality only. Should not be used for
+ supporting Neutron plugins like fwaas.
required-projects:
- name: openstack/tempest
- name: openstack/patrole
@@ -156,22 +159,22 @@
neutron-qos: true
- job:
- name: patrole-plugin-member
- parent: patrole-plugin-base
+ name: patrole-extension-member
+ parent: patrole-extension-base
voting: false
vars:
devstack_localrc:
RBAC_TEST_ROLES: member
- tempest_test_regex: (?=.*PluginRbacTest)(^patrole_tempest_plugin\.tests\.api)
+ tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api)
- job:
- name: patrole-plugin-admin
- parent: patrole-plugin-base
+ name: patrole-extension-admin
+ parent: patrole-extension-base
voting: false
vars:
devstack_localrc:
RBAC_TEST_ROLES: admin
- tempest_test_regex: (?=.*PluginRbacTest)(^patrole_tempest_plugin\.tests\.api)
+ tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api)
- project:
templates:
@@ -193,8 +196,8 @@
- patrole-py35-member
- patrole-multinode-admin
- patrole-multinode-member
- - patrole-plugin-admin
- - patrole-plugin-member
+ - patrole-extension-admin
+ - patrole-extension-member
gate:
jobs:
- patrole-admin