VMware Cloud Community
shay009
Contributor
Contributor
Jump to solution

problem in adding more then 3 internal networks to VM

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

Reply
0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

Reply
0 Kudos
2 Replies
cdecanini_
VMware Employee
VMware Employee
Jump to solution

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos