UUID reset to None in id_perms Root cause: If the PUT request doesn't contain the uuid in obj dict, new id_perms is created with default value. This would reset the UUID field The request from UI would not contain the 'uuid' field in obj_dict in PUT request.
UUID reset to None in id_perms
Root cause: If the PUT request doesn't contain the uuid in obj dict, new id_perms is created with default value. This would reset the UUID field
The request from UI would not contain the 'uuid' field in obj_dict in PUT request.

Change-Id: I80bbfcd4d1d99d28de566a423ceb1bf0d967ca46
Fix: Pass obj_uuid from PUT request to "_ensure_id_perms_present" instead of accessing the 'uuid' from obj_dict.

numansiddique/contrail-controller,vpramo/contrail-controller,hthompson6/contrail-controller,nischalsheth/contrail-controller,facetothefate/contrail-controller,reiaaoyama/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,srajag/contrail-controller,cloudwatt/contrail-controller,vmahuli/contrail-controller,vmahuli/contrail-controller,vpramo/contrail-controller,rombie/contrail-controller,nischalsheth/contrail-controller,eonpatapon/contrail-controller,facetothefate/contrail-controller,srajag/contrail-controller,vmahuli/contrail-controller,tcpcloud/contrail-controller,cloudwatt/contrail-controller,codilime/contrail-controller,vpramo/contrail-controller,nischalsheth/contrail-controller,eonpatapon/contrail-controller,hthompson6/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,tcpcloud/contrail-controller,DreamLab/contrail-controller,reiaaoyama/contrail-controller,numansiddique/contrail-controller,reiaaoyama/contrail-controller,srajag/contrail-controller,sajuptpm/contrail-controller,sajuptpm/contrail-controller,vmahuli/contrail-controller,DreamLab/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,numansiddique/contrail-controller,tcpcloud/contrail-controller,sajuptpm/contrail-controller,vpramo/contrail-controller,eonpatapon/contrail-controller,tcpcloud/contrail-controller,DreamLab/contrail-controller,codilime/contrail-controller,numansiddique/contrail-controller,vpramo/contrail-controller,srajag/contrail-controller,hthompson6/contrail-controller,reiaaoyama/contrail-controller,sajuptpm/contrail-controller,nischalsheth/contrail-controller,facetothefate/contrail-controller,sajuptpm/contrail-controller,srajag/contrail-controller,facetothefate/contrail-controller,sajuptpm/contrail-controller,rombie/contrail-controller,codilime/contrail-controller,hthompson6/contrail-controller,cloudwatt/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,nischalsheth/contrail-controller,cloudwatt/contrail-controller,codilime/contrail-controller,numansiddique/contrail-controller,nischalsheth/contrail-controller,vmahuli/contrail-controller,codilime/contrail-controller,DreamLab/contrail-controller,eonpatapon/contrail-controller,tcpcloud/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,reiaaoyama/contrail-controller,tcpcloud/contrail-controller,codilime/contrail-controller,DreamLab/contrail-controller,cloudwatt/contrail-controller,hthompson6/contrail-controller