Last modified: 2011-01-11 20:33:06 UTC
Nova have the concept of elastic IP addresses (similar to EC2). We should expose an interface for users to allocate IP addresses. More investigation on Nova needs to be done on this. We are aiming to have private IP addresses assigned to VMs by default, and we'd like these elastic IP addresses to be public IP addresses. Nova currently only supports one NIC per VM, and one bridge per virtual host. Future plans for Nova include multi-NIC per VM, and multi-bridge per virtual host. We are likely to use NAT at first as a workaround, but I'd like to ensure we can use better openstack features in the future for this. The interface should be written with NAT in mind, but should be extendable to a better option in the future.
It looks like Nova will handle the NAT automatically when assigning IPs, if VLANManager or FlatDHCPManager modes are used. Interface should be written simply to allocate IPs, assign IPs to instance, and to de-assign and unallocate IPs.
Resolved in r80035.