Browse Source

Merge "Remove redundant _ensure_default_security_group" into stable/train

changes/06/789006/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
99bba02d6d
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      neutron/plugins/ml2/plugin.py

+ 0
- 3
neutron/plugins/ml2/plugin.py View File

@ -1385,9 +1385,6 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
registry.notify(resources.PORT, events.BEFORE_CREATE, self,
context=context, port=attrs)
# NOTE(kevinbenton): triggered outside of transaction since it
# emits 'AFTER' events if it creates.
self._ensure_default_security_group(context, attrs['tenant_id'])
def _create_port_db(self, context, port):
attrs = port[port_def.RESOURCE_NAME]


Loading…
Cancel
Save