Merge "System security grp:Add system sg in port sg list"
This commit is contained in:
@@ -2930,6 +2930,10 @@ class TestGbpDetailsForML2(AIMBaseTestCase,
|
||||
sg_list.append({'policy-space': 'common',
|
||||
'name': self.mech_driver.apic_system_id +
|
||||
'_DefaultSecurityGroup'})
|
||||
sg_list.append({'policy-space': 'common',
|
||||
'name': self.mech_driver.apic_system_id +
|
||||
'_SystemSecurityGroup'})
|
||||
|
||||
self.assertEqual(sg_list, mapping['security_group'])
|
||||
# Set the right MTU through extra_dhcp_opts
|
||||
data = {'port': {'extra_dhcp_opts': [{'opt_name': 'interface-mtu',
|
||||
@@ -3468,6 +3472,10 @@ class TestPolicyTarget(AIMBaseTestCase,
|
||||
sg_list.append({'policy-space': 'common',
|
||||
'name': self.mech_driver.apic_system_id +
|
||||
'_DefaultSecurityGroup'})
|
||||
sg_list.append({'policy-space': 'common',
|
||||
'name': self.mech_driver.apic_system_id +
|
||||
'_SystemSecurityGroup'})
|
||||
|
||||
self.assertEqual(sg_list, mapping['security_group'])
|
||||
# Set the right MTU through extra_dhcp_opts
|
||||
data = {'port': {'extra_dhcp_opts': [{'opt_name': 'interface-mtu',
|
||||
|
||||
Reference in New Issue
Block a user