diff --git a/net-config-standalone.j2.yaml b/net-config-standalone.j2.yaml index d0d183398d..7f1c4860df 100644 --- a/net-config-standalone.j2.yaml +++ b/net-config-standalone.j2.yaml @@ -135,7 +135,7 @@ resources: list_join: - / - - {get_param: [DeployedServerPortMap, 'control_virtual_ip', fixed_ips, 0, ip_address]} - - {str_split: ['/', {get_param: [DeployedServerPortMap, 'control_virtual_ip', subnets, 0, cidr]}, 1]} + - '32' - if: - public_virtual_ip_unset @@ -144,7 +144,7 @@ resources: list_join: - / - - {get_param: [DeployedServerPortMap, 'public_virtual_ip', fixed_ips, 0, ip_address]} - - {str_split: ['/', {get_param: [DeployedServerPortMap, 'public_virtual_ip', subnets, 0, cidr]}, 1]} + - '32' routes: {get_param: ControlPlaneStaticRoutes} members: - type: interface diff --git a/net-config-undercloud.j2.yaml b/net-config-undercloud.j2.yaml index e937588459..79c0d04325 100644 --- a/net-config-undercloud.j2.yaml +++ b/net-config-undercloud.j2.yaml @@ -130,7 +130,7 @@ resources: list_join: - / - - {get_param: [DeployedServerPortMap, 'control_virtual_ip', fixed_ips, 0, ip_address]} - - {str_split: ['/', {get_param: [DeployedServerPortMap, 'control_virtual_ip', subnets, 0, cidr]}, 1]} + - '32' - if: - public_virtual_ip_unset @@ -139,7 +139,7 @@ resources: list_join: - / - - {get_param: [DeployedServerPortMap, 'public_virtual_ip', fixed_ips, 0, ip_address]} - - {str_split: ['/', {get_param: [DeployedServerPortMap, 'public_virtual_ip', subnets, 0, cidr]}, 1]} + - '32' routes: {get_param: ControlPlaneStaticRoutes} members: - type: interface