addar allows to create the same AR template several times
|Category:||Client API & Library|
|Affected Versions:||OpenNebula 5.2|
I don't know if this is done on purpose, but we found that addar command allows to include the same AR template several times within the same VNET. It seems that OpenNebula does not detect if the AR configuration already exits in the VNET database and only increases the id number. That could be confusing for the admin, if for some reason, the same AR appears several times within the VNET conf. The algorithm should make a quick check if the same AR (IP, MAC, lease number) it's already included and refuse to include the same AR or at least show a warning message.
Cheers and thansk!