Revision history [back]

click to hide/show revision 1
initial version

assigning IP address to a VM interface

Hi Folks,

Probably a deep-dive question into quantum internals - I'm trying to understand how the IP address'es are assigned to VM network interfaces and trying to figure out which part of the openstack/quantum code base handles this. This is my understanding :

  • During nova boot, nova provides the network-id to the quantum plugin and creates a new port (CreatePort API)
  • Configured quantum plugin creates the ports and assigns the IP address/MAC address.
  • This port information is then configured in the XML config files as required by the hypervisor, before the instance boots up.

Is this a correct ?

Thanks !