af41accff9
When we do live migration with QEMU/KVM driver, we use hostname of target compute node as the target of live migration. So the RPC call and live migration traffic will be in same network plane. This patch adds a new option live_migration_inbound_addr in configuration file, set None as default value. When pre_live_migration() executes on destination host, set the option into pre_migration_data, if it's not None. When driver.live_migration() executes on source host, if this option is present in pre_migration_data, the ip/hostname address is used instead of CONF.libvirt.live_migration_uri as the uri for live migration, if it's None, then the mechanism remains as it is now. This patch (BP) focuses only on the QEMU/KVM driver, the implementations for other drivers should be done in a separate blueprint. DocImpact:new config option "live_migration_inbound_addr" will be added. Change-Id: I81c783886497a844fb4b38d0f2a3d6c18a99831c Co-Authored-By: Rui Chen <chenrui.momo@gmail.com> Implements: blueprint split-network-plane-for-live-migration
11 lines
400 B
YAML
11 lines
400 B
YAML
---
|
|
features:
|
|
- |
|
|
A new option "live_migration_inbound_addr" has been added
|
|
in the configuration file, set None as default value.
|
|
If this option is present in pre_migration_data, the ip
|
|
address/hostname provided will be used instead of
|
|
the migration target compute node's hostname as the
|
|
uri for live migration, if it's None, then the
|
|
mechanism remains as it is before.
|