we are trying to execute default workflow
Liberary-->vCloudDirector-->vApp->VM->NIC->Add a NIC
in a loop for adding 8 interanl networks but it gives the following exception after crating 3 internal networks
"All possible network card addresses are in use (Dynamic Script Module name : calculateNextNetworkCardAddress#12)"
we have vm hardware version of 8 and we are asume it should added 10 networks.
will appreciate your help in this regards
Serach for the calculateNextNetworkAddress action
Edit the following
var availableAddresses = new Array('0','1','2','3');
In something like that:
var availableAddresses = new Array('0','1','2','3','4','5','6','7','8','9');
And try again.
Christophe.
Serach for the calculateNextNetworkAddress action
Edit the following
var availableAddresses = new Array('0','1','2','3');
In something like that:
var availableAddresses = new Array('0','1','2','3','4','5','6','7','8','9');
And try again.
Christophe.
BTW the problem is not adding more than 3 but adding more than 4. You should start your loop with the NIC 0 since this is the first network adapter.
Also if the change fixes the issue then you should report the bug to GSS so this can be fixed in a next release.
Thanks.
Christophe.