Add predictable IP's sample file

Predictable IP's can be configured
during the provisioning stage. However,
the template for doing so is now significantly
different from previous versions. This sample file
will help users achieve predictable IP's and
minimise confusion.

Change-Id: I4561b9429ee3598586adfcd97abf5c4e50c49d48
This commit is contained in:
Brendan Shephard 2022-05-09 23:17:57 +10:00
parent 1780c39d17
commit a5d7c2f02a
1 changed files with 97 additions and 48 deletions

View File

@ -1,79 +1,128 @@
- name: Controller
count: 1
count: 3
defaults:
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: external
subnet: external_subnet
- network: internalapi
subnet: internal_api_subnet
- network: storage
subnet: storage_subnet
- network: storagemgmt
subnet: storage_mgmt_subnet
- network: tenant
subnet: tenant_subnet
network_config:
template: templates/net_config_bridge.j2
default_route_network:
- external
- name: Compute
count: 1
defaults:
instances:
- hostname: overcloud-controller-0
managed: true
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: internalapi
subnet: ctlplane_subnet
fixed_ip: 192.168.24.10
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.80
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.85
- network: storage
subnet: storage_subnet
fixed_ip: 172.16.1.148
- network: storage_mgmt
subnet: storage_mgmt_subnet
- network: tenant
subnet: tenant_subnet
- network: storage
subnet: storage_subnet
network_config:
template: ""
- name: BlockStorage
count: 0
defaults:
fixed_ip: 172.16.0.244
- hostname: overcloud-controller-1
managed: true
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: internalapi
subnet: ctlplane_subnet
fixed_ip: 192.168.24.11
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.81
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.86
- network: storage
subnet: storage_subnet
fixed_ip: 172.16.1.149
- network: storage_mgmt
subnet: storage_mgmt_subnet
network_config:
template: ""
- name: ObjectStorage
count: 0
defaults:
- network: tenant
subnet: tenant_subnet
fixed_ip: 172.16.0.245
- hostname: overcloud-controller-2
managed: true
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
- network: internalapi
subnet: ctlplane_subnet
fixed_ip: 192.168.24.12
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.82
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.87
- network: storage
subnet: storage_subnet
fixed_ip: 172.16.1.150
- network: storage_mgmt
subnet: storage_mgmt_subnet
- network: tenant
subnet: tenant_subnet
fixed_ip: 172.16.0.246
- name: Compute
count: 3
defaults:
network_config:
template: ""
- name: CephStorage
count: 0
defaults:
instances:
- hostname: overcloud-compute-0
managed: true
networks:
- network: ctlplane
subnet: ctlplane-subnet
vif: true
subnet: ctlplane_subnet
fixed_ip: 192.168.24.20
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.90
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.95
- network: storage
subnet: storage_subnet
- network: storage_mgmt
subnet: storage_mgmt_subnet
network_config:
template: ""
fixed_ip: 172.16.1.158
- network: tenant
subnet: tenant_subnet
fixed_ip: 172.16.0.144
- hostname: overcloud-compute-1
managed: true
networks:
- network: ctlplane
subnet: ctlplane_subnet
fixed_ip: 192.168.24.21
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.91
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.96
- network: storage
subnet: storage_subnet
fixed_ip: 172.16.1.159
- network: tenant
subnet: tenant_subnet
fixed_ip: 172.16.0.145
- hostname: overcloud-compute-2
managed: true
networks:
- network: ctlplane
subnet: ctlplane_subnet
fixed_ip: 192.168.24.22
- network: external
subnet: external_subnet
fixed_ip: 172.20.12.92
- network: internal_api
subnet: internal_api_subnet
fixed_ip: 172.16.2.98
- network: storage
subnet: storage_subnet
fixed_ip: 172.16.1.160
- network: tenant
subnet: tenant_subnet
fixed_ip: 172.16.0.146