Comment 4 for bug 1474272

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12711
Committed: http://github.org/Juniper/contrail-controller/commit/b11d74cdec0a189687394204d166769f4674122c
Submitter: Zuul
Branch: R2.20

commit b11d74cdec0a189687394204d166769f4674122c
Author: Divakar <email address hidden>
Date: Wed Jul 29 21:56:29 2015 +0530

Check size of MAC vector before reading the element

While clearing the neutron router, Agent some times receives NULL object
without any properties. As this is not a delete operation
ServiceInstance attempts to calcualte the properties of the instance by
traversing the node grpah. When VMI is seen, it attempts to read the mac
address which as such is not preset leading to crash.

As a fix, the mac address is read only if the Mac vector has some
element in it.

Change-Id: Idd2afde67f56728408e5c553d772f30d00a246af
closes-bug: #1474272