Merge "Limit IPv4/IPv6 Prefix length in case of contrail deployment"
diff --git a/_modules/runtest/tempest_sections/network.py b/_modules/runtest/tempest_sections/network.py
index c1baa6a..b9d8cf9 100644
--- a/_modules/runtest/tempest_sections/network.py
+++ b/_modules/runtest/tempest_sections/network.py
@@ -69,7 +69,12 @@
 
     @property
     def project_network_cidr(self):
-        pass
+        contrail_enabled = conditions.BaseRule('*.opencontrail.control.enabled',
+                                               'eq', True, multiple='any')
+        if contrail_enabled.check(self.pillar):
+            return '10.100.0.0/24'
+        else:
+            pass
 
     @property
     def project_network_mask_bits(self):
@@ -77,7 +82,12 @@
 
     @property
     def project_network_v6_cidr(self):
-        pass
+        contrail_enabled = conditions.BaseRule('*.opencontrail.control.enabled',
+                                               'eq', True, multiple='any')
+        if contrail_enabled.check(self.pillar):
+            return '2003::/120'
+        else:
+            pass
 
     @property
     def project_network_v6_mask_bits(self):