Bug 1324501: Set ipam_refs in pending fields so that it is sent to the server