Hi Steven,
The '24' are used with the 'ManagementNetCidr' parameter. So yes, you're right the value is set without quotes.
But it's the same way for all networks CIDR params: InternalApiNetCidr, TenantNetCidr, etc.
One difference I saw between TripleO current release and RHOSP file config is the way to catch the network mask:
In TripleO mainstream code: -- ip_subnet: description: IP/Subnet CIDR for the storage network IP value: list_join: - '' - - {get_param: [IPPool, {get_param: StorageNetName}, {get_param: NodeIndex}]} - '/' - {str_split: ['/', {get_param: StorageNetCidr}, 1]} --
In RHOSP 8: -- ip_subnet: # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?) description: IP/Subnet CIDR for the internal API network IP value: list_join: - '' - - {get_param: [IPPool, {get_param: InternalApiNetName}, {get_param: NodeIndex}]} - '/' - {get_param: [InternalApiNetCidr, -2]} - {get_param: [InternalApiNetCidr, -1]} --
All *-from_pool.yaml were modified except for management-from_pool.yaml file.
I'm in IRC (yaume) if you need more informations.
Thanks Guillaume
Hi Steven,
The '24' are used with the 'ManagementNetCidr' parameter.
So yes, you're right the value is set without quotes.
But it's the same way for all networks CIDR params: InternalApiNetCidr, TenantNetCidr, etc.
One difference I saw between TripleO current release and RHOSP file config is the way to catch the network mask:
In TripleO mainstream code:
--
ip_subnet:
description: IP/Subnet CIDR for the storage network IP
value:
list_join:
- ''
- - {get_param: [IPPool, {get_param: StorageNetName}, {get_param: NodeIndex}]}
- '/'
- {str_split: ['/', {get_param: StorageNetCidr}, 1]}
--
In RHOSP 8: ame}, {get_param: NodeIndex}]} Cidr, -2]} Cidr, -1]}
--
ip_subnet:
# FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
description: IP/Subnet CIDR for the internal API network IP
value:
list_join:
- ''
- - {get_param: [IPPool, {get_param: InternalApiNetN
- '/'
- {get_param: [InternalApiNet
- {get_param: [InternalApiNet
--
All *-from_pool.yaml were modified except for management- from_pool. yaml file.
I'm in IRC (yaume) if you need more informations.
Thanks
Guillaume