Neutron Port Binding API
OpenStack Neutron uses new port binding API to assist with live migration scenarios and has deprecated the old methodology that impacts live migration of a virtual machine to work in RHOSP 17. The main motivation for implementing this feature is selection of problems around live-migration like port binding failure at destination after the live migration starts. With the implementation of this feature, Contrail can detect whether port binding will be successful at destination before starting live migration.
Earlier, live migration uses single port binding. Now, OpenStack live migration uses neutron port binding API to model both source and destination hosts having port binding, which is used during live migration.
Contrail Neutron plugin is updated to receive, process and send appropriate responses from Nova for live migration using new Neutron port binding API. Nova live migration consists of the following stages:
-
Pre-live-migration
-
Live-migration-operation
-
Post-live-migration
For more information, refer to OpenStack live migration document: Live-migration — Neutron 24.0.0.0b2.dev116 documentation.