Use api_interface as migration_interface default value

normally, api_interface is treated as internal and security network plane,
use it as default migration_interface is more meaningful.

Change-Id: Ib9f4bcc19147a49dc09bd905dcd06be165a91b5e
This commit is contained in:
Jeffrey Zhang 2020-05-20 10:09:36 +08:00
parent 4996570ee8
commit 4955a9c020
3 changed files with 9 additions and 3 deletions

View File

@ -199,7 +199,7 @@ storage_interface: "{{ network_interface }}"
cluster_interface: "{{ network_interface }}" cluster_interface: "{{ network_interface }}"
swift_storage_interface: "{{ storage_interface }}" swift_storage_interface: "{{ storage_interface }}"
swift_replication_interface: "{{ swift_storage_interface }}" swift_replication_interface: "{{ swift_storage_interface }}"
migration_interface: "{{ network_interface }}" migration_interface: "{{ api_interface }}"
tunnel_interface: "{{ network_interface }}" tunnel_interface: "{{ network_interface }}"
octavia_network_interface: "{{ api_interface }}" octavia_network_interface: "{{ api_interface }}"
bifrost_network_interface: "{{ network_interface }}" bifrost_network_interface: "{{ network_interface }}"
@ -213,7 +213,7 @@ storage_address_family: "{{ network_address_family }}"
cluster_address_family: "{{ network_address_family }}" cluster_address_family: "{{ network_address_family }}"
swift_storage_address_family: "{{ storage_address_family }}" swift_storage_address_family: "{{ storage_address_family }}"
swift_replication_address_family: "{{ swift_storage_address_family }}" swift_replication_address_family: "{{ swift_storage_address_family }}"
migration_address_family: "{{ network_address_family }}" migration_address_family: "{{ api_address_family }}"
tunnel_address_family: "{{ network_address_family }}" tunnel_address_family: "{{ network_address_family }}"
octavia_network_address_family: "{{ api_address_family }}" octavia_network_address_family: "{{ api_address_family }}"
bifrost_network_address_family: "{{ network_address_family }}" bifrost_network_address_family: "{{ network_address_family }}"

View File

@ -119,7 +119,7 @@
#cluster_address_family: "{{ network_address_family }}" #cluster_address_family: "{{ network_address_family }}"
#swift_storage_address_family: "{{ storage_address_family }}" #swift_storage_address_family: "{{ storage_address_family }}"
#swift_replication_address_family: "{{ swift_storage_address_family }}" #swift_replication_address_family: "{{ swift_storage_address_family }}"
#migration_address_family: "{{ network_address_family }}" #migration_address_family: "{{ api_address_family }}"
#tunnel_address_family: "{{ network_address_family }}" #tunnel_address_family: "{{ network_address_family }}"
#octavia_network_address_family: "{{ api_address_family }}" #octavia_network_address_family: "{{ api_address_family }}"
#bifrost_network_address_family: "{{ network_address_family }}" #bifrost_network_address_family: "{{ network_address_family }}"

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The default ``migration_interface`` is moved from ``network_interface`` to
``api_interface``, which is treaded as internal and security network plane
in most case.