hsato03 opened a new pull request, #7859: URL: https://github.com/apache/cloudstack/pull/7859
### Description ACS allows you to add NICs to a VM without them, although it is not possible to set them as default since the `updateDefaultNicForVirtualMachine` API only updates the default NIC if a default NIC already exists, otherwise an exception is thrown. For this reason, when a NIC is added and the VM that the NIC is being created for has no default NIC, the NIC will be marked as default. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [X] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [X] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [ ] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? Imported a VM without NICs, added some NICs and the first one was set as default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
