Skip to content

Commit

Permalink
In IPAM get object response removed virtual_network_back_refs and do…
Browse files Browse the repository at this point in the history
…ing put with virtual_dns_refs for R2.20.

 Ideally we should remove complete IPAM get itself and directly proceed with IAPM put. It may lead to test many scenarios, hence targeting  it to master.

Change-Id: I2aa04957d76b0cb5ed460b298c307953e8c9e48e
Closes-bug: #1465631
  • Loading branch information
sbavanasi committed Jun 17, 2015
1 parent aa13f4d commit 0ec1dad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webroot/config/dns/api/virtualdnsconfig.api.js
Expand Up @@ -909,6 +909,9 @@ function updateVirtualDnsUpdateIpams(error, results, vdnsConfig,
}
}
results[i]['network-ipam']['network_ipam_mgmt'] = ipamNwIpamMgmtRefObj;
if(results[i]['network-ipam']["virtual_network_back_refs"] != null) {
delete results[i]['network-ipam']["virtual_network_back_refs"];
}
commonUtils.createReqObj(dataObjArr, ipamURL, global.HTTP_REQUEST_PUT,
results[i], null, null, appData);
}
Expand Down

0 comments on commit 0ec1dad

Please sign in to comment.