Create api+scenario tests for l7policies
This patch implements l7policy tests for the Octavia
Tempest Plugin.
Depends-On: https://review.openstack.org/#/c/571997/
Change-Id: I58061cd69704da80e48c0963b6639ff8d6051c01
Story: 2001387
Task: 5976
diff --git a/octavia_tempest_plugin/clients.py b/octavia_tempest_plugin/clients.py
index 1bf1ebf..bb08c3b 100644
--- a/octavia_tempest_plugin/clients.py
+++ b/octavia_tempest_plugin/clients.py
@@ -18,6 +18,8 @@
from octavia_tempest_plugin.services.load_balancer.v2 import (
healthmonitor_client)
from octavia_tempest_plugin.services.load_balancer.v2 import (
+ l7policy_client)
+from octavia_tempest_plugin.services.load_balancer.v2 import (
listener_client)
from octavia_tempest_plugin.services.load_balancer.v2 import (
loadbalancer_client)
@@ -45,3 +47,5 @@
self.auth_provider, SERVICE_TYPE, CONF.identity.region)
self.healthmonitor_client = healthmonitor_client.HealthMonitorClient(
self.auth_provider, SERVICE_TYPE, CONF.identity.region)
+ self.l7policy_client = l7policy_client.L7PolicyClient(
+ self.auth_provider, SERVICE_TYPE, CONF.identity.region)