Adding sleep after port creation

The sleep is added to avoid the situation when a port is not
in active yet but static route is added.

Related-PRODX: PRODX-5031
Change-Id: I147e29cc762879418ff3447b428ad6db0771cf7f
(cherry picked from commit 3f00cf4443fc40e77b3897c121326328ec30143a)
(cherry picked from commit 9bb27d4f0f03e2a7a6817187ebd99503723ddd4b)
(cherry picked from commit c0c11ab7b0e9af1bbec042ae044e02a76ddf4df2)
diff --git a/neutron_tempest_plugin/scenario/test_connectivity.py b/neutron_tempest_plugin/scenario/test_connectivity.py
index ca7d755..093c8ac 100644
--- a/neutron_tempest_plugin/scenario/test_connectivity.py
+++ b/neutron_tempest_plugin/scenario/test_connectivity.py
@@ -13,6 +13,8 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+import time
+
 import netaddr
 
 from neutron_lib import constants
@@ -105,6 +107,10 @@
         self.create_router_interface(ap1_rt['id'], ap1_subnet['id'])
         self.create_router_interface(ap2_rt['id'], ap2_subnet['id'])
 
+        # NOTE(ohryhorov): the sleep below is added to avoid the situation
+        # when a port is not in active state yet but static route is added.
+        time.sleep(15)
+
         self.client.update_router(
             ap1_rt['id'],
             routes=[{"destination": ap2_subnet['cidr'],