Merge "After run manila tempest the share network residue"
diff --git a/manila_tempest_tests/tests/api/base.py b/manila_tempest_tests/tests/api/base.py
index 12a986b..d8bd45a 100644
--- a/manila_tempest_tests/tests/api/base.py
+++ b/manila_tempest_tests/tests/api/base.py
@@ -294,6 +294,12 @@
cls.shares_v2_client, cls.networks_client)
cls.shares_client.share_network_id = share_network_id
cls.shares_v2_client.share_network_id = share_network_id
+ resource = {
+ "type": "share_network",
+ "id": share_network_id,
+ "client": cls.shares_v2_client,
+ }
+ cls.class_resources.insert(0, resource)
@classmethod
def resource_setup(cls):
@@ -1151,3 +1157,9 @@
cls.alt_shares_v2_client, cls.os_alt.networks_client)
cls.alt_shares_client.share_network_id = alt_share_network_id
cls.alt_shares_v2_client.share_network_id = alt_share_network_id
+ resource = {
+ "type": "share_network",
+ "id": alt_share_network_id,
+ "client": cls.alt_shares_v2_client,
+ }
+ cls.class_resources.insert(0, resource)