[OVN] Check pool's operating status is online

Pool status will be set to Online after a member is added to it
or when it is created with listener.

Related-PRODX: PRODX-25229
Change-Id: I31d0a115b46c4313c955fddd639bc8821e9ae901
(cherry picked from commit 7171d811c3998673e70f14c7ab18f7bc8098a607)
diff --git a/octavia_tempest_plugin/tests/scenario/v2/test_pool.py b/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
index 07394cf..3bd41fa 100644
--- a/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
+++ b/octavia_tempest_plugin/tests/scenario/v2/test_pool.py
@@ -448,7 +448,9 @@
         parser.parse(pool[const.CREATED_AT])
         parser.parse(pool[const.UPDATED_AT])
         UUID(pool[const.ID])
-        if CONF.load_balancer.provider == 'tungstenfabric':
+        provider = CONF.load_balancer.provider
+        if (provider == 'tungstenfabric' or
+           (provider == 'ovn' and listener_protocol is not None)):
             # Operating status for a pool without members will be ONLINE if
             # it is attached to a listener
             self.assertEqual(const.ONLINE, pool[const.OPERATING_STATUS])