Browse Source

Merge "Update handler for PORT AFTER_CREATE"

changes/17/795117/3
Zuul 6 days ago
committed by Gerrit Code Review
parent
commit
1b549eaf08
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      neutron/plugins/ml2/ovo_rpc.py

+ 2
- 0
neutron/plugins/ml2/ovo_rpc.py View File

@ -58,6 +58,8 @@ class _ObjectChangeHandler(object):
# TODO(boden): remove shim below once all events use payloads
if resource in self._PAYLOAD_RESOURCES:
handler = self.handle_payload_event
if resource == resources.PORT and event == events.AFTER_CREATE:
handler = self.handle_payload_event
registry.subscribe(handler, resource, event)
def wait(self):


Loading…
Cancel
Save