Ask Your Question

Revision history [back]

Ports don't get IPs from DHCP. It's the opposite: Neutron assigns IPs to ports upon creation, and the DHCP server sends that IP to the instance when the instance issues a DHCP request.

When an instance is launched, however, the port is bound to the virtual machine host where the instance is scheduled. This means the required physical plumbing is set up, depending on the core plugin and (if ML2) mechanism driver(s) used. Nova-compute does that via a Neutron port update API.

There is a nice summit presentation on port binding. Another more advanced presentation on hierarchical port binding is for people with a stronger networking background than me.

Ports don't get IPs from DHCP. It's the opposite: Neutron assigns IPs to ports upon creation, and the DHCP server sends that IP to the instance when the instance issues a DHCP request.

When an instance is launched, however, the port is bound to the virtual machine host where the instance is scheduled. This means the required physical plumbing is set up, depending on the core plugin and (if the core plugin is ML2) mechanism driver(s) used. Nova-compute does that via a Neutron port update API.

There is a nice summit presentation on port binding. Another more advanced presentation on hierarchical port binding is for people with a stronger networking background than me.

Ports don't get IPs from DHCP. It's the opposite: Neutron assigns IPs to ports upon creation, and the DHCP server sends that IP to the instance when the instance issues a DHCP request.

When an instance is launched, however, the port is bound to the virtual machine host where the instance is scheduled. This means the required physical plumbing is set up, depending on the core plugin and (if the core plugin is ML2) mechanism driver(s) used. Nova-compute does that via a Neutron port update API.API, which you can see in the log files if debug logging is enabled.

There is a nice summit presentation on port binding. Another more advanced presentation on hierarchical port binding is for people with a stronger networking background than me.