When PhysicalDevice delete notification is received before Physical Interface (which is associated with PhysicalDevice) notification, In Physical Interface notification we were assuming that UVE object corresponding to PhysicalDevice is always represent. Add check for presence of UVE object corresponding to PhysicalDevice before referring it.
Reviewed: https:/ /review. opencontrail. org/8360 github. org/Juniper/ contrail- controller/ commit/ 7023e6bc4e214a9 cda4b0a5b9e76a6 39049f73b9
Committed: http://
Submitter: Zuul
Branch: R2.1
commit 7023e6bc4e214a9 cda4b0a5b9e76a6 39049f73b9
Author: ashoksingh <email address hidden>
Date: Mon Mar 16 12:37:26 2015 +0530
Fix contrail-tor-agent crash in Prouter UVE code.
When PhysicalDevice delete notification is received before Physical Interface (which is associated with PhysicalDevice) notification, In Physical Interface notification we were assuming that UVE object corresponding to PhysicalDevice is always represent. Add check for presence of UVE object corresponding to PhysicalDevice before referring it.
Change-Id: I38b81ec992d538 5e2932bcdeb6eb9 99c78a1610b
Closes-Bug: #1425415