59ce59304d
Support for predictable IP addressing added to the default port templates in Rocky. Let's stop using the from_pool fake port templates, and instead use neutron ports for predictable IP's. Using neutron ports add's value by: - adding validations - ensure no allocation conflicts I.e if you forget to include the environment file on a stack update/scale neutron won't pick a conflicting address etc. The template (network/ports/port_from_pool.j2) to create the fake port is required by the undercloud. Operators can still use that if they want to not use neutron for some reason. Closes-Bug: #1866215 Change-Id: I4af2cb715dc5389821671aab9312a85d402f3215
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
# Environment file demonstrating how to pre-assign IPs to all node types
|
|
|
|
parameter_defaults:
|
|
ControllerIPs:
|
|
# Each controller will get an IP from the lists below, first controller, first IP
|
|
external:
|
|
- 10.0.0.251
|
|
internal_api:
|
|
- 172.16.2.251
|
|
storage:
|
|
- 172.16.1.251
|
|
storage_mgmt:
|
|
- 172.16.3.251
|
|
tenant:
|
|
- 172.16.0.251
|
|
#management:
|
|
#- 172.16.4.251
|
|
ComputeIPs:
|
|
# Each compute will get an IP from the lists below, first compute, first IP
|
|
internal_api:
|
|
- 172.16.2.252
|
|
storage:
|
|
- 172.16.1.252
|
|
tenant:
|
|
- 172.16.0.252
|
|
#management:
|
|
#- 172.16.4.252
|
|
CephStorageIPs:
|
|
# Each ceph node will get an IP from the lists below, first node, first IP
|
|
storage:
|
|
- 172.16.1.253
|
|
storage_mgmt:
|
|
- 172.16.3.253
|
|
#management:
|
|
#- 172.16.4.253
|
|
SwiftStorageIPs:
|
|
# Each swift node will get an IP from the lists below, first node, first IP
|
|
internal_api:
|
|
- 172.16.2.254
|
|
storage:
|
|
- 172.16.1.254
|
|
storage_mgmt:
|
|
- 172.16.3.254
|
|
#management:
|
|
#- 172.16.4.254
|
|
BlockStorageIPs:
|
|
# Each cinder node will get an IP from the lists below, first node, first IP
|
|
internal_api:
|
|
- 172.16.2.250
|
|
storage:
|
|
- 172.16.1.250
|
|
storage_mgmt:
|
|
- 172.16.3.250
|
|
#management:
|
|
#- 172.16.4.250
|