[
https://issues.apache.org/jira/browse/LIBCLOUD-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648757#comment-13648757
]
Jakub Nowacki commented on LIBCLOUD-322:
----------------------------------------
Yes; that also happens in the original code with vm_ipmode, since it is just a
single string not a list of IP modes. It is not an ideal solution but it works
for me for the time being. One can fix it in not very hard way by passing the
vm_ipmode and related IP's as a list but the mapping has to be done rigorously,
e.g. if NIC 1 has DHCP and NIC 2 has a manual (static) IP - can be done with
list ex_vm_ipmode = ['DHPC', 'MANUAL'] and ex_vm_ipaddress = ['', '1.2.3.4'].
My patch was only a brief integration and fixed of the previous patch, so the
functionality can be extended.
> Allow assignment of manual IP address for VM's in vCloud
> --------------------------------------------------------
>
> Key: LIBCLOUD-322
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-322
> Project: Libcloud
> Issue Type: New Feature
> Components: Compute
> Affects Versions: 0.12.3
> Reporter: Kashif Ali
> Priority: Minor
> Fix For: 0.12.3
>
> Attachments: vcloud_manual_ip.patch, vcloud.py.patch
>
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> This is an initial ticket for my patch to provide the vCloud driver with an
> implementation of assigning a manual static IP address to a VM inside a vAPP.
> NOTE: currently the patch only works for one VM inside a vAPP but can be
> easily extended to cover multiple VM's (I will work on providing multi VM per
> vAPP static address assignment also).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira