ZAPI-725: NIC removal redundant with net-agent functionality

Resolution

Won't Fix: The problem described is an issue which will never be fixed.
(Resolution Date: 2017-02-16T00:03:04.000Z)

Related Issues

Description

Net-agent is responsible for destroying NICs on certain zone-state change events. It was not doing this as a result of NAPI-327. Once that gets fixed, it will be reaping VMs' NICs as the VMs get destroyed. This makes removeNics function and associated napi.remove_nics task in the destroy.js workflow redundant. These should be removed, once NAPI-327 gets put back.

Comments

Comment by Nick Zivkovic [X]
Created at 2017-02-16T00:03:04.000Z
This won't be fixed because a user could end up running a future version of VMAPI (with the fix) on a box that has an old version of net-agent without the NAPI-327 fix. Leaving the code as is, makes sure that VMAPI won't leak NICs on older versions of net-agent.