[Tempest]: Hndling of below issues
1) Handling of Provider sec group precedence at the backend 2) Handling of L7 policy rule position for redirect_url. Change-Id: I5012aecedd2168d512f8e0296f6a534d4868cfa5
This commit is contained in:
parent
2e3185aad3
commit
a5f4183700
@ -136,7 +136,8 @@ class TestL7Policies(base.BaseTestCase):
|
||||
policy1A = self._show_l7policy(policy1.get('id'))
|
||||
self.assertEqual(policy1A.get('position'), 2)
|
||||
# create to_url_policy at position=2
|
||||
policy3 = self.create_to_url_policy(to_position=2)
|
||||
policy3 = self.create_to_url_policy(redirect_url='http://exaample.com',
|
||||
to_position=2)
|
||||
self.assertEqual(policy3.get('position'), 2)
|
||||
policy2A = self._show_l7policy(policy2.get('id'))
|
||||
self.assertEqual(policy2A.get('position'), 1)
|
||||
|
@ -529,6 +529,8 @@ class ProviderSecurityGroupTest(base.BaseAdminNetworkTest):
|
||||
# when execute tempest in parallel fashion,
|
||||
# we create provider security group for other tests,
|
||||
# NSX will return all provider security group from DFW.
|
||||
if section['applied_tos'][0]['target_type'] == "LogicalRouter":
|
||||
continue
|
||||
if PROVIDER_SECURITY_GRP in section['display_name'] and \
|
||||
provider_sg_name not in section['display_name']:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user