Comment 2 for bug 1381779

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

Reviewed: https://review.opencontrail.org/3799
Committed: http://github.org/Juniper/contrail-controller/commit/0f67b7da211fb961ffdf1f3b671d2fd7d3b49124
Submitter: Zuul
Branch: master

commit 0f67b7da211fb961ffdf1f3b671d2fd7d3b49124
Author: Sachin Bansal <email address hidden>
Date: Wed Oct 15 14:56:43 2014 -0700

If the API client updates a network object with subnets and does not send a subnet_uuid, we were allocating a new UUID. If the subnet already exists, we should reuse the subnet_uuid. Now, we read from cassandra before generating a new UUID.

Change-Id: I13426663c8a2a8e79fbf170dffb81c726506cee1
Closes-Bug: 1381779
(cherry picked from commit c2f71af5f2e9a6f31ce65e48c0e4a4c62e82f0c8)