From b4f4fc65c0e301ad18cf586495aa4fc437aed4cd Mon Sep 17 00:00:00 2001 From: Ngairangbam Mili Date: Wed, 2 Apr 2025 03:04:04 +0000 Subject: [PATCH] instruction for migrating AIO-SX to AIO-DX in dual IP stack are needed Change-Id: I5cf78d2f419be047368708c15fc9b113c4e3f71d Signed-off-by: Ngairangbam Mili --- ...an-aiosx-subcloud-to-an-aiodx-subcloud.rst | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/doc/source/dist_cloud/kubernetes/migrate-an-aiosx-subcloud-to-an-aiodx-subcloud.rst b/doc/source/dist_cloud/kubernetes/migrate-an-aiosx-subcloud-to-an-aiodx-subcloud.rst index b52a7f17a..fa486c9be 100644 --- a/doc/source/dist_cloud/kubernetes/migrate-an-aiosx-subcloud-to-an-aiodx-subcloud.rst +++ b/doc/source/dist_cloud/kubernetes/migrate-an-aiosx-subcloud-to-an-aiodx-subcloud.rst @@ -200,7 +200,29 @@ commands on the |AIO-SX| subcloud. .. code-block:: none - ~(keystone_admin)$ system oam-modify oam_subnet=10.10.10.0/24 oam_gateway_ip=10.10.10.1 oam_floating_ip=10.10.10.12 oam_c0_ip=10.10.10.13 oam_c1_ip=10.10.10.14 + ~(keystone_admin)$ OAM_POOL=$(system network-list --nowrap | awk '$8 == "oam" { print $12 }') && system addrpool-modify "${OAM_POOL}" --controller0-address 10.10.10.13 --controller1-address 10.10.10.14 + + If the |OAM| interface is dual-stack (IPv4 and IPv6), perform the same + configuration on the secondary pool. To get the pool's UUID, run the following command: + + .. code-block:: none + + ~(keystone_admin)$ system network-addrpool-list | grep "oam" + | e2052bfe-e17e-4a5c-888c-cf4c96593aa6 | oam | oam-ipv6 | + | 7307b3e2-037a-44f3-a589-11aaa7ff4f11 | oam | oam-ipv4 | + + The primary pool name can be identified with: + + .. code-block:: none + + ~(keystone_admin)$ OAM_POOL=$(system network-list --nowrap | awk '$8 == "oam" { print $12 }') && system addrpool-show "${OAM_POOL}" | grep "name" + | name | oam-ipv4 | + + In the following example, you need to edit `oam-ipv6`: + + .. code-block:: none + + ~(keystone_admin)$ OAM_POOL=$(system addrpool-list --nowrap | awk '$4 == "oam-ipv6" { print $2 }') && system addrpool-modify "${OAM_POOL}" --controller0-address fd00::a14:104 --controller1-address fd00::a14:105 #. Unlock the controller.