diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-15 02:46:20 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-15 02:46:20 +0000 |
commit | 01baa8c54199d77d641cf9ecf31c26a6e0c15338 (patch) | |
tree | f06f47781bbe890ed0af62ca0003abdb1b615130 /neutron/notifiers | |
parent | 505e165764fa5d3111e60453dc65973180fa46a7 (diff) | |
parent | cb6eae20fae1f5e46cb2af4f0b0dc5368074580b (diff) | |
download | neutron-01baa8c54199d77d641cf9ecf31c26a6e0c15338.tar.gz |
Merge "Remove baremetal notification from nova notifier"
Diffstat (limited to 'neutron/notifiers')
-rw-r--r-- | neutron/notifiers/nova.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/neutron/notifiers/nova.py b/neutron/notifiers/nova.py index 0971f46776..2ee3170661 100644 --- a/neutron/notifiers/nova.py +++ b/neutron/notifiers/nova.py @@ -87,9 +87,8 @@ class Notifier(object): def _is_compute_port(self, port): try: if (port['device_id'] and uuidutils.is_uuid_like(port['device_id']) - and port['device_owner'].startswith(( - constants.DEVICE_OWNER_COMPUTE_PREFIX, - constants.DEVICE_OWNER_BAREMETAL_PREFIX))): + and port['device_owner'].startswith( + constants.DEVICE_OWNER_COMPUTE_PREFIX)): return True except (KeyError, AttributeError): pass |