neutron/neutron/tests/unit/ml2
Yalei Wang 997e70751c return the dict of port when no sec-group involved
Commit abc16ebf made the get_sg_ids_grouped_by_port function not return
entries for ports without security groups. This causes the agent to not remove
previously created security groups for that port since the port is not
returned in the security_group_info_for_devices data.

This change fixes that by always including a list of security groups for each
port, even if that list is empty.

Change-Id: I9616708462a8b6f3d46ebd76db5cf8cb2826f4ad
Closes-Bug: #1398312
2014-12-05 06:16:34 +00:00
..
db Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
drivers Merge "ofagent: Remove obsolete bridge_mappings (plugin side)" 2014-11-28 22:21:32 +00:00
extensions Support for extensions in ML2 2014-08-31 05:43:01 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
_test_mech_agent.py Set vif_details to reflect enable_security_group 2014-09-21 17:41:38 +09:00
test_agent_scheduler.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
test_driver_context.py Fix to enable L2pop to serve DVR 2014-08-06 23:04:00 +00:00
test_extension_driver_api.py Support for extensions in ML2 2014-08-31 05:43:01 -07:00
test_helpers.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_mech_hyperv.py Implement ML2 port binding 2013-09-03 18:05:20 -04:00
test_mech_linuxbridge.py Vxlan / L2population support to Linuxbridge Agent 2013-09-12 02:51:37 +02:00
test_mech_openvswitch.py Set vif_details to reflect enable_security_group 2014-09-21 17:41:38 +09:00
test_mechanism_ncs.py Use correct base class for unit tests for ML2 drivers 2014-11-06 19:13:10 +03:00
test_mechanism_odl.py Merge "Use correct base class for unit tests for ML2 drivers" 2014-11-19 15:24:37 +00:00
test_ml2_plugin.py Merge "Guard against concurrent port removal in DVR" 2014-11-08 23:35:59 +00:00
test_port_binding.py ML2: fix file permissions 2014-10-31 03:45:39 -07:00
test_rpcapi.py Drop RpcProxy usage from ml2 AgentNotifierApi 2014-12-01 18:42:30 +00:00
test_security_group.py return the dict of port when no sec-group involved 2014-12-05 06:16:34 +00:00
test_type_flat.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_type_gre.py Moved out common testcases from test_type_vxlan.py 2014-11-16 09:40:47 -08:00
test_type_local.py Add partial specs support in ML2 for multiprovider extension 2014-07-21 20:02:14 +00:00
test_type_tunnel.py Moved out common testcases from test_type_vxlan.py 2014-11-16 09:40:47 -08:00
test_type_vlan.py Validate network config (vlan) 2014-10-22 10:29:33 -07:00
test_type_vxlan.py Moved out common testcases from test_type_vxlan.py 2014-11-16 09:40:47 -08:00