mirror of https://github.com/apache/cloudstack.git
when we restart vpc tiers, the old nics will be removed, and create a new nic. however, the device_id was set to the nic count, which may be already used. this commit get the first device_id not in use as the device_id of new nic. This issue also happen when we add multiple networks to a vm and remove them. |
||
|---|---|---|
| .. | ||
| com/cloud | ||
| org/apache/cloudstack/engine | ||